public class PosTagger extends PosTagger_ImplBase<Token>
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. This tagger is available here:
http://clearnlp.googlecode.com
DEFAULT_MODEL_PATH, PARAM_LANGUAGE_CODE, PARAM_MODEL_PATH, PARAM_WINDOW_CLASS| Constructor and Description |
|---|
PosTagger() |
| Modifier and Type | Method and Description |
|---|---|
static AnalysisEngineDescription |
getDescription() |
static AnalysisEngineDescription |
getDescription(String languageCode,
String modelPath) |
initialize, processgetLoggergetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextbatchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecificationpublic PosTagger()
public static AnalysisEngineDescription getDescription() throws ResourceInitializationException
ResourceInitializationExceptionpublic static AnalysisEngineDescription getDescription(String languageCode, String modelPath) throws ResourceInitializationException
ResourceInitializationExceptionCopyright © 2014. All rights reserved.