efxtools.sample.ae
Class EfXParagraphSplitter

java.lang.Object
  extended by org.apache.uima.analysis_component.AnalysisComponent_ImplBase
      extended by org.apache.uima.analysis_component.Annotator_ImplBase
          extended by org.apache.uima.analysis_component.JCasAnnotator_ImplBase
              extended by efxtools.filtering.FilteringAnalysisEngine
                  extended by efxtools.sample.ae.EfXParagraphSplitter
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class EfXParagraphSplitter
extends FilteringAnalysisEngine

A simple paragraph splitter that defines a paragraph to end with a paragraph separator or a double line separator. Skips whitespaces. The paragraph splitter only procresses the given scope.

Author:
Author of EfXTools

Field Summary
static java.lang.String PARAM_MODEL_FILE
          Parameter for the model file
 
Constructor Summary
EfXParagraphSplitter()
           
 
Method Summary
 void initialize(org.apache.uima.UimaContext aContext)
           
 
Methods inherited from class efxtools.filtering.FilteringAnalysisEngine
process, setResultSpecification
 
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, reconfigure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_MODEL_FILE

public static final java.lang.String PARAM_MODEL_FILE
Parameter for the model file

See Also:
Constant Field Values
Constructor Detail

EfXParagraphSplitter

public EfXParagraphSplitter()
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