public interface ContextHitConsumer
Modifier and Type | Method and Description |
---|---|
void |
consumeHit(JCas jcas,
Annotation focusAnnotation,
int scope,
ContextHit contextHit)
Implementation determines how context data is stored to the CAS.
|
void consumeHit(JCas jcas, Annotation focusAnnotation, int scope, ContextHit contextHit) throws AnalysisEngineProcessException
jcas
- the UIMA view to update.focusAnnotation
- The focus annotation.scope
- Scope of the context hit.contextHit
- The context hit.AnnotatorProcessException
AnalysisEngineProcessException