public class OpenNlpSentenceTrainer
extends org.apache.uima.fit.component.JCasConsumer_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_ABBREVIATION_DICTIONARY_ENCODING |
static String |
PARAM_ABBREVIATION_DICTIONARY_LOCATION |
static String |
PARAM_ALGORITHM |
static String |
PARAM_CUTOFF |
static String |
PARAM_EOS_CHARACTERS |
static String |
PARAM_ITERATIONS |
static String |
PARAM_LANGUAGE |
static String |
PARAM_NUM_THREADS |
static String |
PARAM_TARGET_LOCATION |
static String |
PARAM_TRAINER_TYPE |
Constructor and Description |
---|
OpenNlpSentenceTrainer() |
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_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_EOS_CHARACTERS
public static final String PARAM_ABBREVIATION_DICTIONARY_LOCATION
public static final String PARAM_ABBREVIATION_DICTIONARY_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.