Tools › Numerical Methods › Data Tools › Fuzzy Duplicate Finder › Example
Near-duplicate supplier names: 47 rows fall into 15 groups at a Jaro-Winkler similarity of 0.90
| Tool | Fuzzy Duplicate Finder |
| Source | Original illustrative list (invented business names). Comparator after Winkler, W. E. (1994). Advanced Methods for Record Linkage. Statistical Research Report RR94/05, U.S. Bureau of the Census, Washington, DC. |
| Level | Undergraduate |
Problem
A supplier list of 47 rows holds the same businesses under several spellings: with and without Co., LLC or Inc., in capitals, with a hyphen, with an accent, with two letters swapped. Group the rows whose names have a Jaro-Winkler similarity of 0.90 or more after case, punctuation, accents and legal suffixes are set aside.
Inputs to Enter
- 47 names, one per line; measure Jaro-Winkler; threshold 0.90; connected groups
- Normalization: case, punctuation, accents and extra spaces ignored; ignored words inc, incorporated, corp, corporation, co, company, llc, llp, lp, ltd, limited, pllc, pc, the, and, of
Answers
- 38 distinct names after normalization; 703 pairs compared; 12 pairs at or above 0.90 and 2 within 0.05 under it
- 15 groups holding 36 of the 47 rows: 1 exact repeat, 8 more the same after normalization, 12 near matches
- Worked pair redfield bearings / redfeild bearings: m = 17 common characters, 2 out of order, t = 1; Jaro = (17/17 + 17/17 + 16/17)/3 = 0.9804; prefix 4; Jaro-Winkler = 0.9804 + 4 × 0.1 × (1 − 0.9804) = 0.9882; Levenshtein similarity 1 − 2/17 = 0.8824
- Groups at thresholds 0.80 / 0.85 / 0.90 / 0.95 / 1.00: 18 / 17 / 15 / 14 / 8
- Near misses: Orchard Hill Plastics / Orchard Park Plastics 0.889; Granite State Hydraulics / Granite Hydraulic Service 0.867
Notes
The tool's default inputs are this case; press Submit, or open /analysis-tools/numerical-methods/data-tools/fuzzy-duplicate-finder/?try=supplier-list. Two of the groups pair names that differ in one word (Lakeshore Coatings with Lakeshore Castings, Westbrook Chemical with Eastbrook Chemical): a group is a set of records to look at, not a finding that they are the same. Checked against an independent Python implementation (test_fuzzy_duplicate_finder.php).
More Examples for This Tool
- Jaro and Jaro-Winkler by hand: MARHTA and MARTHA from the Census Bureau's table of string comparators
- 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