public class MorfologikLemmatizer extends Object
| Constructor and Description |
|---|
MorfologikLemmatizer(URL dictURL)
Reads a dictionary in morfologik FSA format.
|
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String word,
String postag)
Looks-up the lemma in a dictionary.
|
void |
getAllPosLemmas(String word,
List<String> posLemmaValues) |
String[] |
lemmatize(String[] tokens,
String[] postags) |
public MorfologikLemmatizer(URL dictURL) throws IOException
dictURL - the URL containing the dictionary
the languageIllegalArgumentException - if an exception is illegalIOException - throws an exception if dictionary path is not correctCopyright © 2016 IXA pipes. All rights reserved.