Java opennlp.tools.doccat DocumentCategorizer fields, constructors, methods, implement or subclass

Example usage for Java opennlp.tools.doccat DocumentCategorizer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for opennlp.tools.doccat DocumentCategorizer.

The text is from its open source code.

Method

double[]categorize(String[] text)
Categorizes the given text, provided in separate tokens.
StringgetBestCategory(double[] outcome)
get the best category from previously generated outcome probabilities
StringgetCategory(int index)
get the category at a given index
intgetIndex(String category)
get the index of a certain category
intgetNumberOfCategories()
get the number of categories