public class HMMModelTrainer
extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_FILE
Name of the parameter for the model export path
|
static String |
PARAM_POSFP
Name of the parameter for the feature path to the POS
|
static String |
PARAM_VIEW
Name of the parameter for the view
|
Constructor and Description |
---|
HMMModelTrainer() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete()
Called at the end of the processing.
|
void |
initialize(org.apache.uima.UimaContext aContext)
Initialization of the component
|
void |
process(org.apache.uima.jcas.JCas cas)
Processing.
|
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static String PARAM_VIEW
public static String PARAM_FILE
public static String PARAM_POSFP
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.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas cas) 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 © 2006–2023 The Apache Software Foundation. All rights reserved.