Skip to content

Rust command line tool to filter strings by their Levensthein distance to a search word.

License

Notifications You must be signed in to change notification settings

az82/rust-levenshtein

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Rust command line tool to filter strings by their Levensthein distance to a search word.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages