spell-checker/README.md
2024-05-01 03:53:38 -07:00

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"