public class DebugConsumerImpl extends Object implements LookupConsumer
Constructor and Description |
---|
DebugConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props) |
Modifier and Type | Method and Description |
---|---|
void |
consumeHits(org.apache.uima.jcas.JCas jcas,
Iterator lookupHitItr)
Consumes the hits produced by the LookupAnnotator.
|
public DebugConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props)
public void consumeHits(org.apache.uima.jcas.JCas jcas, Iterator lookupHitItr) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
LookupConsumer
consumeHits
in interface LookupConsumer
jcas
- CAS for storing datalookupHitItr
- Iterator over LookupHit objects. These objects contain data
about the annotation span plus any associated metadata.org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.