Package opennlp.tools.lemmatizer
Schnittstelle Lemmatizer
- Alle bekannten Implementierungsklassen:
DictionaryLemmatizer,LemmatizerME,ThreadSafeLemmatizerME
public interface Lemmatizer
The common interface for lemmatizers.
-
Methodenübersicht
-
Methodendetails
-
lemmatize
Generates lemmas for the word and postag.- Parameter:
toks- An array of the tokenstags- an array of the pos tags- Gibt zurück:
- An array of possible lemmas for each token in the
tokssequence.
-
lemmatize
Generates lemma tags for the word and postag.- Parameter:
toks- An array of the tokenstags- An array of the pos tags- Gibt zurück:
- A list of every possible lemma for each token in the
tokssequence.
-