Package opennlp.morfologik.lemmatizer
Class MorfologikLemmatizer
java.lang.Object
opennlp.morfologik.lemmatizer.MorfologikLemmatizer
- All Implemented Interfaces:
Lemmatizer
A
Lemmatizer
implementation based on Morfologik binary
dictionaries-
Constructor Summary
ConstructorDescriptionMorfologikLemmatizer
(Path dictionaryPath) Initializes aMorfologikLemmatizer
and relatedDictionary
from the input tab separated dictionary.MorfologikLemmatizer
(morfologik.stemming.Dictionary dictionary) Initializes aMorfologikLemmatizer
and relatedDictionary
from the input tab separated dictionary. -
Method Summary
-
Constructor Details
-
MorfologikLemmatizer
Initializes aMorfologikLemmatizer
and relatedDictionary
from the input tab separated dictionary.- Parameters:
dictionaryPath
- The dictionary referenced via a valid, readablePath
.- Throws:
IOException
- Thrown if IO errors occurred while reading in fromdictionaryPath
.
-
MorfologikLemmatizer
public MorfologikLemmatizer(morfologik.stemming.Dictionary dictionary) Initializes aMorfologikLemmatizer
and relatedDictionary
from the input tab separated dictionary.- Parameters:
dictionary
- TheDictionary
to be used.
-
-
Method Details
-
lemmatize
- Specified by:
lemmatize
in interfaceLemmatizer
-
lemmatize
- Specified by:
lemmatize
in interfaceLemmatizer
-