public abstract class AbstractRareWordDictionary extends java.lang.Object implements RareWordDictionary
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_name |
Constructor and Description |
---|
AbstractRareWordDictionary(java.lang.String name) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRareWordHits
public AbstractRareWordDictionary(java.lang.String name)
name
- simple name for the dictionarypublic java.lang.String getName()
getName
in interface RareWordDictionary
public java.util.Collection<RareWordTerm> getRareWordHits(FastLookupToken fastLookupToken)
getRareWordHits
in interface RareWordDictionary
fastLookupToken
- a single-word token