public class SimpleLemmatizer extends Object implements DictionaryLemmatizer
| Modifier and Type | Field and Description |
|---|---|
Set<String> |
constantTags |
| Constructor and Description |
|---|
SimpleLemmatizer(InputStream dictionary) |
public SimpleLemmatizer(InputStream dictionary)
public String lemmatize(String word, String postag)
DictionaryLemmatizerlemmatize in interface DictionaryLemmatizerword - The word whose lemmas are desired.postag - The part-of-speech of the specified word.Copyright © 2015 The Apache Software Foundation. All rights reserved.