## Uses of Interface
opennlp.tools.util.featuregen.AdaptiveFeatureGenerator

- Packages that use AdaptiveFeatureGenerator
  Package | Description
  --- | ---
  opennlp.tools.namefind | Package related to finding proper names and numeric amounts.
  opennlp.tools.postag | Package related to part-of-speech tagging.
  opennlp.tools.util.featuregen | This package contains classes for generating sequence features.

- - ### Uses of AdaptiveFeatureGenerator in opennlp.tools.namefind

    Fields in opennlp.tools.namefind declared as AdaptiveFeatureGenerator
    Modifier and Type | Field and Description
    --- | ---
    `protected AdaptiveFeatureGenerator[]` | DefaultNameContextGenerator.`featureGenerators`

    Methods in opennlp.tools.namefind that return AdaptiveFeatureGenerator
    Modifier and Type | Method and Description
    --- | ---
    `AdaptiveFeatureGenerator` | TokenNameFinderFactory.`createFeatureGenerators()` Creates the `AdaptiveFeatureGenerator`.

    Methods in opennlp.tools.namefind with parameters of type AdaptiveFeatureGenerator
    Modifier and Type | Method and Description
    --- | ---
    `void` | NameContextGenerator.`addFeatureGenerator(AdaptiveFeatureGenerator generator)` Adds a feature generator to this set of feature generators.
    `void` | DefaultNameContextGenerator.`addFeatureGenerator(AdaptiveFeatureGenerator generator)`

    Constructors in opennlp.tools.namefind with parameters of type AdaptiveFeatureGenerator
    Constructor and Description
    `DefaultNameContextGenerator(AdaptiveFeatureGenerator... featureGenerators)` Creates a name context generator with the specified cache size.
    `NameSampleSequenceStream(ObjectStream<NameSample> psi, AdaptiveFeatureGenerator featureGen)`
    `NameSampleSequenceStream(ObjectStream<NameSample> psi, AdaptiveFeatureGenerator featureGen, boolean useOutcomes)`

  - ### Uses of AdaptiveFeatureGenerator in opennlp.tools.postag

    Methods in opennlp.tools.postag that return AdaptiveFeatureGenerator
    Modifier and Type | Method and Description
    --- | ---
    `AdaptiveFeatureGenerator` | POSTaggerFactory.`createFeatureGenerators()` Creates the `AdaptiveFeatureGenerator`.

    Constructors in opennlp.tools.postag with parameters of type AdaptiveFeatureGenerator
    Constructor and Description
    `ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator featureGenerator)` Initializes the current instance.
    `ConfigurablePOSContextGenerator(int cacheSize, AdaptiveFeatureGenerator featureGenerator)` Initializes the current instance.

  - ### Uses of AdaptiveFeatureGenerator in opennlp.tools.util.featuregen

    Classes in opennlp.tools.util.featuregen that implement AdaptiveFeatureGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AdditionalContextFeatureGenerator` The `AdditionalContextFeatureGenerator` generates the context from the passed in additional context.
    `class` | `AggregatedFeatureGenerator` The `AggregatedFeatureGenerator` aggregates a set of `AdaptiveFeatureGenerator`s and calls them to generate the features.
    `class` | `BigramNameFeatureGenerator`
    `class` | `BrownBigramFeatureGenerator` Generates Brown cluster features for token bigrams.
    `class` | `BrownTokenClassFeatureGenerator` Generates Brown cluster features for current token and token class.
    `class` | `BrownTokenFeatureGenerator` Generates Brown cluster features for current token.
    `class` | `CachedFeatureGenerator` Caches features of the aggregated `AdaptiveFeatureGenerator`s.
    `class` | `CharacterNgramFeatureGenerator` The `CharacterNgramFeatureGenerator` uses character ngrams to generate features about each token.
    `class` | `CustomFeatureGenerator` Deprecated.
    `class` | `DictionaryFeatureGenerator` The `DictionaryFeatureGenerator` uses the `DictionaryNameFinder` to generated features for detected names based on the `InSpanGenerator`.
    `class` | `DocumentBeginFeatureGenerator`
    `class` | `InSpanGenerator` Generates features if the tokens are recognized by the provided `TokenNameFinder`.
    `class` | `OutcomePriorFeatureGenerator` The definition feature maps the underlying distribution of outcomes.
    `class` | `PosTaggerFeatureGenerator`
    `class` | `POSTaggerNameFeatureGenerator` Adds the token POS Tag as feature.
    `class` | `PrefixFeatureGenerator`
    `class` | `PreviousMapFeatureGenerator` This `AdaptiveFeatureGenerator` generates features indicating the outcome associated with a previously occuring word.
    `class` | `PreviousTwoMapFeatureGenerator` This `AdaptiveFeatureGenerator` generates features indicating the outcome associated with two previously occuring words.
    `class` | `SentenceFeatureGenerator` This feature generator creates sentence begin and end features.
    `class` | `SuffixFeatureGenerator`
    `class` | `TokenClassFeatureGenerator` Generates features for different for the class of the token.
    `class` | `TokenFeatureGenerator` Generates a feature which contains the token itself.
    `class` | `TokenPatternFeatureGenerator` Partitions tokens into sub-tokens based on character classes and generates class features for each of the sub-tokens and combinations of those sub-tokens.
    `class` | `TrigramNameFeatureGenerator` Adds trigram features based on tokens and token classes.
    `class` | `WindowFeatureGenerator` Generates previous and next features for a given `AdaptiveFeatureGenerator`.
    `class` | `WordClusterFeatureGenerator`

    Methods in opennlp.tools.util.featuregen that return AdaptiveFeatureGenerator
    Modifier and Type | Method and Description
    --- | ---
    `abstract AdaptiveFeatureGenerator` | GeneratorFactory.AbstractXmlFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | DocumentBeginFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | DictionaryFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | TokenPatternFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | TokenClassFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | PrefixFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | WordClusterFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | SuffixFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | TrigramNameFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | DefinitionFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | BrownClusterBigramFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | WindowFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | CachedFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | AggregatedFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | BrownClusterTokenClassFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | SentenceFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | PreviousMapFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | POSTaggerNameFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | TokenFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | BrownClusterTokenFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | CharacterNgramFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | BigramNameFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | PosTaggerFeatureGeneratorFactory.`create()`
    `AdaptiveFeatureGenerator` | DocumentBeginFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | DictionaryFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | TokenPatternFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | TokenClassFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | PrefixFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | WordClusterFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | SuffixFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | TrigramNameFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | DefinitionFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | BrownClusterBigramFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | WindowFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | CachedFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | AggregatedFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | BrownClusterTokenClassFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | SentenceFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | PreviousMapFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | POSTaggerNameFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | TokenFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | BrownClusterTokenFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | CharacterNgramFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | BigramNameFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `AdaptiveFeatureGenerator` | PosTaggerFeatureGeneratorFactory.`create(Element generatorElement, FeatureGeneratorResourceProvider resourceManager)` Deprecated.
    `static AdaptiveFeatureGenerator` | GeneratorFactory.`create(InputStream xmlDescriptorIn, FeatureGeneratorResourceProvider resourceManager)` Creates an `AdaptiveFeatureGenerator` from an provided XML descriptor.
    `AdaptiveFeatureGenerator` | CachedFeatureGenerator.`getCachedFeatureGenerator()`

    Methods in opennlp.tools.util.featuregen that return types with arguments of type AdaptiveFeatureGenerator
    Modifier and Type | Method and Description
    --- | ---
    `Collection<AdaptiveFeatureGenerator>` | AggregatedFeatureGenerator.`getGenerators()` Retrieves a `Collections` of all aggregated `AdaptiveFeatureGenerator`s.

    Constructors in opennlp.tools.util.featuregen with parameters of type AdaptiveFeatureGenerator
    Constructor and Description
    `AggregatedFeatureGenerator(AdaptiveFeatureGenerator... generators)` Initializes the current instance.
    `CachedFeatureGenerator(AdaptiveFeatureGenerator... generators)` Deprecated.
    `CachedFeatureGenerator(AdaptiveFeatureGenerator generator)`
    `WindowFeatureGenerator(AdaptiveFeatureGenerator... generators)` Initializes the current instance with the given parameters.
    `WindowFeatureGenerator(AdaptiveFeatureGenerator generator)` Initializes the current instance.
    `WindowFeatureGenerator(AdaptiveFeatureGenerator generator, int prevWindowSize, int nextWindowSize)` Initializes the current instance with the given parameters.
    `WindowFeatureGenerator(int prevWindowSize, int nextWindowSize, AdaptiveFeatureGenerator... generators)` Initializes the current instance with the given parameters.

    Constructor parameters in opennlp.tools.util.featuregen with type arguments of type AdaptiveFeatureGenerator
    Constructor and Description
    `AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator> generators)`

Copyright © 2026 The Apache Software Foundation. All rights reserved.