org.apache.ctakes.relationextractor.ae
Class IdentifiedAnnotationExpander

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.apache.ctakes.relationextractor.ae.IdentifiedAnnotationExpander
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class IdentifiedAnnotationExpander
extends org.uimafit.component.JCasAnnotator_ImplBase


Constructor Summary
IdentifiedAnnotationExpander()
           
 
Method Summary
static List<Integer> expandToNP(org.apache.uima.jcas.JCas jCas, IdentifiedAnnotation identifiedAnnotation)
           
static String getEnclosingNP(org.apache.uima.jcas.JCas jCas, IdentifiedAnnotation identifiedAnnotation)
           
 void process(org.apache.uima.jcas.JCas jCas)
           
 
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
 

Constructor Detail

IdentifiedAnnotationExpander

public IdentifiedAnnotationExpander()
Method Detail

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.