Function osa_distance
fn osa_distance(a: &str, b: &str) -> usize
Like Levenshtein but allows for adjacent transpositions. Each substring can only be edited once.
use osa_distance;
assert_eq!;
osa_distancefn osa_distance(a: &str, b: &str) -> usize
Like Levenshtein but allows for adjacent transpositions. Each substring can only be edited once.
use osa_distance;
assert_eq!;