org.apache.ctakes.relationextractor.ae
Class IdentifiedAnnotationExpander
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.apache.ctakes.relationextractor.ae.IdentifiedAnnotationExpander
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class IdentifiedAnnotationExpander
- extends org.uimafit.component.JCasAnnotator_ImplBase
Methods inherited from class org.uimafit.component.JCasAnnotator_ImplBase |
getLogger, initialize |
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 |
IdentifiedAnnotationExpander
public IdentifiedAnnotationExpander()
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
expandToNP
public static List<Integer> expandToNP(org.apache.uima.jcas.JCas jCas,
IdentifiedAnnotation identifiedAnnotation)
getEnclosingNP
public static String getEnclosingNP(org.apache.uima.jcas.JCas jCas,
IdentifiedAnnotation identifiedAnnotation)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.