org.apache.ctakes.postagger
Class ClearNLPPOSTaggerAE
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.apache.ctakes.postagger.ClearNLPPOSTaggerAE
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class ClearNLPPOSTaggerAE
- extends org.uimafit.component.JCasAnnotator_ImplBase
This class provides a UIMA wrapper for the CLEAR POSTagger. This pos tagger is available here:
http://code.google.com/p/clearnlp
Method Summary |
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 |
logger
public org.apache.log4j.Logger logger
DEFAULT_MODEL_FILE_NAME
public static final String DEFAULT_MODEL_FILE_NAME
- See Also:
- Constant Field Values
PARAM_POS_MODEL_FILE_NAME
public static final String PARAM_POS_MODEL_FILE_NAME
- See Also:
- Constant Field Values
posModelUri
protected URI posModelUri
postagger
protected com.googlecode.clearnlp.component.AbstractComponent postagger
ClearNLPPOSTaggerAE
public ClearNLPPOSTaggerAE()
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 © 2012-2013 The Apache Software Foundation. All Rights Reserved.