org.cleartk.timeml.event
Class EventAnnotator

java.lang.Object
  extended by org.apache.uima.analysis_component.AnalysisComponent_ImplBase
      extended by org.apache.uima.analysis_component.Annotator_ImplBase
          extended by org.apache.uima.analysis_component.JCasAnnotator_ImplBase
              extended by org.uimafit.component.JCasAnnotator_ImplBase
                  extended by org.cleartk.classifier.CleartkAnnotator<String>
                      extended by org.cleartk.timeml.event.EventAnnotator
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent, org.uimafit.factory.initializable.Initializable

public class EventAnnotator
extends org.cleartk.classifier.CleartkAnnotator<String>


Copyright (c) 2010, Regents of the University of Colorado
All rights reserved. Annotator for TimeML EVENT identification.

Author:
Steven Bethard

Field Summary
protected  List<org.cleartk.classifier.feature.extractor.CleartkExtractor> contextExtractors
           
static CleartkInternalModelFactory FACTORY
           
protected  List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> tokenFeatureExtractors
           
 
Fields inherited from class org.cleartk.classifier.CleartkAnnotator
classifier, dataWriter, PARAM_CLASSIFIER_FACTORY_CLASS_NAME, PARAM_DATA_WRITER_FACTORY_CLASS_NAME, PARAM_IS_TRAINING
 
Constructor Summary
EventAnnotator()
           
 
Method Summary
 void initialize(org.apache.uima.UimaContext context)
           
 void process(org.apache.uima.jcas.JCas jCas)
           
 
Methods inherited from class org.cleartk.classifier.CleartkAnnotator
collectionProcessComplete, isTraining
 
Methods inherited from class org.uimafit.component.JCasAnnotator_ImplBase
getLogger
 
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, process
 
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, next
 
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY

public static final CleartkInternalModelFactory FACTORY

tokenFeatureExtractors

protected List<org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor> tokenFeatureExtractors

contextExtractors

protected List<org.cleartk.classifier.feature.extractor.CleartkExtractor> contextExtractors
Constructor Detail

EventAnnotator

public EventAnnotator()
Method Detail

initialize

public void initialize(org.apache.uima.UimaContext context)
                throws org.apache.uima.resource.ResourceInitializationException
Specified by:
initialize in interface org.apache.uima.analysis_component.AnalysisComponent
Specified by:
initialize in interface org.uimafit.factory.initializable.Initializable
Overrides:
initialize in class org.cleartk.classifier.CleartkAnnotator<String>
Throws:
org.apache.uima.resource.ResourceInitializationException

process

public void process(org.apache.uima.jcas.JCas jCas)
             throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Specified by:
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException


Copyright © 2013. All Rights Reserved.