public class NegContextInitializerImpl extends ContextAnalyzerAdapter
Modifier and Type | Field and Description |
---|---|
protected int |
iAnnotationType |
static String |
NEGATION_IND_FSM_CLASS
Specifies the NegationIndicatorFSMClass that needs to be used
|
static String |
PARAM_ANNOTATION_TYPE
Specifies the parameter AnnotationType to iterate on, specified in the descriptor file.
|
Constructor and Description |
---|
NegContextInitializerImpl() |
Modifier and Type | Method and Description |
---|---|
Iterator |
getAnnotationIterator(org.apache.uima.jcas.JCas jcas) |
ContextHit |
getContextHit(List tokenList,
int scope) |
void |
initialize(org.apache.uima.UimaContext aContext)
This will be called by the ContextAnnotator during its initialize method
|
protected List |
wrapAsFsmTokens(List tokenList) |
analyzeContext, isBoundary
public static final String PARAM_ANNOTATION_TYPE
#getFocusAnnotationIterator(JCas)
,
Constant Field Valuespublic static final String NEGATION_IND_FSM_CLASS
protected int iAnnotationType
public ContextHit getContextHit(List tokenList, int scope) throws org.apache.uima.analysis_engine.annotator.AnnotatorProcessException
org.apache.uima.analysis_engine.annotator.AnnotatorProcessException
public Iterator getAnnotationIterator(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.annotator.AnnotatorProcessException
org.apache.uima.analysis_engine.annotator.AnnotatorProcessException
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
ContextAnalyzer
initialize
in interface ContextAnalyzer
initialize
in class ContextAnalyzerAdapter
org.apache.uima.resource.ResourceInitializationException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.