This Java application uses Naive Bayes, Information Gain and a bit of Lucene to train, test and classify different types of documents.