progress on using bag of words to evaluate trigram model