Added pruning for lower order ngrams