Package opennlp.morfologik.lemmatizer
Class MorfologikLemmatizer
- java.lang.Object
-
- opennlp.morfologik.lemmatizer.MorfologikLemmatizer
-
- All Implemented Interfaces:
Lemmatizer
public class MorfologikLemmatizer extends Object implements Lemmatizer
ALemmatizerimplementation based on Morfologik binary dictionaries
-
-
Constructor Summary
Constructors Constructor Description MorfologikLemmatizer(Path dictionaryPath)Initializes aMorfologikLemmatizerand relatedDictionaryfrom the input tab separated dictionary.MorfologikLemmatizer(morfologik.stemming.Dictionary dictionary)Initializes aMorfologikLemmatizerand relatedDictionaryfrom the input tab separated dictionary.
-
-
-
Constructor Detail
-
MorfologikLemmatizer
public MorfologikLemmatizer(Path dictionaryPath) throws IOException
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.
-
-