## 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)` |
    `protected void` | DoccatFactory.`init​(FeatureGenerator[] featureGenerators)` |
    `void` | DoccatFactory.`setFeatureGenerators​(FeatureGenerator[] featureGenerators)` |

    Constructors in opennlp.tools.doccat with parameters of type FeatureGenerator
    Constructor | Description
    --- | ---
    `DoccatFactory​(FeatureGenerator[] featureGenerators)` |
    `DocumentCategorizerEventStream​(ObjectStream<DocumentSample> data, FeatureGenerator... featureGenerators)` | Initializes the current instance via samples and feature generators.