353 B
353 B
Spell Checker
This tool suggests the word with the smallest edit distance in the word list using a prefix tree. It doesn't yet support suggesting multiple words.
to run
with Cabal
cabal run . -- --word "bril" --wordsPath "/usr/share/dict/words"
with Nix
nix run . -- --word "bril" --wordsPath "/usr/share/dict/words"