Tools › Numerical Methods › Data Tools › Fuzzy Duplicate Finder › Example
Jaro and Jaro-Winkler by hand: MARHTA and MARTHA from the Census Bureau's table of string comparators
| Tool | Fuzzy Duplicate Finder |
| Source | Winkler, W. E. (1994). Advanced Methods for Record Linkage. Statistical Research Report RR94/05, U.S. Bureau of the Census, Washington, DC. Equation 2.1 and Table 2.1. |
| Level | Undergraduate |
Problem
Table 2.1 of the report lists the Jaro and Winkler string comparator values of 26 pairs of names. Reproduce the row MARHTA / MARTHA (0.944 and 0.961) by hand and with the tool, and compare with the Levenshtein similarity.
Inputs to Enter
- Two records, one per line: MARHTA and MARTHA
- Measure Jaro-Winkler, threshold 0.90
Answers
- Search range floor(6/2) − 1 = 2; all six characters are common (m = 6); in order they read MARHTA and MARTHA, 2 positions differ, t = 1
- Jaro = (6/6 + 6/6 + 5/6)/3 = 0.9444 (book 0.944)
- Common prefix MAR, L = 3: Jaro-Winkler = 0.9444 + 3 × 0.1 × (1 − 0.9444) = 0.9611 (book 0.961)
- Levenshtein distance 2, similarity 1 − 2/6 = 0.6667: the pair is linked at 0.90 by Jaro-Winkler and not by Levenshtein
- Other rows of the table from the same formulas: SHACKLEFORD / SHACKELFORD 0.970 and 0.982; JONES / JOHNSON 0.790 and 0.832; DWAYNE / DUANE 0.822 and 0.840
Notes
Paste the two names into the list box and press Submit; the section One Pair Worked in Full shows these steps. The tool reproduces the Jaro and Wink columns of all 24 pairs of four or more characters to the three printed digits (test_fuzzy_duplicate_finder.php). The table prints 0.000 for JON / JAN and 1ST / IST because the Census routine returns zero for strings shorter than four characters; the tool applies the formula at every length and gives 0.778 and 0.800 for JON / JAN.
More Examples for This Tool
- Near-duplicate supplier names: 47 rows fall into 15 groups at a Jaro-Winkler similarity of 0.90
- A threshold set too low: ten different names chained into one group
- The same list with strict groups: every pair inside a group at or above the threshold
- Names with the words in another order: the token-set measure against Jaro-Winkler
- Matching two lists by name where the city must agree: 13 of 18 customers found in the vendor file