No description
Find a file
2024-05-01 03:53:38 -07:00
src formatting and README 2024-05-01 03:51:35 -07:00
.envrc use nix flakes 2023-08-16 12:43:30 -07:00
.gitignore formatting and README 2024-05-01 03:51:35 -07:00
CHANGELOG.md initial commit 2022-12-15 15:48:13 -08:00
flake.lock formatting and README 2024-05-01 03:51:35 -07:00
flake.nix new nix setup and fourmolu 2024-04-15 23:11:46 -07:00
fourmolu.yaml add fourmolu.yaml 2024-04-16 01:53:28 -07:00
LICENSE initial commit 2022-12-15 15:48:13 -08:00
README.md clearify README 2024-05-01 03:53:38 -07:00
spell-checker.cabal add optparse-generic and better type lookupClosest 2024-04-20 21:21:23 -07:00
words.txt initial commit 2022-12-15 15:48:13 -08:00

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"