public class SemanticRoleLabeler extends SemanticRoleLabeler_ImplBase<Sentence,Token,DependencyNode,TopDependencyNode,DependencyRelation,SemanticArgument,Predicate>
This class provides a UIMA/ClearTK wrapper for the ClearNLP semantic role labeler. A typical pipeline preceding this analysis engine would consist of a tokenizer, sentence segmenter, POS tagger, lemmatizer (mp analyzer), and dependency parser.
The ClearNLP labeler is available here:
http://clearnlp.googlecode.com
DEFAULT_SRL_MODEL_PATH, PARAM_LANGUAGE_CODE, PARAM_SRL_MODEL_PATH, PARAM_WINDOW_CLASS| Constructor and Description |
|---|
SemanticRoleLabeler() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription() |
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDescription(String languageCode,
String predIdModelPath,
String rolesetModelPath,
String srlModelPath) |
initialize, processgetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription()
throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationExceptionpublic static org.apache.uima.analysis_engine.AnalysisEngineDescription getDescription(String languageCode, String predIdModelPath, String rolesetModelPath, String srlModelPath) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationExceptionCopyright © 2023. All rights reserved.