public class CoreNlpCoreferenceResolver
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_MAXDIST
DCoRef parameter: Maximum sentence distance between two mentions for resolution (-1: no
constraint on the distance)
|
static String |
PARAM_POSTPROCESSING
DCoRef parameter: Do post-processing
|
static String |
PARAM_PTB3_ESCAPING
Enable all traditional PTB3 token transforms (like -LRB-, -RRB-).
|
static String |
PARAM_QUOTE_BEGIN
List of extra token texts (usually single character strings) that should be treated like
opening quotes and escaped accordingly before being sent to the parser.
|
static String |
PARAM_QUOTE_END
List of extra token texts (usually single character strings) that should be treated like
closing quotes and escaped accordingly before being sent to the parser.
|
static String |
PARAM_SCORE
DCoRef parameter: Scoring the output of the system
|
static String |
PARAM_SIEVES
DCoRef parameter: Sieve passes - each class is defined in dcoref/sievepasses/.
|
static String |
PARAM_SINGLETON
DCoRef parameter: setting singleton predictor
|
Constructor and Description |
---|
CoreNlpCoreferenceResolver() |
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_SIEVES
public static final String PARAM_SCORE
public static final String PARAM_POSTPROCESSING
public static final String PARAM_SINGLETON
public static final String PARAM_MAXDIST
public static final String PARAM_PTB3_ESCAPING
PTBEscapingProcessor
,
Constant Field Valuespublic static final String PARAM_QUOTE_BEGIN
public static final String PARAM_QUOTE_END
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 © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.