## Uses of Interface
opennlp.tools.util.BeamSearchContextGenerator

- Packages that use BeamSearchContextGenerator
  Package | Description
  --- | ---
  opennlp.tools.chunker | Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
  opennlp.tools.lemmatizer | Package related with the lemmatizer tool
  opennlp.tools.ml |
  opennlp.tools.ml.model |
  opennlp.tools.namefind | Package related to finding proper names and numeric amounts.
  opennlp.tools.parser | Package containing common code for performing full syntactic parsing.
  opennlp.tools.postag | Package related to part-of-speech tagging.

- - ### Uses of BeamSearchContextGenerator in opennlp.tools.chunker

    Subinterfaces of BeamSearchContextGenerator in opennlp.tools.chunker
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ChunkerContextGenerator` Interface for the context generator used in syntactic chunking.

    Classes in opennlp.tools.chunker that implement BeamSearchContextGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultChunkerContextGenerator` Features based on chunking model described in Fei Sha and Fernando Pereira.

  - ### Uses of BeamSearchContextGenerator in opennlp.tools.lemmatizer

    Subinterfaces of BeamSearchContextGenerator in opennlp.tools.lemmatizer
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `LemmatizerContextGenerator` Interface for the context generator used for probabilistic lemmatizer.

    Classes in opennlp.tools.lemmatizer that implement BeamSearchContextGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultLemmatizerContextGenerator` Simple feature generator for learning statistical lemmatizers.

  - ### Uses of BeamSearchContextGenerator in opennlp.tools.ml

    Methods in opennlp.tools.ml with parameters of type BeamSearchContextGenerator
    Modifier and Type | Method and Description
    --- | ---
    `Sequence` | BeamSearch.`bestSequence(T[] sequence, Object[] additionalContext, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)`
    `Sequence[]` | BeamSearch.`bestSequences(int numSequences, T[] sequence, Object[] additionalContext, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)`
    `Sequence[]` | BeamSearch.`bestSequences(int numSequences, T[] sequence, Object[] additionalContext, double minSequenceScore, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)` Returns the best sequence of outcomes based on model for this object.

  - ### Uses of BeamSearchContextGenerator in opennlp.tools.ml.model

    Methods in opennlp.tools.ml.model with parameters of type BeamSearchContextGenerator
    Modifier and Type | Method and Description
    --- | ---
    `Sequence` | SequenceClassificationModel.`bestSequence(T[] sequence, Object[] additionalContext, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)` Finds the sequence with the highest probability.
    `Sequence[]` | SequenceClassificationModel.`bestSequences(int numSequences, T[] sequence, Object[] additionalContext, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)` Finds the n most probable sequences.
    `Sequence[]` | SequenceClassificationModel.`bestSequences(int numSequences, T[] sequence, Object[] additionalContext, double minSequenceScore, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)` Finds the n most probable sequences.

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

    Subinterfaces of BeamSearchContextGenerator in opennlp.tools.namefind
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `NameContextGenerator` Interface for generating the context for an name finder by specifying a set of geature generators.

    Classes in opennlp.tools.namefind that implement BeamSearchContextGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultNameContextGenerator` Class for determining contextual features for a tag/chunk style named-entity recognizer.

  - ### Uses of BeamSearchContextGenerator in opennlp.tools.parser

    Classes in opennlp.tools.parser that implement BeamSearchContextGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ChunkContextGenerator` Creates predivtive context for the pre-chunking phases of parsing.

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

    Subinterfaces of BeamSearchContextGenerator in opennlp.tools.postag
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `POSContextGenerator` The interface for a context generator for the POS Tagger.

    Classes in opennlp.tools.postag that implement BeamSearchContextGenerator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConfigurablePOSContextGenerator` A context generator for the POS Tagger.
    `class` | `DefaultPOSContextGenerator` A context generator for the POS Tagger.

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