public abstract class NamedEntityContextHitConsumer extends Object implements ContextHitConsumer
| Constructor and Description |
|---|
NamedEntityContextHitConsumer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
consumeHit(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation focusAnnot,
int scope,
ContextHit ctxHit)
Implementation determines how context data is stored to the CAS.
|
protected ContextAnnotation |
createContextAnnot(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation focusAnnot,
int scope,
ContextHit ctxHit) |
public abstract void consumeHit(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation focusAnnot,
int scope,
ContextHit ctxHit)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
ContextHitConsumerconsumeHit in interface ContextHitConsumerjcas - the UIMA view to update.focusAnnot - The focus annotation.scope - Scope of the context hit.ctxHit - The context hit.org.apache.uima.analysis_engine.AnalysisEngineProcessExceptionprotected ContextAnnotation createContextAnnot(org.apache.uima.jcas.JCas jcas, org.apache.uima.jcas.tcas.Annotation focusAnnot, int scope, ContextHit ctxHit)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.