Classifier4J is a Java library designed to do text classification. It comes with an implementation of a Bayesian classifier, and now has some other features, including a text summary facility.
Fork from http://classifier4j.sourceforge.net/ (Authored by Nick Lothian)
The software stands under Apache 1.1 License and comes with NO WARRANTY.
The build system has been switched to Gradle. Some (very minor) fixes have been made:
- The AbstractWordsDataSourceSupport test case was marked as abstract so that Junit doesn't run it.
- Files were restructured for Gradle build.
Include the dependency.
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.yaraju:Classifier4J:-SNAPSHOT'
}
First add the repo at "https://jitpack.io"
<dependency>
<groupId>com.github.yaraju</groupId>
<artifactId>Classifier4J</artifactId>
<version>-SNAPSHOT</version>
</dependency>