Calculates the normalized OSA distance between two strings.
Usage
osa_normalized_distance(s1, s2, score_cutoff = 1)
Arguments
- s1
A string to compare.
- s2
Another string to compare.
- score_cutoff
A threshold for the normalized distance score (default is 1.0).
Value
A double representing the normalized distance score.
Examples
osa_normalized_distance("string1", "string2")
#> [1] 0.1428571