public abstract class AbstractLemmatizerTrainer extends Object implements LemmatizerTrainer
| Constructor and Description |
|---|
AbstractLemmatizerTrainer(opennlp.tools.util.TrainingParameters params)
Construct an AbstractTrainer.
|
| Modifier and Type | Method and Description |
|---|---|
protected LemmatizerFactory |
getLemmatizerFactory()
Get the lemmatizerFactory.
|
protected void |
setLemmatizerFactory(LemmatizerFactory aLemmatizerFactory)
Set/implement the lemmatizerFactory to be used in the lemmatizer training.
|
LemmatizerModel |
train(opennlp.tools.util.TrainingParameters params)
Train a lemmatizer model with a parameters file.
|
public AbstractLemmatizerTrainer(opennlp.tools.util.TrainingParameters params)
throws IOException
params - the training parametersIOException - the io exceptionspublic final LemmatizerModel train(opennlp.tools.util.TrainingParameters params)
LemmatizerTrainertrain in interface LemmatizerTrainerparams - the parameters fileLemmatizerModel trainedprotected final LemmatizerFactory getLemmatizerFactory()
protected final void setLemmatizerFactory(LemmatizerFactory aLemmatizerFactory)
aLemmatizerFactory - the Lemmatizer factory implementedCopyright © 2016 IXA pipes. All rights reserved.