public class UmlsToSnomedLuceneConsumerImpl extends UmlsToSnomedConsumerImpl
BaseLookupConsumerImpl.LookupHitKey
props
Constructor and Description |
---|
UmlsToSnomedLuceneConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties properties) |
UmlsToSnomedLuceneConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties properties,
int maxListSize) |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
getSnomedCodes(String umlsCode)
Find all Snomed codes that map to the given UMLS code (CUI),
by looking in a lucene index
|
consumeHits
createLookupHitMap, organizeByOffset
public UmlsToSnomedLuceneConsumerImpl(org.apache.uima.UimaContext aCtx, Properties properties) throws Exception
Exception
public UmlsToSnomedLuceneConsumerImpl(org.apache.uima.UimaContext aCtx, Properties properties, int maxListSize) throws Exception
Exception
protected Set<String> getSnomedCodes(String umlsCode) throws DictionaryException
getSnomedCodes
in class UmlsToSnomedConsumerImpl
umlsCode
- a UMLS CUIDictionaryException
in UmlsToSnomedConsumerImpl
for example of using a database
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.