Class SpellCheckerJMySpell

    • Constructor Summary

      Constructors 
      Constructor Description
      SpellCheckerJMySpell​(java.lang.String dictionaryName, java.lang.String affixName)  
    • 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
    • Constructor Detail

      • SpellCheckerJMySpell

        public SpellCheckerJMySpell​(java.lang.String dictionaryName,
                                    java.lang.String affixName)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception