A simple Naive Bayes classifier.