public class SimpleLemmatizer extends java.lang.Object implements DictionaryLemmatizer
| Modifier and Type | Field and Description |
|---|---|
java.util.Set<java.lang.String> |
constantTags |
| Constructor and Description |
|---|
SimpleLemmatizer(java.io.InputStream dictionary) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
lemmatize(java.lang.String word,
java.lang.String postag)
Returns the lemma of the specified word with the specified part-of-speech.
|
public java.lang.String lemmatize(java.lang.String word,
java.lang.String postag)
DictionaryLemmatizerlemmatize in interface DictionaryLemmatizerword - The word whose lemmas are desired.postag - The part-of-speech of the specified word.Copyright © 2010 - 2019 Adobe. All Rights Reserved