public class NegationContextHitConsumer extends NamedEntityContextHitConsumer implements ContextHitConsumer
Constructor and Description |
---|
NegationContextHitConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
consumeHit(JCas jcas,
Annotation focusAnnot,
int scope,
ContextHit ctxHit)
Implementation determines how context data is stored to the CAS.
|
createContextAnnot
public void consumeHit(JCas jcas, Annotation focusAnnot, int scope, ContextHit ctxHit) throws AnalysisEngineProcessException
ContextHitConsumer
consumeHit
in interface ContextHitConsumer
consumeHit
in class NamedEntityContextHitConsumer
jcas
- the UIMA view to update.focusAnnot
- The focus annotation.scope
- Scope of the context hit.ctxHit
- The context hit.AnalysisEngineProcessException