Crate spelling[−][src]
use spelling::spellcheck; let dictionary_string = include_str!("words.txt"); // newline separated spellcheck(dictionary_string, "restaraunt", 3);
This uses the Levenshtein distance as the heuristic for distance.
Functions
spellcheck | Takes a |