@PipeBitInfo(name="Sectionizer", description="Annotates Document Sections by detecting Section Headers in template.", products=SECTION) public class SectionSegmentAnnotator extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
HashMap<Integer,DocumentSection> |
sections |
Constructor and Description |
---|
SectionSegmentAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas jCas)
Entry point for processing.
|
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public HashMap<Integer,DocumentSection> sections
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas jCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.