Introduction - If you have any usage issues, please Google them yourself
Classifier4J is a very good java-based classifier, which has Native bayes and KNN methods, such as text classification. It also provides a summary of word segmentation and automatic functions