Module spell

Source

Modules§

hunspell

Structs§

FstDictionary
An immutable dictionary allowing for very fast spellchecking.
FuzzyMatchResult
MergedDictionary
A simple wrapper over Dictionary that allows one to merge multiple dictionaries without copying.
MutableDictionary
A basic dictionary that allows words to be added after instantiating. This is useful for user and file dictionaries that may change at runtime.

Traits§

Dictionary
An in-memory database that contains everything necessary to parse and analyze English text.

Functions§

suggest_correct_spelling
Get the closest matches in the provided Dictionary and rank them Implementation is left up to the underlying dictionary.
suggest_correct_spelling_str
Convenience function over suggest_correct_spelling that does conversions for you.