public class EventAnnotator extends CleartkAnnotator<String>
| Modifier and Type | Field and Description |
|---|---|
protected List<CleartkExtractor<Token,Token>> |
contextExtractors |
static CleartkInternalModelFactory |
FACTORY |
protected List<FeatureExtractor1<Token>> |
tokenFeatureExtractors |
classifier, dataWriter, PARAM_CLASSIFIER_FACTORY_CLASS_NAME, PARAM_DATA_WRITER_FACTORY_CLASS_NAME, PARAM_IS_TRAINING| Constructor and Description |
|---|
EventAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas jCas) |
collectionProcessComplete, isTraininggetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static final CleartkInternalModelFactory FACTORY
protected List<FeatureExtractor1<Token>> tokenFeatureExtractors
protected List<CleartkExtractor<Token,Token>> contextExtractors
public void initialize(org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
initialize in interface org.apache.uima.analysis_component.AnalysisComponentinitialize in interface org.apache.uima.fit.factory.initializable.Initializableinitialize in class CleartkAnnotator<String>org.apache.uima.resource.ResourceInitializationExceptionpublic void process(org.apache.uima.jcas.JCas jCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionCopyright © 2023. All rights reserved.