corpus n-gram generator edited 2