|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface Tagger
General tagger interface in case one would want to define further types of taggers.
Known implementations: HMMTagger using Viterbi algorithm
to compute the most probable path of parts of speech for a given sequence of tokens
Viterbi,
HMMTagger| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
void initialize(org.apache.uima.UimaContext aContext)
throws org.apache.uima.resource.ResourceInitializationException
MODEL for current tagger
org.apache.uima.resource.ResourceInitializationException
void process(org.apache.uima.jcas.JCas aJCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
tagger.properties file
org.apache.uima.analysis_engine.AnalysisEngineProcessExceptionorg.apache.uima.examples.tagger.trainAndTest
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||