This project contains Naive and Fishers bayesian classifiers, as described in Toby Segaran's book "Programming Collective Intelligence." The book has python implementations; this is a Java implementation.
Bow (or libbow) is a library of C code useful for writing statistical text analysis, language modeling and information retrieval programs. The current distribution includes the library, as well as front-ends for document classification (rainbow), document
W. Martins, M. Goncalves, A. Laender, and G. Pappa. Proceedings of the 9th ACM/IEEE-CS Joint Conference on Digital Libraries, page 193--202. New York, NY, USA, ACM, (2009)