[][src]Crate spellcheck_toy

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 Definitions

Result

A Result type with IOError