Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Protected Member Functions | Private Attributes

org::apache::uima::examples::casMultiplier::SimpleTextSegmenter Class Reference

Inheritance diagram for org::apache::uima::examples::casMultiplier::SimpleTextSegmenter:
Inheritance graph
Collaboration diagram for org::apache::uima::examples::casMultiplier::SimpleTextSegmenter:
Collaboration graph

List of all members.

Public Member Functions

void batchProcessComplete () throws AnalysisEngineProcessException
void collectionProcessComplete () throws AnalysisEngineProcessException
void destroy ()
int getCasInstancesRequired ()
final Class< JCasgetRequiredCasInterface ()
boolean hasNext () throws AnalysisEngineProcessException
void initialize (UimaContext aContext) throws ResourceInitializationException
AbstractCas next () throws AnalysisEngineProcessException
void process (JCas aJCas) throws AnalysisEngineProcessException
final void process (AbstractCas aCAS) throws AnalysisEngineProcessException
void reconfigure () throws ResourceConfigurationException, ResourceInitializationException
void setResultSpecification (ResultSpecification aResultSpec)

Protected Member Functions

final UimaContext getContext ()
final JCas getEmptyJCas ()
ResultSpecification getResultSpecification ()

Private Attributes

String mDoc
String mDocUri
int mPos
int mSegmentSize

Detailed Description

An example CasMultiplier, which breaks large text documents into smaller segments. The minimum size of the segments as determined by the "SegmentSize" configuration parameter, but the break between segments will always occur at the next newline character, so segments will not be exactly that size.

Definition at line 37 of file SimpleTextSegmenter.java.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index