Interface ISpellCheckerDictionary

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
AbstractHunspellDictionary, AbstractMorfologikDictionary

public interface ISpellCheckerDictionary extends Closeable
  • Method Details

    • getHunspellDictionary

      @Nullable default org.apache.lucene.analysis.hunspell.Dictionary getHunspellDictionary(String language)
      Get Hunspell dictionary.
      Returns:
      Dictionary object when the language module has. Otherwise, null.
    • getMorfologikDictionary

      @Nullable default morfologik.stemming.Dictionary getMorfologikDictionary(String language)
      Get Morfologik dictionary.
      Returns:
      Dictionary object when the language module has. Otherwise, null.
    • installHunspellDictionary

      @Nullable default @Nullable Path installHunspellDictionary(Path dictionaryDir, String language)
    • getDictionaryType

      SpellCheckDictionaryType getDictionaryType()
      Get a dictionary type.
      Returns:
      type of dictionary. If the module provides nothing, return null.