pub fn compute(a: &str, b: &str) -> usize
Expand description

Computing the Levenshtein distance between strings.

Examples

let cat = "I Am a Cat";
let dog = "I Am a Dog";

assert_eq!(3, levenshtein::compute(cat, dog));