public class Resources extends Object
| Constructor and Description |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
URL |
getBinaryDict(String lang)
The the dictionary for the
MorfologikLemmatizer. |
URL |
getBinaryTaggerDict(String lang)
The the dictionary for the
MorfologikMorphoTagger. |
InputStream |
getDictionary(String lang)
Get the dictionary for the
SimpleLemmatizer. |
static String |
getKafTagSet(String postag,
String lang)
Obtain the appropriate tagset according to language and postag.
|
static String |
setTermType(String postag)
Set the term type attribute based on the pos value.
|
public final InputStream getDictionary(String lang)
SimpleLemmatizer.lang - the languagepublic final URL getBinaryDict(String lang)
MorfologikLemmatizer.lang - the languagepublic final URL getBinaryTaggerDict(String lang)
MorfologikMorphoTagger.lang - the languagepublic static String getKafTagSet(String postag, String lang)
postag - the postaglang - the languageCopyright © 2016 IXA pipes. All rights reserved.