Package com.codename1.spellcheck


package com.codename1.spellcheck

Spelling and grammar checking.

SpellChecker checks words against a Hunspell dictionary (HunspellDictionary) or the platform's own checker. Using it is what makes the build add dictionaries to an application: one per language of the spellcheck.languages build hint, read back with SpellChecker.forLanguage. GrammarChecker runs pluggable rules, and a Proofreader combines the two for an editor such as com.codename1.wordprocessing.DocumentView.

  • Class
    Description
    Checks text against a list of grammar and style rules.
    One check over a text.
    A Hunspell dictionary -- an .aff affix file and a .dic word list -- read for spelling checks and suggestions.
    A spelling or grammar problem in a run of text: its character range, a message and the suggested replacements, best first.
    Spelling and grammar checks together, as a DocumentView uses them to underline problems.
    Checks the spelling of words and text.