public class OpenNlpChunkerTrainer
extends org.dkpro.core.opennlp.internal.OpenNlpTrainerBase<org.dkpro.core.opennlp.internal.CasChunkSampleStream>
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 |
---|
OpenNlpChunkerTrainer() |
Modifier and Type | Method and Description |
---|---|
org.dkpro.core.opennlp.internal.CasChunkSampleStream |
makeSampleStream() |
Callable<? extends opennlp.tools.util.model.BaseModel> |
makeTrainer() |
collectionProcessComplete, getStream, initialize, process
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public 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_BEAMSIZE
ChunkerME.DEFAULT_BEAM_SIZE
,
Constant Field Valuespublic static final String PARAM_NUM_THREADS
public org.dkpro.core.opennlp.internal.CasChunkSampleStream makeSampleStream()
makeSampleStream
in class org.dkpro.core.opennlp.internal.OpenNlpTrainerBase<org.dkpro.core.opennlp.internal.CasChunkSampleStream>
public Callable<? extends opennlp.tools.util.model.BaseModel> makeTrainer()
makeTrainer
in class org.dkpro.core.opennlp.internal.OpenNlpTrainerBase<org.dkpro.core.opennlp.internal.CasChunkSampleStream>
Copyright © 2007–2019 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.