Package opennlp.tools.lemmatizer
Interface Lemmatizer
- All Known Implementing Classes:
- DictionaryLemmatizer,- LemmatizerME,- ThreadSafeLemmatizerME
public interface Lemmatizer
The common interface for lemmatizers.
- 
Method Summary
- 
Method Details- 
lemmatizeGenerates 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 tokssequence.
 
- 
lemmatizeGenerates 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 tokssequence.
 
 
-