Other items intriple_accel::levenshtein
pub fn levenstein_naive_str(a: &str, b: &str) -> u32
Returns the Levenshtein distance between two strings using the naive scalar algorithm.
a
b
let dist = levenstein_naive_str("abc", "ab"); assert!(dist == 1);