org.apache.ctakes.necontexts.negation
Class NegationContextHitConsumer
java.lang.Object
org.apache.ctakes.necontexts.NamedEntityContextHitConsumer
org.apache.ctakes.necontexts.negation.NegationContextHitConsumer
- All Implemented Interfaces:
- ContextHitConsumer
public class NegationContextHitConsumer
- extends NamedEntityContextHitConsumer
- implements ContextHitConsumer
- Author:
- Mayo Clinic
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NegationContextHitConsumer
public NegationContextHitConsumer()
consumeHit
public 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
- Description copied from interface:
ContextHitConsumer
- Implementation determines how context data is stored to the CAS.
- Specified by:
consumeHit
in interface ContextHitConsumer
- Specified by:
consumeHit
in class NamedEntityContextHitConsumer
- Parameters:
jcas
- the UIMA view to update.focusAnnot
- The focus annotation.scope
- Scope of the context hit.ctxHit
- The context hit.
- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.