@Beta public abstract class PosTagger_ImplBase<TOKEN_TYPE extends Annotation> extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
This class provides a UIMA/ClearTK wrapper for the ClearNLP part of speech (POS) tagger. This engine requires tokenize input and produces POS tags on the tokens. 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_MODEL_PATH |
static String |
PARAM_LANGUAGE_CODE |
static String |
PARAM_MODEL_PATH |
static String |
PARAM_WINDOW_CLASS |
| Constructor and Description |
|---|
PosTagger_ImplBase(TokenOps<TOKEN_TYPE> tokenOps) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(UimaContext context) |
void |
process(JCas jCas) |
getLoggergetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextbatchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecificationpublic static final String DEFAULT_MODEL_PATH
public static final String PARAM_LANGUAGE_CODE
public static final String PARAM_MODEL_PATH
public static final String PARAM_WINDOW_CLASS
public PosTagger_ImplBase(TokenOps<TOKEN_TYPE> tokenOps)
public void initialize(UimaContext context) throws ResourceInitializationException
initialize in interface AnalysisComponentinitialize in class org.apache.uima.fit.component.JCasAnnotator_ImplBaseResourceInitializationExceptionpublic void process(JCas jCas) throws AnalysisEngineProcessException
process in class JCasAnnotator_ImplBaseAnalysisEngineProcessExceptionCopyright © 2014. All rights reserved.