levenshtein-distance

Crates.iolevenshtein-distance
lib.rslevenshtein-distance
version0.1.1
sourcesrc
created_at2022-07-20 13:47:35.183724
updated_at2022-07-20 13:47:35.183724
descriptionLevenshtein distance algorithm
homepage
repositoryhttps://github.com/kenkyu392/levenshtein-distance.rs
max_upload_size
id628873
size3,928
NONAME (kenkyu392)

documentation

README

levenshtein-distance.rs

Provides the Levenshtein distance algorithm for Rust.

Usage

[dependencies]
levenshtein-distance = "0.1.1"
use levenshtein_distance::compute;

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

License

MIT

Commit count: 0

cargo fmt