corpus n-gram generator edited