org.apache.ctakes.assertion.medfacts
Class AssertionAnalysisEngine
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.apache.ctakes.assertion.medfacts.AssertionAnalysisEngine
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class AssertionAnalysisEngine
- extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
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, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssertionAnalysisEngine
public AssertionAnalysisEngine()
initialize
public void initialize(org.apache.uima.UimaContext uimaContext)
throws org.apache.uima.resource.ResourceInitializationException
- Specified by:
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
- Overrides:
initialize
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
- 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
mapI2B2AssertionValueToCtakes
public static void mapI2B2AssertionValueToCtakes(String assertionType,
IdentifiedAnnotation annotation)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
debugAnnotationsInCas
public void debugAnnotationsInCas(org.apache.uima.jcas.JCas jcas,
IdentifiedAnnotation annotation,
String label)
generateAnnotationMap
public Map<Integer,org.apache.uima.jcas.tcas.Annotation> generateAnnotationMap(org.apache.uima.jcas.JCas jcas)
generateAnnotationMap
public Map<Integer,org.apache.uima.jcas.tcas.Annotation> generateAnnotationMap(org.apache.uima.jcas.JCas jcas,
Integer typeId)
convert2DTokenArrayToText
public String convert2DTokenArrayToText(ArrayList<ArrayList<String>> arrayOfLines)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.