merge naive bayes and kmeans
checkNgram