LinuxSpellChecker
Linux implementation of NativeSpellChecker using Hunspell.
Hunspell is the most widely used spell checker on Linux systems. It's used by LibreOffice, Firefox, Chrome, and many other applications.
Dictionary files are searched in standard locations:
/usr/share/hunspell/
/usr/share/myspell/
~/.local/share/hunspell/
User dictionaries are stored in ~/.local/share/hunspell/{lang}_user.dic
Reference: https://github.com/hunspell/hunspell
Properties
Functions
Adds a word to the user dictionary.
Checks the spelling of the provided text.
Gets spelling suggestions for a misspelled word.
Ignores a word for this session.
Checks if a single word is spelled correctly.
Removes a word previously added via addToDictionary. Best-effort: platforms whose native API does not expose a remove operation should log a warning and no-op.