support for unigrams