@PipeBitInfo(name="UMLS Dictionary Lookup (Old)", description="Annotates clinically-relevant terms. This is an older, slower dictionary lookup implementation.", dependencies={CHUNK,BASE_TOKEN}, products=IDENTIFIED_ANNOTATION) public class UmlsDictionaryLookupAnnotator extends DictionaryLookupAnnotator
Modifier and Type | Field and Description |
---|---|
static String |
UMLSADDR_PARAM |
static String |
UMLSPW_PARAM |
static String |
UMLSUSER_PARAM |
static String |
UMLSVENDOR_PARAM |
Constructor and Description |
---|
UmlsDictionaryLookupAnnotator() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
createAnnotatorDescription() |
void |
initialize(org.apache.uima.UimaContext aContext) |
static boolean |
isValidUMLSUser(String umlsaddr,
String vendor,
String username,
String password) |
process
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String UMLSADDR_PARAM
public static final String UMLSVENDOR_PARAM
public static final String UMLSUSER_PARAM
public static final String UMLSPW_PARAM
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class DictionaryLookupAnnotator
org.apache.uima.resource.ResourceInitializationException
public static boolean isValidUMLSUser(String umlsaddr, String vendor, String username, String password) throws Exception
Exception
public static org.apache.uima.analysis_engine.AnalysisEngineDescription createAnnotatorDescription() throws org.apache.uima.resource.ResourceInitializationException, MalformedURLException
org.apache.uima.resource.ResourceInitializationException
MalformedURLException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.