Class SpellCheckerLangToolHunspell

  • All Implemented Interfaces:
    ISpellCheckerProvider

    public class SpellCheckerLangToolHunspell
    extends java.lang.Object
    implements ISpellCheckerProvider
    A thin wrapper around the LanguageTool Hunspell implementation (which itself wraps native libs)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()
      Destroy checker.
      boolean isCorrect​(java.lang.String word)
      Check is word correct.
      void learnWord​(java.lang.String word)
      Add a word to the list of correct words
      java.util.List<java.lang.String> suggest​(java.lang.String word)
      return a list of strings as suggestions
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait