#levenshtein #distance #algorithm

yanked levenshtein-rs

Levenshtein distance algorithm

0.1.1 Jul 20, 2022
0.1.0 Aug 6, 2020

#55 in #levenshtein

MIT license

3KB

⚠️ This crate has been moved to levenshtein-distance.

levenshtein-rs

Provides the Levenshtein distance algorithm for Rust.

Usage

[dependencies]
levenshtein-rs = "0.1.0"
use levenshtein_rs::compute;

fn main() {
    let cat = "I Am a Cat";
    let dog = "I Am a Dog";
    println!("{}", compute(cat, dog));
    // -> 3
}

License

MIT

No runtime deps