public class OpenNlpNamedEntityRecognizerTrainer
extends org.apache.uima.fit.component.JCasConsumer_ImplBase
Modifier and Type | Class and Description |
---|---|
static class |
OpenNlpNamedEntityRecognizerTrainer.SequenceEncoding |
Modifier and Type | Field and Description |
---|---|
protected String |
acceptedTagsRegex |
static String |
PARAM_ACCEPTED_TAGS_REGEX
Regex to filter the
named entity by
type. |
static String |
PARAM_ALGORITHM |
static String |
PARAM_BEAMSIZE |
static String |
PARAM_CUTOFF |
static String |
PARAM_FEATURE_GEN |
static String |
PARAM_ITERATIONS |
static String |
PARAM_LANGUAGE |
static String |
PARAM_NUM_THREADS |
static String |
PARAM_SEQUENCE_ENCODING |
static String |
PARAM_TARGET_LOCATION |
static String |
PARAM_TRAINER_TYPE |
Constructor and Description |
---|
OpenNlpNamedEntityRecognizerTrainer() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete() |
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_LANGUAGE
public static final String PARAM_TARGET_LOCATION
public static final String PARAM_ACCEPTED_TAGS_REGEX
named entity
by
type.protected String acceptedTagsRegex
public static final String PARAM_ALGORITHM
GISTrainer.MAXENT_VALUE
,
QNTrainer.MAXENT_QN_VALUE
,
PerceptronTrainer.PERCEPTRON_VALUE
,
SimplePerceptronSequenceTrainer.PERCEPTRON_SEQUENCE_VALUE
,
Constant Field Valuespublic static final String PARAM_TRAINER_TYPE
public static final String PARAM_ITERATIONS
public static final String PARAM_CUTOFF
public static final String PARAM_BEAMSIZE
NameFinderME.DEFAULT_BEAM_SIZE
,
Constant Field Valuespublic static final String PARAM_FEATURE_GEN
public static final String PARAM_SEQUENCE_ENCODING
public static final String PARAM_NUM_THREADS
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasConsumer_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void collectionProcessComplete() throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
collectionProcessComplete
in interface org.apache.uima.analysis_component.AnalysisComponent
collectionProcessComplete
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.