public abstract class Tokenizer_ImplBase<TOKEN_TYPE extends org.apache.uima.jcas.tcas.Annotation>
extends org.uimafit.component.JCasAnnotator_ImplBase
This class provides a wrapper for the ClearNLP part of speech tokenizer for UIMA and/or ClearTK type systems. Subclasses should override the abstract methods to produce the annotations relevant for the target type system. This tagger is available here:
http://clearnlp.googlecode.com
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DICTIONARY_FILE_NAME |
static String |
PARAM_DICTIONARY_URI |
static String |
PARAM_LANGUAGE_CODE |
static String |
PARAM_WINDOW_CLASS |
| Constructor and Description |
|---|
Tokenizer_ImplBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract TokenOps<TOKEN_TYPE> |
getTokenOps() |
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas jCas) |
getRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static final String DEFAULT_DICTIONARY_FILE_NAME
public static final String PARAM_LANGUAGE_CODE
public static final String PARAM_DICTIONARY_URI
public static final String PARAM_WINDOW_CLASS
protected abstract TokenOps<TOKEN_TYPE> getTokenOps()
public void initialize(org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
initialize in interface org.apache.uima.analysis_component.AnalysisComponentinitialize in class org.uimafit.component.JCasAnnotator_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void process(org.apache.uima.jcas.JCas jCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionCopyright © 2013. All Rights Reserved.