add convenience methods for n-grams and n-gram frequency