public interface ContextHitConsumer
Modifier and Type | Method and Description |
---|---|
void |
consumeHit(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation focusAnnotation,
int scope,
ContextHit contextHit)
Implementation determines how context data is stored to the CAS.
|
void consumeHit(org.apache.uima.jcas.JCas jcas, org.apache.uima.jcas.tcas.Annotation focusAnnotation, int scope, ContextHit contextHit) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
jcas
- the UIMA view to update.focusAnnotation
- The focus annotation.scope
- Scope of the context hit.contextHit
- The context hit.org.apache.uima.analysis_engine.annotator.AnnotatorProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.