public class DependencyParser extends DependencyParser_ImplBase<org.cleartk.token.type.Sentence,org.cleartk.token.type.Token,org.cleartk.syntax.dependency.type.DependencyNode,org.cleartk.syntax.dependency.type.TopDependencyNode,org.cleartk.syntax.dependency.type.DependencyRelation>
This class provides a UIMA/ClearTK wrapper for the ClearNLP dependency parser that outputs to the ClearTK type system. A typical pipeline preceding this analysis engine would consist of a tokenizer, sentence segmenter, POS tagger, and lemmatizer (mp analyzer).
This parser is available here:
http://clearnlp.googlecode.com
DEFAULT_MODEL_FILE_NAME, PARAM_LANGUAGE_CODE, PARAM_PARSER_MODEL_URI, PARAM_WINDOW_CLASS| Constructor and Description |
|---|
DependencyParser() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription()
Convenience method for creating Analysis Engine for ClearNLP's dependency parser using default English model files
|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(String languageCode,
URI modelUri) |
initialize, processgetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription()
throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationExceptionCopyright © 2013. All Rights Reserved.