public class MorfologikLemmatizer extends Object implements DictionaryLemmatizer
| Constructor and Description |
|---|
MorfologikLemmatizer(URL dictURL,
String aLang)
Reads a dictionary in morfologik FSA format.
|
| Modifier and Type | Method and Description |
|---|---|
String |
lemmatize(String word,
String postag)
Lemmatize by dictionary lookup.
|
public MorfologikLemmatizer(URL dictURL, String aLang) throws IOException
dictURL - the URL containing the dictionaryaLang - the languageIllegalArgumentException - if an exception is illegalIOException - throws an exception if dictionary path is not correctpublic String lemmatize(String word, String postag)
DictionaryLemmatizerlemmatize in interface DictionaryLemmatizerword - the surface form wordpostag - the postag assignedCopyright © 2015 IXA pipes. All rights reserved.