public class OpenNlpLemmatizerTrainer
extends org.dkpro.core.opennlp.internal.OpenNlpTrainerBase<org.dkpro.core.opennlp.internal.CasLemmaSampleStream>
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_ALGORITHM
Training algorithm.
|
static String |
PARAM_BEAMSIZE
Beam size.
|
static String |
PARAM_CUTOFF
Frequency cut-off.
|
static String |
PARAM_ITERATIONS
Number of training iterations.
|
static String |
PARAM_LANGUAGE
Store this language to the model instead of the document language.
|
static String |
PARAM_NUM_THREADS
Number of parallel threads.
|
static String |
PARAM_TRAINER_TYPE
Trainer type.
|
| Constructor and Description |
|---|
OpenNlpLemmatizerTrainer() |
| Modifier and Type | Method and Description |
|---|---|
org.dkpro.core.opennlp.internal.CasLemmaSampleStream |
makeSampleStream() |
Callable<? extends opennlp.tools.lemmatizer.LemmatizerModel> |
makeTrainer() |
collectionProcessComplete, getStream, initialize, processgetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static final String PARAM_LANGUAGE
public static final String PARAM_ALGORITHM
public static final String PARAM_TRAINER_TYPE
public static final String PARAM_ITERATIONS
public static final String PARAM_CUTOFF
public static final String PARAM_NUM_THREADS
public static final String PARAM_BEAMSIZE
LemmatizerME.DEFAULT_BEAM_SIZE,
Constant Field Valuespublic org.dkpro.core.opennlp.internal.CasLemmaSampleStream makeSampleStream()
makeSampleStream in class org.dkpro.core.opennlp.internal.OpenNlpTrainerBase<org.dkpro.core.opennlp.internal.CasLemmaSampleStream>public Callable<? extends opennlp.tools.lemmatizer.LemmatizerModel> makeTrainer()
makeTrainer in class org.dkpro.core.opennlp.internal.OpenNlpTrainerBase<org.dkpro.core.opennlp.internal.CasLemmaSampleStream>Copyright © 2007–2019 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.