public class MorfologikTagger extends Object implements DictionaryTagger
| Constructor and Description |
|---|
MorfologikTagger(URL dictURL,
String aLang)
Reads a dictionary in morfologik FSA format.
|
| Modifier and Type | Method and Description |
|---|---|
String |
tag(String word,
String posTag)
Get the postag for a surface form from a FSA morfologik generated
dictionary.
|
public MorfologikTagger(URL dictURL, String aLang) throws IOException
dictURL - the URL containing the dictionaryaLang - the languageIOException - throws an exception if dictionary path is not correctpublic String tag(String word, String posTag)
tag in interface DictionaryTaggerword - the surface formposTag - the posTag to be post-processedCopyright © 2017 IXA pipes. All rights reserved.