public class StanfordPosTaggerTrainer
extends org.apache.uima.fit.component.JCasConsumer_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_CLUSTER_FILE
Distsim cluster files.
|
static String |
PARAM_PARAMETER_FILE
Training file containing the parameters.
|
static String |
PARAM_TARGET_LOCATION |
Constructor and Description |
---|
StanfordPosTaggerTrainer() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete() |
void |
destroy() |
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_TARGET_LOCATION
public static final String PARAM_PARAMETER_FILE
trainFile
, model
and
encoding
parameters in this file are ignored/overwritten. In the arch
parameter, the string ${distsimCluster}
is replaced with the path to the cluster
files if PARAM_CLUSTER_FILE
is specified.public static final String PARAM_CLUSTER_FILE
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
public void destroy()
destroy
in interface org.apache.uima.analysis_component.AnalysisComponent
destroy
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.