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 sensitiveMorfologikTagDictionary
MorfologikTagDictionary
(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
- Iftrue
it performs case-sensitive lookup- Löst aus:
IllegalArgumentException
- Thrown if FSA's root node cannot be acquired (dictionary is empty).
-
-
Methodendetails
-
getTags
- Angegeben von:
getTags
in SchnittstelleTagDictionary
-
isCaseSensitive
public boolean isCaseSensitive()- Angegeben von:
isCaseSensitive
in SchnittstelleTagDictionary
-