Commit fc87424
committed
feat(deduplication): ignore periods when comparing names
This is a small extension to our deduplication logic so that periods in
names will be ignored when comparing for dedupication.
For example, a query for `3929 St Marks Avenue, Niagara Falls, ON,
Canada` returns two duplicate addresses from OpenAddresses. One is
sourced from a countrywide dataset, and another a regional dataset. One
has a period after the abbreviation for Saint, one doesn't.
We should probably evaluate ignoring most or all punctuation, but this
fixes a somewhat common case for now.1 parent f0e1b14 commit fc87424
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| 740 | + | |
740 | 741 | | |
741 | 742 | | |
742 | 743 | | |
| |||
0 commit comments