Chromium Code Reviews
Description[Merge M53] Embed address normalization rewriting rules.
This CL adds a table of string rewrite rules, keyed by country
code, to aid in address normalization when comparing autofill
profiles.
The rules for each country code are stored as static constant
string tables and compiled to regular expression replacement
params on first use, and subsequently cached.
The address rewriting rules are applied when comparing and
merging the state, city, and street address of a profile to
correct for synonyms, abbreviations, and some common mispellings.
R=mathp@chromium.org, sebsg@chromium.org
BUG=618095
Review-Url: https://codereview.chromium.org/2137533002
Cr-Commit-Position: refs/heads/master@{#404431}
(cherry picked from commit 26ac4e202f50ab9dd60117c529479a14cd3640e8)
Committed: https://chromium.googlesource.com/chromium/src/+/6852939d9b7f156119f01c5b95542d939665c37a
Patch Set 1 #Messages
Total messages: 2 (1 generated)
|