efxtools.sample.ae
Class EfXParagraphSplitter
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
efxtools.filtering.FilteringAnalysisEngine
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 |
|
Method Summary |
void |
initialize(org.apache.uima.UimaContext aContext)
|
| 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 |
PARAM_MODEL_FILE
public static final java.lang.String PARAM_MODEL_FILE
- Parameter for the model file
- See Also:
- Constant Field Values
EfXParagraphSplitter
public EfXParagraphSplitter()
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