fix ngram models