working on generic ngrams map rather than separate bigrams, trigrams, etc