Class ToIOBConsumer

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

    public class ToIOBConsumer
    extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
    Author:
    weigel, faessler
    • Constructor Summary

      Constructors 
      Constructor Description
      ToIOBConsumer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.julielab.segmentationEvaluator.IOToken[] convertToIOB​(org.apache.uima.jcas.JCas jcas)  
      void initialize​(org.apache.uima.UimaContext aContext)  
      void process​(org.apache.uima.jcas.JCas jCas)  
      • 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

      • ToIOBConsumer

        public ToIOBConsumer()
    • 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)
        Specified by:
        process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
      • convertToIOB

        public de.julielab.segmentationEvaluator.IOToken[] convertToIOB​(org.apache.uima.jcas.JCas jcas)
        Parameters:
        jcas -