public interface Tagger
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext)
Instantiates
MODEL for current tagger |
void |
process(org.apache.uima.jcas.JCas aJCas)
Trains a new model for tagger, if a training is defined in
tagger.properties file |
void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
MODEL
for current taggerorg.apache.uima.resource.ResourceInitializationException
void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
tagger.properties
fileorg.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.examples.tagger.trainAndTest
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.