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)
DictionaryLemmatizer
lemmatize
in interface DictionaryLemmatizer
word
- The word whose lemmas are desired.postag
- The part-of-speech of the specified word.Copyright © 2015 The Apache Software Foundation. All rights reserved.