org.apache.ctakes.necontexts
Class ContextHitConsumerAdapter
java.lang.Object
org.apache.ctakes.necontexts.ContextHitConsumerAdapter
- All Implemented Interfaces:
- ContextHitConsumer
public class ContextHitConsumerAdapter
- extends Object
- implements ContextHitConsumer
|
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 |
ContextHitConsumerAdapter
public ContextHitConsumerAdapter()
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
- 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.