adding part-of-speech tagging to ngram model