Class DictionarySpellMatchFilter.PhraseSearchLoader

java.lang.Object
com.google.common.cache.CacheLoader<UserConfig,com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String>>
org.languagetool.rules.DictionarySpellMatchFilter.PhraseSearchLoader
Enclosing class:
DictionarySpellMatchFilter

private static class DictionarySpellMatchFilter.PhraseSearchLoader extends com.google.common.cache.CacheLoader<UserConfig,com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String>>
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader

    com.google.common.cache.CacheLoader.InvalidCacheLoadException, com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String>
     

    Methods inherited from class com.google.common.cache.CacheLoader

    asyncReloading, from, from, loadAll, reload

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PhraseSearchLoader

      private PhraseSearchLoader()
  • Method Details

    • load

      public com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String> load(UserConfig key) throws Exception
      Specified by:
      load in class com.google.common.cache.CacheLoader<UserConfig,com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<String>>
      Throws:
      Exception