Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.05 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.05 KB

Levensthein Distance In Rust

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.

Build

cargo build

Usage

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 

See also

Status

Build Status