efxtools.sample.ae
Class EfXRBSentenceSplitter

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.EfXRBSentenceSplitter
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class EfXRBSentenceSplitter
extends FilteringAnalysisEngine

This analysis engine represents a rule-based sentence splitter that, in general, can be used to split any text of any western language into sentences. It does not any input annotations, but only processes the unstructured input text. The sentence splitter sequentially determines the end of each sentence, assuming that the previously found sentence end has been correct. The rules used to classify whether the a character denotes the end of a sentence can be described in a high-level manner as follows:

NOTICE: This version of the sentence splitter is a mostly simplified, but also a little extended version of the sentence splitter developed within the InfexBA project. While the InfexBA sentence splitter had been designed with German news articles in mind, this sentence splitter aims to be much more more generally applicable. It has been successfully applied to both German and English texts as well as both user reviews and news articles.

Author:
Author of EfXTools

Field Summary
static java.lang.String PARAM_LEXICON_ABBREVIATIONS
          The name of the parameter for the abbreviation lexicon
static java.lang.String PARAM_LEXICON_PREFIX
          The name of the parameter for the URL prefix lexicon
static java.lang.String PARAM_LEXICON_SUFFIX
          The name of the parameter for the URL suffix lexicon
 
Constructor Summary
EfXRBSentenceSplitter()
           
 
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_LEXICON_PREFIX

public static final java.lang.String PARAM_LEXICON_PREFIX
The name of the parameter for the URL prefix lexicon

See Also:
Constant Field Values

PARAM_LEXICON_SUFFIX

public static final java.lang.String PARAM_LEXICON_SUFFIX
The name of the parameter for the URL suffix lexicon

See Also:
Constant Field Values

PARAM_LEXICON_ABBREVIATIONS

public static final java.lang.String PARAM_LEXICON_ABBREVIATIONS
The name of the parameter for the abbreviation lexicon

See Also:
Constant Field Values
Constructor Detail

EfXRBSentenceSplitter

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