Text jarowinkler - CyrilB1531/lodestar GitHub Wiki
Development build. This page describes
main, not a released package. The latest published Lodestar.Text is 0.6.0 — read its documentation.
JaroWinkler
Jaro with a thumb on the scale for pairs that already start the same way — the usual default for
matching surnames.
Jaro, raised when the two already agree on their first few characters — up to four, at weight
0.1, and only once Jaro is past 0.7. Those three constants are Winkler's own. The bonus
assumes a leading agreement is strong evidence, which holds for surnames and not for arbitrary
text.
Members
| Member | What it does |
|---|---|
JaroWinkler.Similarity |
Computes Jaro.Similarity and then raises it in proportion to how many of the first four |
JaroWinkler.Distance |
1 - Similarity, for code that wants a distance rather than a score. |