public class MPAnalyzer extends MPAnalyzer_ImplBase<org.cleartk.token.type.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_DICTIONARY_URI, PARAM_LANGUAGE_CODE, PARAM_WINDOW_CLASS| Constructor and Description |
|---|
MPAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription()
Convenience method to create Analysis Engine for ClearNLP's POSTagger + Lemmatizer using default English models and dictionaries.
|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(String langCode,
URI dictionaryUri) |
initialize, processgetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static final String DEFAULT_DICTIONARY_FILE_NAME
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription()
throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationExceptionCopyright © 2013. All Rights Reserved.