public interface TermConsumer
Modifier and Type | Method and Description |
---|---|
void |
consumeHits(org.apache.uima.jcas.JCas jcas,
RareWordDictionary dictionary,
CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis,
CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) |
void |
consumeTypeIdHits(org.apache.uima.jcas.JCas jcas,
String codingScheme,
int cTakesSemantic,
CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis,
CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) |
void consumeHits(org.apache.uima.jcas.JCas jcas, RareWordDictionary dictionary, CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis, CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
jcas
- -dictionary
- the dictionary: Anatomical Site, Disease/Disorder, Drug, combination, etc.textSpanCuis
- collection of discovered termscuiConcepts
- map of cuis to conceptsorg.apache.uima.analysis_engine.AnalysisEngineProcessException
void consumeTypeIdHits(org.apache.uima.jcas.JCas jcas, String codingScheme, int cTakesSemantic, CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis, CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
jcas
- -codingScheme
- - name of the coding scheme to use if no secondary (snomed, rxnorm) schemes existcTakesSemantic
- cTakes IdentifiedAnnotation only accepts an integer as a cTakesSemanticorg.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.