# Package opennlp.tools.doccat

package opennlp.tools.doccat

- Classes
  Class
  Description
  BagOfWordsFeatureGenerator
  Generates a feature for each word in a document.
  DoccatCrossValidator
  Cross validator for `DocumentCategorizer`.
  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 `samples`.
  DocumentCategorizerEventStream
  Iterator-like class for modeling document classification events.
  DocumentCategorizerME
  A Max-Ent based implementation of `DocumentCategorizer`.
  DocumentSampleStream
  Reads in string encoded training samples, parses them and outputs `DocumentSample` objects.
  EmojiFeatureGenerator
  Generates document features from the emoji annotation layer: for every annotated token the project-authored coarse sentiment score (`emojiSentiment=2`), the entity type (`emojiType=HEART`), the document category hint (`emojiCategory=SMILEYS_AND_EMOTION`), and for flags the ISO 3166 region (`emojiRegion=DE`).
  NGramFeatureGenerator
  Generates ngram features for a document.