[Autofill] Rationalize address fields based on sections.
Multiple address fields may belong to multiple sections on a form, and may not mean different address lines, and thus may not need rationalization. Also, multiple address fields may be hidden/visible pairs, and not different lines. While rationalizing address fields, one should consider the sections identified by the heuristics (DetermineHeuristicTypes). These sections are based on the types predicted by heuristics. This way we are merging the two sources of type predictions. Examples are included in the tests. Bug: 835975 Change-Id: I9f3680e69162b6b7d01203bd89773a99e5ca8af7 Reviewed-on: https://chromium-review.googlesource.com/1093796 Commit-Queue: Parastoo Geranmayeh <parastoog@google.com> Reviewed-by:Sebastien Seguin-Gagnon <sebsg@chromium.org> Cr-Commit-Position: refs/heads/master@{#566675}
Showing
This diff is collapsed.
Please register or sign in to comment