public class ClearNlpSemanticRoleLabeler
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
protected String |
language |
static String |
PARAM_LANGUAGE
Use this language instead of the document language to resolve the model.
|
static String |
PARAM_PRED_MODEL_LOCATION
Location from which the predicate identifier model is read.
|
static String |
PARAM_PRINT_TAGSET
Write the tag set(s) to the log when a model is loaded.
|
static String |
PARAM_ROLE_MODEL_LOCATION
Location from which the roleset classification model is read.
|
static String |
PARAM_SRL_MODEL_LOCATION
Location from which the semantic role labeling model is read.
|
static String |
PARAM_VARIANT
Variant of a model the model.
|
protected String |
predModelLocation |
protected boolean |
printTagSet |
protected String |
roleModelLocation |
protected String |
srlModelLocation |
protected String |
variant |
Constructor and Description |
---|
ClearNlpSemanticRoleLabeler() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_PRINT_TAGSET
protected boolean printTagSet
public static final String PARAM_LANGUAGE
protected String language
public static final String PARAM_VARIANT
protected String variant
public static final String PARAM_PRED_MODEL_LOCATION
protected String predModelLocation
public static final String PARAM_ROLE_MODEL_LOCATION
protected String roleModelLocation
public static final String PARAM_SRL_MODEL_LOCATION
protected String srlModelLocation
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2011–2015. All rights reserved.