@PipeBitInfo(name="ClearNLP POS Tagger", description="Adds Parts of Speech to Annotations.", role=ANNOTATOR, dependencies={SENTENCE,BASE_TOKEN}) public class ClearNLPPOSTaggerAE extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
http://code.google.com/p/clearnlp
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MODEL_FILE_NAME |
org.apache.log4j.Logger |
logger |
static String |
PARAM_POS_MODEL_FILE_NAME |
protected URI |
posModelUri |
protected com.googlecode.clearnlp.component.AbstractComponent |
postagger |
Constructor and Description |
---|
ClearNLPPOSTaggerAE() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas jCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public org.apache.log4j.Logger logger
public static final String DEFAULT_MODEL_FILE_NAME
public static final String PARAM_POS_MODEL_FILE_NAME
protected URI posModelUri
protected com.googlecode.clearnlp.component.AbstractComponent postagger
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas jCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.