You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Jaro Similarity of ed and red is 0, since the number of matching characters (parameter m) is 0.
Furthermore, the length of the common prefix of s1 and s2 (parameter l) is 0.
This results in a Jaro-Winkler Similarity of 0 as
I am trying to use jaro wrinkler similarity to check colors strings coming from user inputted form against a palette of fixed colors.
Using jaro wrinkler similarity, I get these kind of results for very short strings:
s1 = "ed"
-s2 = "red"
->similarity = 0
s1 = "nude"
-s2 = "red"
->similarity = 0.5833333134651184
Is it correct to get
similarity = 0
in the first case?The text was updated successfully, but these errors were encountered: