Class AbstractTokenizer

  • All Implemented Interfaces:
    org.apache.uima.analysis_component.AnalysisComponent
    Direct Known Subclasses:
    SimpleTokenizer, Tokenizer, WhitespaceTokenizer

    public abstract class AbstractTokenizer
    extends org.apache.uima.analysis_component.CasAnnotator_ImplBase
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize​(org.apache.uima.UimaContext context)  
      void process​(org.apache.uima.cas.CAS cas)  
      void typeSystemInit​(org.apache.uima.cas.TypeSystem typeSystem)  
      • Methods inherited from class org.apache.uima.analysis_component.CasAnnotator_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, reconfigure, setResultSpecification
    • Method Detail

      • initialize

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

        public void typeSystemInit​(org.apache.uima.cas.TypeSystem typeSystem)
                            throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
        Overrides:
        typeSystemInit in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
        Throws:
        org.apache.uima.analysis_engine.AnalysisEngineProcessException
      • process

        public void process​(org.apache.uima.cas.CAS cas)
                     throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
        Specified by:
        process in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
        Throws:
        org.apache.uima.analysis_engine.AnalysisEngineProcessException