org.cleartk.clearnlp
Class Tokenizer

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 org.uimafit.component.JCasAnnotator_ImplBase
                  extended by org.cleartk.clearnlp.Tokenizer
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class Tokenizer
extends org.uimafit.component.JCasAnnotator_ImplBase


Field Summary
static String DEFAULT_DICTIONARY_FILE_NAME
           
static String PARAM_DICTIONARY_URI
           
static String PARAM_LANGUAGE_CODE
           
 
Constructor Summary
Tokenizer()
           
 
Method Summary
static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription()
          Convenience method for getting an Analysis Engine for ClearNLP's English tokenizer.
 void initialize(org.apache.uima.UimaContext context)
           
 void process(org.apache.uima.jcas.JCas jCas)
           
 
Methods inherited from class org.uimafit.component.JCasAnnotator_ImplBase
getLogger
 
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, getContext, getResultSpecification, reconfigure, setResultSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DICTIONARY_FILE_NAME

public static final String DEFAULT_DICTIONARY_FILE_NAME
See Also:
Constant Field Values

PARAM_LANGUAGE_CODE

public static final String PARAM_LANGUAGE_CODE

PARAM_DICTIONARY_URI

public static final String PARAM_DICTIONARY_URI
Constructor Detail

Tokenizer

public Tokenizer()
Method Detail

getDescription

public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription()
                                                                                throws org.apache.uima.resource.ResourceInitializationException
Convenience method for getting an Analysis Engine for ClearNLP's English tokenizer.

Throws:
org.apache.uima.resource.ResourceInitializationException

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.uimafit.component.JCasAnnotator_ImplBase
Throws:
org.apache.uima.resource.ResourceInitializationException

process

public void process(org.apache.uima.jcas.JCas jCas)
             throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Specified by:
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException


Copyright © 2013. All Rights Reserved.