adding naive bayes classifier using n-gram models