Naive Bayes text classification http://nlp.stanford.edu/IR-book/html/htmledition/naive-bayes-text-classification-1.html