org.apache.ctakes.assertion.medfacts.cleartk
Class GenericCleartkAnalysisEngine

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<java.lang.String>
                      extended by org.apache.ctakes.assertion.medfacts.cleartk.AssertionCleartkAnalysisEngine
                          extended by org.apache.ctakes.assertion.medfacts.cleartk.GenericCleartkAnalysisEngine
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent, org.uimafit.factory.initializable.Initializable

public class GenericCleartkAnalysisEngine
extends AssertionCleartkAnalysisEngine


Field Summary
(package private)  boolean USE_DEFAULT_EXTRACTORS
           
 
Fields inherited from class org.apache.ctakes.assertion.medfacts.cleartk.AssertionCleartkAnalysisEngine
coin, contextFeatureExtractors, cuePhraseInWindowExtractor, entityFeatureExtractors, goldViewName, logger, PARAM_GOLD_VIEW_NAME, PARAM_PRINT_ERRORS, PARAM_PROBABILITY_OF_KEEPING_DEFAULT_EXAMPLE, printErrors, probabilityOfKeepingADefaultExample, relationId, tokenCleartkExtractors, tokenContextFeatureExtractors
 
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
GenericCleartkAnalysisEngine()
           
 
Method Summary
 void initialize(org.apache.uima.UimaContext context)
           
 void setClassLabel(IdentifiedAnnotation entityMention, org.cleartk.classifier.Instance<java.lang.String> instance)
           
 
Methods inherited from class org.apache.ctakes.assertion.medfacts.cleartk.AssertionCleartkAnalysisEngine
extractZoneFeatures, findAnnotationHead, getDescription, process
 
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

USE_DEFAULT_EXTRACTORS

boolean USE_DEFAULT_EXTRACTORS
Constructor Detail

GenericCleartkAnalysisEngine

public GenericCleartkAnalysisEngine()
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 AssertionCleartkAnalysisEngine
Throws:
org.apache.uima.resource.ResourceInitializationException

setClassLabel

public void setClassLabel(IdentifiedAnnotation entityMention,
                          org.cleartk.classifier.Instance<java.lang.String> instance)
                   throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Specified by:
setClassLabel in class AssertionCleartkAnalysisEngine
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException