org.apache.ctakes.assertion.medfacts.cleartk
Class GenericCleartkAnalysisEngine
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.uimafit.component.JCasAnnotator_ImplBase
org.cleartk.classifier.CleartkAnnotator<java.lang.String>
org.apache.ctakes.assertion.medfacts.cleartk.AssertionCleartkAnalysisEngine
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
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 |
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 |
USE_DEFAULT_EXTRACTORS
boolean USE_DEFAULT_EXTRACTORS
GenericCleartkAnalysisEngine
public GenericCleartkAnalysisEngine()
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