Class AbstractCachingDictionary

    • Constructor Detail

      • AbstractCachingDictionary

        protected AbstractCachingDictionary()
      • AbstractCachingDictionary

        protected AbstractCachingDictionary​(boolean enableCaching)
      • AbstractCachingDictionary

        protected AbstractCachingDictionary​(MorphologicalProcessor morph,
                                            boolean enableCaching)
    • Method Detail

      • isCachingEnabled

        public boolean isCachingEnabled()
      • setCachingEnabled

        public void setCachingEnabled​(boolean cachingEnabled)
      • setCacheCapacity

        public void setCacheCapacity​(int size)
      • clearCache

        public void clearCache()
      • cacheIndexWord

        protected void cacheIndexWord​(POSKey key,
                                      IndexWord word)
      • getCachedIndexWord

        protected IndexWord getCachedIndexWord​(POSKey key)
      • cacheSynset

        protected void cacheSynset​(POSKey key,
                                   Synset synset)
      • getCachedSynset

        protected Synset getCachedSynset​(POSKey key)
      • cacheException

        protected void cacheException​(POSKey key,
                                      Exc exception)
      • getCachedException

        protected Exc getCachedException​(POSKey key)