From: Mischa POSLAWSKY Date: Sun, 1 Feb 2015 07:19:56 +0000 (+0100) Subject: countries: further abbreviations X-Git-Tag: v1.6~50 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/8dcd0ed1c130b759c10b9412b0d494871c223e63 countries: further abbreviations --- diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index 99201b8..4e80697 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -57,7 +57,9 @@ for (values %cc) { s/ islands?\b//gi; s/\bthe //g; s/ and / & /g and s/(?<=.)[a-z ]+//g; - s/\bsaint /st /gi; + s/ of / /g; + s/\bsa?int /st /gi; + s/United /Un. /gi; s/South(?:ern)? /S-/g; s/North(?:ern)? /N-/g; s/New /n./g;