HunspellLibrary
JNA bindings for the Hunspell spell checking library.
Hunspell is the most widely used spell checker on Linux systems. It's used by LibreOffice, Firefox, Chrome, and many other applications.
Reference: https://github.com/hunspell/hunspell/blob/master/src/hunspell/hunspell.h
Functions
Adds a word to the runtime dictionary. The word is only remembered for this session and not persisted.
Adds a word with affix flags to the runtime dictionary.
Creates a new Hunspell instance from dictionary files.
Creates a new Hunspell instance from dictionary files with a custom key.
Destroys a Hunspell instance and frees all resources.
Frees a list of suggestions returned by Hunspell_suggest.
Gets the dictionary encoding.
Removes a word from the runtime dictionary.
Checks if a word is spelled correctly.
Gets spelling suggestions for a word.