countries: further abbreviations
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 1 Feb 2015 07:19:56 +0000 (08:19 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 1 Feb 2015 17:34:57 +0000 (18:34 +0100)
tools/mkcountries-geonames

index 99201b8..4e80697 100755 (executable)
@@ -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;