# Package opennlp.tools.doccat

package opennlp.tools.doccat
Package for classifying a document into a category.

- Class
  Description
  BagOfWordsFeatureGenerator
  Generates a feature for each word in a document.
  DoccatCrossValidator
  Cross validator for `DocumentCategorizer`.
  DoccatEvaluationMonitor
  A marker interface for evaluating `doccat`.
  DoccatFactory
  The factory that provides Doccat default implementations and resources.
  DoccatModel
  A model for document categorization
  DocumentCategorizer
  Interface for classes which categorize documents.
  DocumentCategorizerEvaluator
  The `DocumentCategorizerEvaluator` measures the performance of the given `DocumentCategorizer` with the provided reference `samples`.
  DocumentCategorizerEventStream
  Iterator-like class for modeling document classification events.
  DocumentCategorizerME
  A Max-Ent based implementation of `DocumentCategorizer`.
  DocumentSample
  Class which holds a classified document and its category.
  DocumentSampleStream
  Reads in string encoded training samples, parses them and outputs `DocumentSample` objects.
  FeatureGenerator
  Interface for generating features for document categorization.
  NGramFeatureGenerator
  Generates ngram features for a document.