# Package opennlp.tools.doccat

Package for classifying a document into a category.

- Interface Summary
  Interface | Description
  --- | ---
  DoccatEvaluationMonitor | `EvaluationMonitor` for doccat.
  DocumentCategorizer | Interface for classes which categorize documents.
  FeatureGenerator | Interface for generating features for document categorization.

- Class Summary
  Class | Description
  --- | ---
  BagOfWordsFeatureGenerator | Generates a feature for each word in a document.
  DoccatCrossValidator | Cross validator for document categorization
  DoccatFactory | The factory that provides Doccat default implementations and resources
  DoccatModel | A model for document categorization
  DocumentCategorizerEvaluator | The `DocumentCategorizerEvaluator` measures the performance of the given `DocumentCategorizer` with the provided reference `DocumentSample`s.
  DocumentCategorizerEventStream | Iterator-like class for modeling document classification events.
  DocumentCategorizerME | Maxent implementation of `DocumentCategorizer`.
  DocumentSample | Class which holds a classified document and its category.
  DocumentSampleStream | This class reads in string encoded training samples, parses them and outputs `DocumentSample` objects.
  NGramFeatureGenerator | Generates ngram features for a document.