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
ConstructorsConstructorDescriptionMorfologikLemmatizer(Path dictionaryPath) Initializes aMorfologikLemmatizerand relatedDictionaryfrom the input tab separated dictionary.MorfologikLemmatizer(morfologik.stemming.Dictionary dictionary) Initializes aMorfologikLemmatizerand relatedDictionaryfrom the input tab separated dictionary. -
Method Summary
-
Constructor Details
-
MorfologikLemmatizer
Initializes aMorfologikLemmatizerand relatedDictionaryfrom 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 aMorfologikLemmatizerand relatedDictionaryfrom the input tab separated dictionary.- Parameters:
dictionary- TheDictionaryto be used.
-
-
Method Details
-
lemmatize
- Specified by:
lemmatizein interfaceLemmatizer
-
lemmatize
- Specified by:
lemmatizein interfaceLemmatizer
-