D20479: Normalize country names more aggressively for ISO code lookup

Volker Krause noreply at phabricator.kde.org
Fri Apr 12 07:34:47 BST 2019


vkrause created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
vkrause requested review of this revision.

REVISION SUMMARY
  Without increasing the number of ambiguities this makes the country
  detection a bit more robust and shrinks the database by about 50kB/10%.
  
  While stripping non-letters and diacritic marks in Latin is fairly
  straightforward and predictable, the results were less helpful in e.g.
  Hangul, therefore the fairly fine-grained approach.
  
  This requires the country name lookup table to be regenerated, which is
  omitted in this review for clarity (it's a 95k line diff).

REPOSITORY
  R174 PIM: KContacts

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D20479

AFFECTED FILES
  autotests/addresstest.cpp
  src/CMakeLists.txt
  src/address.cpp
  src/countrytoisomap_p.cpp
  src/countrytoisomap_p.h
  src/generator/CMakeLists.txt
  src/generator/main.cpp

To: vkrause
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190412/f9817bc1/attachment.html>


More information about the kde-pim mailing list