Class MSTParserAnnotator

  • All Implemented Interfaces:
    org.apache.uima.analysis_component.AnalysisComponent

    public class MSTParserAnnotator
    extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
    This is the analysis engine (AE) which uses the MST parser.
    Author:
    Lichtenwald
    • Constructor Detail

      • MSTParserAnnotator

        public MSTParserAnnotator()
    • Method Detail

      • initialize

        public void initialize​(org.apache.uima.UimaContext aContext)
                        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
      • getDocId

        protected String getDocId​(org.apache.uima.jcas.JCas jcas)
      • collectionProcessComplete

        public void collectionProcessComplete()
                                       throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
        Specified by:
        collectionProcessComplete in interface org.apache.uima.analysis_component.AnalysisComponent
        Overrides:
        collectionProcessComplete in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
        Throws:
        org.apache.uima.analysis_engine.AnalysisEngineProcessException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.apache.uima.analysis_component.AnalysisComponent
        Overrides:
        destroy in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase