clearify README

This commit is contained in:
Jack Wines 2024-05-01 03:53:38 -07:00
parent f029f9e255
commit 985d3981ec
No known key found for this signature in database
GPG key ID: 25B20640600571E6

View file

@ -2,10 +2,14 @@
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
``` sh
cabal run . -- --word "bril" --wordsPath "/usr/share/dict/words"
```
## with Nix
``` sh
nix run . -- --word "bril" --wordsPath "/usr/share/dict/words"
```