clearify README
This commit is contained in:
parent
f029f9e255
commit
985d3981ec
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue