Module datafusion_strsim

Source
Expand description

Adopted from strsim-rs for string similarity metrics

Functionsยง

levenshtein
Calculates the minimum number of insertions, deletions, and substitutions required to change one string into the other.
normalized_levenshtein
Calculates the normalized Levenshtein distance between two strings. The normalized distance is a value between 0.0 and 1.0, where 1.0 indicates that the strings are identical and 0.0 indicates no similarity.