public class MpAnalyzer extends MpAnalyzer_ImplBase<Token>
This class provides a UIMA/ClearTK wrapper for the ClearNLP morphological analyzer. This engine requires POS-tagged tokens and produces lemmatized forms of said tokens. This analyzer is available here:
http://clearnlp.googlecode.com
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DICTIONARY_FILE_NAME |
PARAM_LANGUAGE_CODE, PARAM_WINDOW_CLASS| Constructor and Description |
|---|
MpAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
static AnalysisEngineDescription |
getDescription()
Convenience method to create Analysis Engine for ClearNLP's POSTagger + Lemmatizer using default English models and dictionaries.
|
static AnalysisEngineDescription |
getDescription(String langCode) |
initialize, processgetLoggergetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextbatchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecificationpublic static final String DEFAULT_DICTIONARY_FILE_NAME
public MpAnalyzer()
public static AnalysisEngineDescription getDescription() throws ResourceInitializationException
ResourceInitializationExceptionpublic static AnalysisEngineDescription getDescription(String langCode) throws ResourceInitializationException
ResourceInitializationExceptionCopyright © 2014. All rights reserved.