public interface RareWordDictionary
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.util.Collection<RareWordTerm> |
getRareWordHits(FastLookupToken fastLookupToken)
Any single token can exist in zero or more terms in the dictionary.
|
java.util.Collection<RareWordTerm> |
getRareWordHits(java.lang.String rareWordText)
Get all terms within the dictionary that contain a given rare word
|
java.lang.String getName()
java.util.Collection<RareWordTerm> getRareWordHits(FastLookupToken fastLookupToken)
fastLookupToken
- a single-word tokenjava.util.Collection<RareWordTerm> getRareWordHits(java.lang.String rareWordText)
rareWordText
- text of the rare wordrareWordText