code: public synchronized boolean spell(String word) {
          requireValidHandle();
          if (!isValidInput(word)) {
              return false;
          }
          int spellResult = getLib().voikkoSpellCstr(handle, s2n(word));
          return (spellResult == Libvoikko.VOIKKO_SPELL_OK);
      }
docs: Check the spelling of given word.
  @param word
  @return true if the word is correct, false if it is incorrect.