This is a small educational project for teaching Rust. It contains a command line tool that filters strings by their Levensthein distance to a search word.
This project is licensed under the terms of the MIT license.
cargo build
Serial processing:
./target/debug/rust-levensthein house <<EOT
tree
flower
mouse
EOT
Parallel processing:
./target/debug/rust-levensthein -p house <<EOT
tree
flower
mouse
EOT
Online help:
./target/debug/rust-levensthein --help
dwyl/english-words provides a suitable list of English words:
curl https://raw.githubusercontent.com/dwyl/english-words/master/words.txt --output words.txt
./target/debug/rust-levensthein rustlang -d2 -p < words.txt