check in unigram model