Provide fast word suggestions from stdin using fuzzy search based damerau-levenshtein.
Provide fast word suggestions from stdin using fuzzy search based damerau-levenshtein.
USAGE:
suggest [optional-params] [args: string...]
OPTIONS:
-h, --help print help
-d=, --distance= int 4 max number of transpositions to match
-n=, --num= int 10 max number of matches-
Install Nim v2.0 using choosenim to
~/.choosenimcurl https://nim-lang.org/choosenim/init.sh -sSf | sh -
install executable
suggestto~/.nimble/binnimble install -
Make sure
$PATHcontains~/.nimble/bin
By default, Nim builds dynamically linked binaries using the glibc version present on the OS where those binaries are built.
Building fully static and cross-compiled musl binaries is possible using nim2-buildroot-toolchain, which provide a fully automated toolchain using docker and buildroot.