Jaro-Winkler distance: Difference between revisions

Content added Content deleted
m (remove spaces, redo output)
(→‎{{header|Wren}}: Fixed a bug in the Jaro similarity routine.)
Line 710: Line 710:
}
}
}
}
transpos = (transpos/2).floor
transpos = transpos / 2
return (matches/le1 + matches/le2 + (matches - transpos)/matches) / 3
return (matches/le1 + matches/le2 + (matches - transpos)/matches) / 3
}
}
Line 780: Line 780:
Misspelt word: publically:
Misspelt word: publically:
0.0800 public
0.0800 public
0.1325 pullback
0.1327 publication
0.1327 publication
0.1400 pull
0.1400 pull
0.1492 pullback


Misspelt word: recieve:
Misspelt word: recieve:
Line 796: Line 796:
0.0917 separate
0.0917 separate
0.1042 temperate
0.1042 temperate
0.1048 repartee
0.1167 selenate
0.1167 selenate
0.1167 sept
0.1167 sept
0.1167 sewerage


Misspelt word: untill:
Misspelt word: untill: