Using OpenNLP

The DocumentCategorizer interface specifies methods that can be used to support the classification process. The interface is implemented by the DocumentCategorizerME class. This class will classify text into predefined categories using a maximum-entropy framework. In this section, we will do the following: