Chromium Code Reviews
DescriptionEmbed 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
Committed: https://crrev.com/26ac4e202f50ab9dd60117c529479a14cd3640e8
Cr-Commit-Position: refs/heads/master@{#404431}
Patch Set 1 #Messages
Total messages: 8 (2 generated)
|