public class MapBackedDictionaryElementFactory extends MapDictionaryElementFactory
CACHE_STRINGS_KEY, cacheStrings, dictionary, maxOffset, stringCache| Constructor and Description |
|---|
MapBackedDictionaryElementFactory(Dictionary dictionary,
java.util.Map<java.lang.String,Param> params) |
| Modifier and Type | Method and Description |
|---|---|
Synset |
createSynset(POS pos)
Creates synset of the specified part of speech.
|
createException, createIndexWord, createNewOffset, createWord, getDictionary, initVerbFrameFlags, setDictionary, startCaching, stopCachingpublic MapBackedDictionaryElementFactory(Dictionary dictionary, java.util.Map<java.lang.String,Param> params)
public Synset createSynset(POS pos) throws JWNLException
DictionaryElementFactorycreateSynset in interface DictionaryElementFactorycreateSynset in class AbstractDictionaryElementFactorypos - part of speechJWNLException - JWNLException