Simple Naive Bayes text classifier