Crate spellcheck_toy

Crate spellcheck_toy 

Source

Structs§

Dict
Dict is a spellchecking dictionar, that returns suggested words with levenstein distance 1 or 2 using it’s Dict::correction method. It defaults to using the ASCII_LOWERCASE alphabet for it’s edits; see stringedits::Edit for more details on alphabets & edits. All values in the dictionary are nonnegative integers; index access does not panic on a missing key, but instead returns zero. The default alphabet is ASCII_LOWERCASE; that is, ‘a..=z’

Enums§

IOError

Constants§

ASCII_LOWERCASE
the ascii characters from ‘a’..=‘z’

Type Aliases§

Result
A Result type with IOError