Interface POSTagger

All Known Implementing Classes:
POSTaggerME

public interface POSTagger
The interface for part of speech taggers.
  • Method Details

    • tag

      String[] tag(String[] sentence)
      Assigns the sentence of tokens pos tags.
      Parameters:
      sentence - The sentece of tokens to be tagged.
      Returns:
      an array of pos tags for each token provided in sentence.
    • tag

      String[] tag(String[] sentence, Object[] additionaContext)
    • topKSequences

      Sequence[] topKSequences(String[] sentence)
    • topKSequences

      Sequence[] topKSequences(String[] sentence, Object[] additionaContext)