org.apache.ctakes.assertion.medfacts.cleartk
Class HistoryCleartkAnalysisEngine
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<String>
org.apache.ctakes.assertion.medfacts.cleartk.AssertionCleartkAnalysisEngine
org.apache.ctakes.assertion.medfacts.cleartk.HistoryCleartkAnalysisEngine
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent, org.uimafit.factory.initializable.Initializable
public class HistoryCleartkAnalysisEngine
- extends AssertionCleartkAnalysisEngine
Fields inherited from class org.apache.ctakes.assertion.medfacts.cleartk.AssertionCleartkAnalysisEngine |
coin, contextFeatureExtractors, cuePhraseInWindowExtractor, entityFeatureExtractors, FEATURE_SELECTION_NAME, featureSelection, featureSelectionThreshold, featureSelectionURI, goldViewName, lastLabel, PARAM_FEATURE_SELECTION_THRESHOLD, PARAM_FEATURE_SELECTION_URI, PARAM_GOLD_VIEW_NAME, PARAM_PRINT_ERRORS, PARAM_PROBABILITY_OF_KEEPING_DEFAULT_EXAMPLE, 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 |
HistoryCleartkAnalysisEngine
public HistoryCleartkAnalysisEngine()
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 entityOrEventMention,
org.cleartk.classifier.Instance<String> instance)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
- Specified by:
setClassLabel
in class AssertionCleartkAnalysisEngine
- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
createFeatureSelection
public static FeatureSelection<String> createFeatureSelection(double threshold)
createFeatureSelectionURI
public static URI createFeatureSelectionURI(File outputDirectoryName)
initializeFeatureSelection
protected void initializeFeatureSelection()
throws org.apache.uima.resource.ResourceInitializationException
- Specified by:
initializeFeatureSelection
in class AssertionCleartkAnalysisEngine
- Throws:
org.apache.uima.resource.ResourceInitializationException
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.