Uses of Interface opennlp.tools.util.SequenceValidator (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

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

- Packages that use SequenceValidator
  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.
  opennlp.tools.util | Package containing utility data structures and algorithms used by multiple other packages.

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

    Classes in opennlp.tools.chunker that implement SequenceValidator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultChunkerSequenceValidator`

    Methods in opennlp.tools.chunker that return SequenceValidator
    Modifier and Type | Method and Description
    --- | ---
    `SequenceValidator<TokenTag>` | ChunkerFactory.`getSequenceValidator()`

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

    Classes in opennlp.tools.lemmatizer that implement SequenceValidator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultLemmatizerSequenceValidator`

    Methods in opennlp.tools.lemmatizer that return SequenceValidator
    Modifier and Type | Method and Description
    --- | ---
    `SequenceValidator<String>` | LemmatizerFactory.`getSequenceValidator()`

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

    Methods in opennlp.tools.ml with parameters of type SequenceValidator
    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 SequenceValidator in opennlp.tools.ml.model

    Methods in opennlp.tools.ml.model with parameters of type SequenceValidator
    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 SequenceValidator in opennlp.tools.namefind

    Classes in opennlp.tools.namefind that implement SequenceValidator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BilouNameFinderSequenceValidator`
    `class` | `NameFinderSequenceValidator` This class is created by the `BioCodec`.

    Methods in opennlp.tools.namefind that return SequenceValidator
    Modifier and Type | Method and Description
    --- | ---
    `SequenceValidator<String>` | BilouCodec.`createSequenceValidator()`

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

    Classes in opennlp.tools.parser that implement SequenceValidator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ParserChunkerSequenceValidator`

    Methods in opennlp.tools.parser that return SequenceValidator
    Modifier and Type | Method and Description
    --- | ---
    `SequenceValidator<TokenTag>` | ParserChunkerFactory.`getSequenceValidator()`

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

    Classes in opennlp.tools.postag that implement SequenceValidator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultPOSSequenceValidator`

    Methods in opennlp.tools.postag that return SequenceValidator
    Modifier and Type | Method and Description
    --- | ---
    `SequenceValidator<String>` | POSTaggerFactory.`getSequenceValidator()`

  - ### Uses of SequenceValidator in opennlp.tools.util

    Methods in opennlp.tools.util that return SequenceValidator
    Modifier and Type | Method and Description
    --- | ---
    `SequenceValidator<T>` | SequenceCodec.`createSequenceValidator()` Creates a sequence validator which can validate a sequence of outcomes.

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