org.cleartk.clearnlp
Class Tokenizer
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.uimafit.component.JCasAnnotator_ImplBase
org.cleartk.clearnlp.Tokenizer
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class Tokenizer
- extends org.uimafit.component.JCasAnnotator_ImplBase
|
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 |
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
Tokenizer
public Tokenizer()
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.