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, processgetCasInstancesRequired, hasNext, nextpublic 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.AnalysisComponentinitialize in class org.apache.uima.analysis_component.AnalysisComponent_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void process(org.apache.uima.jcas.JCas cas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionpublic void collectionProcessComplete()
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
collectionProcessComplete in interface org.apache.uima.analysis_component.AnalysisComponentcollectionProcessComplete in class org.apache.uima.analysis_component.AnalysisComponent_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionCopyright © 2015. All rights reserved.