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, stopCaching
public MapBackedDictionaryElementFactory(Dictionary dictionary, java.util.Map<java.lang.String,Param> params)
public Synset createSynset(POS pos) throws JWNLException
DictionaryElementFactory
createSynset
in interface DictionaryElementFactory
createSynset
in class AbstractDictionaryElementFactory
pos
- part of speechJWNLException
- JWNLException