A Naive Bayes classifier implemented in java.