Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(441)

Issue 105920047: Add lookup table in PreloadSupplier for natural and Latin script names. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by roubert (google)
Modified:
9 years, 11 months ago
Base URL:
https://libaddressinput.googlecode.com/svn/trunk
Visibility:
Public.

Description

Add lookup table in PreloadSupplier for natural and Latin script names. Normally the address metadata server takes care of mapping from natural language names to metadata IDs (eg. "São Paulo" -> "SP") and from Latin script names to local script names (eg. "Tokushima" -> "徳島県"). As the PreloadSupplier doesn't contact the metadata server upon each Supply() request, it does instead need to have an internal lookup table that contains such mappings in order to be possible to use to validate addresses that use natural language names or Latin script names. R=rouslan@chromium.org BUG= Committed: https://code.google.com/p/libaddressinput/source/detail?r=286

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -14 lines) Patch
M cpp/include/libaddressinput/preload_supplier.h View 2 chunks +3 lines, -1 line 0 comments Download
M cpp/src/preload_supplier.cc View 9 chunks +96 lines, -13 lines 1 comment Download
M cpp/test/address_validator_test.cc View 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 5
roubert (google)
9 years, 11 months ago (2014-06-17 22:31:06 UTC) #1
Rouslan Solomakhin
LGTM, thank you!
9 years, 11 months ago (2014-06-17 22:41:53 UTC) #2
roubert (google)
Committed patchset #1 manually as r286 (presubmit successful).
9 years, 11 months ago (2014-06-17 22:50:34 UTC) #3
lararennie
I don't think this is necessarily the right approach, since now we essentially require a ...
9 years, 11 months ago (2014-06-18 08:02:01 UTC) #4
Rouslan Solomakhin
9 years, 11 months ago (2014-06-18 18:32:50 UTC) #5
Message was sent while issue was closed.
Maybe we can make on-demand supplier resolve the natural and Latin script names?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b