# Uses of Class
opennlp.tools.util.Sequence

Packages that use Sequence
Package
Description
opennlp.tools.chunker
opennlp.tools.ml.model
opennlp.tools.postag
opennlp.tools.util

- ## 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.

- ## 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`.

- ## 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`.