# Uses of Class
opennlp.tools.util.Sequence

Packages that use Sequence
Package
Description
opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
opennlp.tools.lemmatizer
Package related to the lemmatizer functionality.
opennlp.tools.ml
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
opennlp.tools.ml.model
Package related to ML models and feature selection techniques.
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 Sequence in opennlp.tools.chunker

  Methods in opennlp.tools.chunker that return Sequence
  Modifier and Type
  Method
  Description
  `Sequence[]`
  Chunker.`topKSequences(String[] sentence, String[] tags)`
  Computes the top k chunk `sequences` for the specified sentence with the specified pos-tags.
  `Sequence[]`
  Chunker.`topKSequences(String[] sentence, String[] tags, double minSequenceScore)`
  Computes the top k chunk `sequences` for the specified sentence with the specified pos-tags.
  `Sequence[]`
  ChunkerME.`topKSequences(String[] sentence, String[] tags)`
  `Sequence[]`
  ChunkerME.`topKSequences(String[] sentence, String[] tags, double minSequenceScore)`
  `Sequence[]`
  ThreadSafeChunkerME.`topKSequences(String[] sentence, String[] tags)`
  `Sequence[]`
  ThreadSafeChunkerME.`topKSequences(String[] sentence, String[] tags, double minSequenceScore)`

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

  Methods in opennlp.tools.lemmatizer that return Sequence
  Modifier and Type
  Method
  Description
  `Sequence[]`
  LemmatizerME.`topKLemmaClasses(String[] sentence, String[] tags)`
  `Sequence[]`
  LemmatizerME.`topKLemmaClasses(String[] sentence, String[] tags, double minSequenceScore)`
  `Sequence[]`
  LemmatizerME.`topKSequences(String[] sentence, String[] tags)`
  `Sequence[]`
  LemmatizerME.`topKSequences(String[] sentence, String[] tags, double minSequenceScore)`

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

  Methods in opennlp.tools.ml that return Sequence
  Modifier and Type
  Method
  Description
  `<T> Sequence`
  BeamSearch.`bestSequence(T[] sequence, Object[] additionalContext, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)`
  Computes the best sequence of outcomes based on the `MaxentModel`.
  `<T> Sequence[]`
  BeamSearch.`bestSequences(int numSequences, T[] sequence, Object[] additionalContext, double minSequenceScore, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)`
  Computes the best sequence of outcomes based on the `MaxentModel`.
  `<T> Sequence[]`
  BeamSearch.`bestSequences(int numSequences, T[] sequence, Object[] additionalContext, BeamSearchContextGenerator<T> cg, SequenceValidator<T> validator)`
  Computes the best sequence of outcomes based on the `MaxentModel`.

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

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

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

  Methods in opennlp.tools.postag that return Sequence
  Modifier and Type
  Method
  Description
  `Sequence[]`
  POSTagger.`topKSequences(String[] sentence)`
  Assigns the sentence the top-k `sequences`.
  `Sequence[]`
  POSTagger.`topKSequences(String[] sentence, Object[] additionalContext)`
  Assigns the sentence the top-k `sequences`.
  `Sequence[]`
  POSTaggerME.`topKSequences(String[] sentence)`
  Assigns the sentence the top-k `sequences`.
  `Sequence[]`
  POSTaggerME.`topKSequences(String[] sentence, Object[] additionalContext)`
  Assigns the sentence the top-k `sequences`.
  `Sequence[]`
  ThreadSafePOSTaggerME.`topKSequences(String[] sentence)`
  `Sequence[]`
  ThreadSafePOSTaggerME.`topKSequences(String[] sentence, Object[] additionaContext)`

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

  Methods in opennlp.tools.util with parameters of type Sequence
  Modifier and Type
  Method
  Description
  `int`
  Sequence.`compareTo(Sequence s)`
  Constructors in opennlp.tools.util with parameters of type Sequence
  Modifier
  Constructor
  Description
  ``
  `Sequence(Sequence s)`
  Initializes a new `Sequence` of outcomes from an existing `Sequence`.
  ``
  `Sequence(Sequence s, String outcome, double p)`
  Initializes a new `Sequence` of outcomes from an existing `Sequence`.