Class UimaMeetingAnnotator

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.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.fit.examples.tutorial.ex6.UimaMeetingAnnotator
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class UimaMeetingAnnotator extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Example annotator that iterates over Meeting annotations and annotates a meeting as a UimaMeeting if a UIMA acronym occurs in close proximity to that meeting. When combined in an aggregate TAE with the UimaAcronymAnnotator, demonstrates the use of the ResourceManager to share data between annotators.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    void
    process(org.apache.uima.jcas.JCas aJCas)
     

    Methods inherited from class org.apache.uima.fit.component.JCasAnnotator_ImplBase

    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, getLogger, getResultSpecification, reconfigure, setResultSpecification

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UimaMeetingAnnotator

      public UimaMeetingAnnotator()
  • Method Details

    • process

      public void process(org.apache.uima.jcas.JCas aJCas) 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
      See Also:
      • JCasAnnotator_ImplBase.process(JCas)
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception