Package opennlp.morfologik.lemmatizer
Class MorfologikLemmatizer
- java.lang.Object
-
- opennlp.morfologik.lemmatizer.MorfologikLemmatizer
-
- All Implemented Interfaces:
Lemmatizer
public class MorfologikLemmatizer extends Object implements Lemmatizer
ALemmatizer
implementation based on Morfologik binary dictionaries
-
-
Constructor Summary
Constructors Constructor Description MorfologikLemmatizer(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.
-
-
-
Constructor Detail
-
MorfologikLemmatizer
public MorfologikLemmatizer(Path dictionaryPath) throws IOException
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.
-
-