Uses of Interface opennlp.tools.doccat.FeatureGenerator (Apache OpenNLP Tools 2.5.9 API)
Description: use: package: opennlp.tools.doccat, interface: FeatureGenerator

# Uses of Interface
opennlp.tools.doccat.FeatureGenerator

Packages that use FeatureGenerator
Package
Description
opennlp.tools.doccat
Package for classifying a document into a category.

- ## Uses of FeatureGenerator in opennlp.tools.doccat

  Classes in opennlp.tools.doccat that implement FeatureGenerator
  Modifier and Type
  Class
  Description
  `class`
  `BagOfWordsFeatureGenerator`
  Generates a feature for each word in a document.
  `class`
  `NGramFeatureGenerator`
  Generates ngram features for a document.
  Methods in opennlp.tools.doccat that return FeatureGenerator
  Modifier and Type
  Method
  Description
  `FeatureGenerator[]`
  DoccatFactory.`getFeatureGenerators()`
  Methods in opennlp.tools.doccat with parameters of type FeatureGenerator
  Modifier and Type
  Method
  Description
  `static DoccatFactory`
  DoccatFactory.`create(String subclassName, FeatureGenerator[] featureGenerators)`
  Factory method the framework uses create a new `DoccatFactory`.
  `protected void`
  DoccatFactory.`init(FeatureGenerator[] featureGenerators)`
  `void`
  DoccatFactory.`setFeatureGenerators(FeatureGenerator[] featureGenerators)`
  Constructors in opennlp.tools.doccat with parameters of type FeatureGenerator
  Modifier
  Constructor
  Description
  ``
  `DoccatFactory(FeatureGenerator[] featureGenerators)`
  Instantiates a `DoccatFactory` that provides the default implementation of the resources.
  ``
  `DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples, FeatureGenerator... featureGenerators)`
  Initializes a `DocumentCategorizerEventStream` via samples and `feature generators`.