ngrams minor modify