public interface Lemmatizer
Modifier and Type | Method and Description |
---|---|
List<List<String>> |
lemmatize(List<String> toks,
List<String> tags)
Generates a lemma tags for the word and postag returning the result in a list
of every possible lemma for each token and postag.
|
String[] |
lemmatize(String[] toks,
String[] tags)
Generates lemmas for the word and postag returning the result in an array.
|
String[] lemmatize(String[] toks, String[] tags)
toks
- an array of the tokenstags
- an array of the pos tagsList<List<String>> lemmatize(List<String> toks, List<String> tags)
toks
- an array of the tokenstags
- an array of the pos tagsCopyright © 2021 The Apache Software Foundation. All rights reserved.