Example usage for Java opennlp.tools.doccat DocumentCategorizerME fields, constructors, methods, implement or subclass
The text is from its open source code.
DocumentCategorizerME(DoccatModel model) Initializes the current instance with a doccat model. |
SortedMap | sortedScoreMap(String[] text) Returns a map with the score as a key in ascending order. |
DoccatModel | train(String languageCode, ObjectStream |