public final class UmlsJdbcRareWordDictionary extends Object implements RareWordDictionary
Constructor and Description |
---|
UmlsJdbcRareWordDictionary(String name,
org.apache.uima.UimaContext uimaContext,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
The Type identifier and Name are used to maintain a collection of dictionaries,
so the combination of Type and Name should be unique for each dictionary if possible.
|
Collection<RareWordTerm> |
getRareWordHits(FastLookupToken fastLookupToken)
Any single token can exist in zero or more terms in the dictionary.
|
Collection<RareWordTerm> |
getRareWordHits(String rareWordText)
Get all terms within the dictionary that contain a given rare word
|
public UmlsJdbcRareWordDictionary(String name, org.apache.uima.UimaContext uimaContext, Properties properties) throws SQLException
SQLException
public String getName()
getName
in interface RareWordDictionary
public Collection<RareWordTerm> getRareWordHits(FastLookupToken fastLookupToken)
getRareWordHits
in interface RareWordDictionary
fastLookupToken
- a single-word tokenpublic Collection<RareWordTerm> getRareWordHits(String rareWordText)
getRareWordHits
in interface RareWordDictionary
rareWordText
- text of the rare wordrareWordText
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.