public class OrangeBookFilterConsumerImpl extends BaseLookupConsumerImpl
BaseLookupConsumerImpl.LookupHitKey
Constructor and Description |
---|
OrangeBookFilterConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props) |
OrangeBookFilterConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props,
int maxListSize) |
Modifier and Type | Method and Description |
---|---|
void |
consumeHits(org.apache.uima.jcas.JCas jcas,
Iterator<LookupHit> lhItr)
Consumes the hits produced by the LookupAnnotator.
|
createLookupHitMap, organizeByOffset
public OrangeBookFilterConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props, int maxListSize) throws org.apache.uima.resource.ResourceAccessException, NullPointerException
org.apache.uima.resource.ResourceAccessException
NullPointerException
public OrangeBookFilterConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props) throws Exception
Exception
public void consumeHits(org.apache.uima.jcas.JCas jcas, Iterator<LookupHit> lhItr) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
jcas
- CAS for storing datalhItr
- 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.