public class MorfologikTagDictionary extends Object implements opennlp.tools.postag.TagDictionary
| Constructor and Description |
|---|
MorfologikTagDictionary(morfologik.stemming.Dictionary dict)
Creates a case sensitive
MorfologikTagDictionary |
MorfologikTagDictionary(morfologik.stemming.Dictionary dict,
boolean caseSensitive)
Creates MorfologikLemmatizer
|
public MorfologikTagDictionary(morfologik.stemming.Dictionary dict)
throws IllegalArgumentException,
IOException
MorfologikTagDictionarydict - a Morfologik FSA dictionaryIllegalArgumentException - if FSA's root node cannot be acquired (dictionary is empty).IOException - could not read dictionary from dictURLpublic MorfologikTagDictionary(morfologik.stemming.Dictionary dict,
boolean caseSensitive)
throws IllegalArgumentException,
IOException
dict - a Morfologik FSA dictionarycaseSensitive - if true it performs case sensitive lookupIllegalArgumentException - if FSA's root node cannot be acquired (dictionary is empty).IOException - could not read dictionary from dictURLCopyright © 2017 The Apache Software Foundation. All rights reserved.