Interface POSTagger

  • All Known Implementing Classes:
    POSTaggerME

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

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