org.apache.uima.annotator
Class WhitespaceTokenizer

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.CasAnnotator_ImplBase
              extended by org.apache.uima.annotator.WhitespaceTokenizer
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class WhitespaceTokenizer
extends org.apache.uima.analysis_component.CasAnnotator_ImplBase


Field Summary
static java.lang.String MESSAGE_BUNDLE
           
static java.lang.String SENTENCE_ANNOTATION_NAME
           
static java.lang.String TOKEN_ANNOTATION_NAME
           
static java.lang.String TOKEN_TYPE_FEATURE_NAME
           
 
Constructor Summary
WhitespaceTokenizer()
           
 
Method Summary
 void initialize(org.apache.uima.UimaContext context)
           
 void process(org.apache.uima.cas.CAS aCas)
           
 void typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem)
           
 
Methods inherited from class org.apache.uima.analysis_component.CasAnnotator_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, getContext, getResultSpecification, reconfigure, setResultSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN_ANNOTATION_NAME

public static final java.lang.String TOKEN_ANNOTATION_NAME
See Also:
Constant Field Values

SENTENCE_ANNOTATION_NAME

public static final java.lang.String SENTENCE_ANNOTATION_NAME
See Also:
Constant Field Values

TOKEN_TYPE_FEATURE_NAME

public static final java.lang.String TOKEN_TYPE_FEATURE_NAME
See Also:
Constant Field Values

MESSAGE_BUNDLE

public static final java.lang.String MESSAGE_BUNDLE
See Also:
Constant Field Values
Constructor Detail

WhitespaceTokenizer

public WhitespaceTokenizer()
Method Detail

process

public void process(org.apache.uima.cas.CAS aCas)
             throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Specified by:
process in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException

typeSystemInit

public void typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem)
                    throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Overrides:
typeSystemInit in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException

initialize

public void initialize(org.apache.uima.UimaContext context)
                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


Copyright © 2011. All Rights Reserved.