osa_normalized_distance {RapidFuzz} | R Documentation |
Normalized Distance Using OSA
Description
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")
[Package RapidFuzz version 1.0 Index]