Package opennlp.morfologik.tagdict
Klasse MorfologikTagDictionary
java.lang.Object
opennlp.morfologik.tagdict.MorfologikTagDictionary
- Alle implementierten Schnittstellen:
TagDictionary
A
TagDictionary implementation based on Morfologik binary
dictionaries-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMorfologikTagDictionary(morfologik.stemming.Dictionary dict) Initializes a case sensitiveMorfologikTagDictionaryMorfologikTagDictionary(morfologik.stemming.Dictionary dict, boolean caseSensitive) Initializes aMorfologikTagDictionary -
Methodenübersicht
-
Konstruktordetails
-
MorfologikTagDictionary
Initializes a case sensitiveMorfologikTagDictionary- Parameter:
dict- A Morfologik FSADictionary.- Löst aus:
IllegalArgumentException- Thrown if FSA's root node cannot be acquired (dictionary is empty).
-
MorfologikTagDictionary
public MorfologikTagDictionary(morfologik.stemming.Dictionary dict, boolean caseSensitive) throws IllegalArgumentException Initializes aMorfologikTagDictionary- Parameter:
dict- A Morfologik FSADictionary.caseSensitive- Iftrueit performs case-sensitive lookup- Löst aus:
IllegalArgumentException- Thrown if FSA's root node cannot be acquired (dictionary is empty).
-
-
Methodendetails
-
getTags
- Angegeben von:
getTagsin SchnittstelleTagDictionary
-
isCaseSensitive
public boolean isCaseSensitive()- Angegeben von:
isCaseSensitivein SchnittstelleTagDictionary
-