Interface Lemmatizer

    • Method Detail

      • lemmatize

        String[] lemmatize​(String[] toks,
                           String[] tags)
        Generates lemmas for the word and postag.
        Parameters:
        toks - An array of the tokens
        tags - an array of the pos tags
        Returns:
        An array of possible lemmas for each token in the toks sequence.
      • lemmatize

        List<List<String>> lemmatize​(List<String> toks,
                                     List<String> tags)
        Generates lemma tags for the word and postag.
        Parameters:
        toks - An array of the tokens
        tags - An array of the pos tags
        Returns:
        A list of every possible lemma for each token in the toks sequence.