Construct n-grams for frequently occurring terms and phrases.