From 69078027d103bde06be6402a3ddbfce673478da4 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 16 May 2016 09:55:59 -0400 Subject: [PATCH] [boundaries] Adding prefix/suffix replacements for English and Spanish --- resources/boundaries/names/languages/en.yaml | 10 ++++++++++ resources/boundaries/names/languages/es.yaml | 2 ++ 2 files changed, 12 insertions(+) diff --git a/resources/boundaries/names/languages/en.yaml b/resources/boundaries/names/languages/en.yaml index 3abfa21e..83879ec7 100644 --- a/resources/boundaries/names/languages/en.yaml +++ b/resources/boundaries/names/languages/en.yaml @@ -1,4 +1,5 @@ # Prefixes which can be stripped to normalize a place name +# Note these will be stripped off the front at random, not every time prefixes: - city of - township of @@ -7,9 +8,18 @@ prefixes: - municipality of - borough of - london borough of + - royal borough of - shire of + - parish of + - free state of + - autonomous city of + - territorial waters of + - county of + - county + - district of # Suffixes which can be stripped to normalize a place name suffixes: - township - municipality + - city \ No newline at end of file diff --git a/resources/boundaries/names/languages/es.yaml b/resources/boundaries/names/languages/es.yaml index 21576254..3fa3e211 100644 --- a/resources/boundaries/names/languages/es.yaml +++ b/resources/boundaries/names/languages/es.yaml @@ -1,6 +1,8 @@ prefixes: # Note: "ciudad de" should not be included as it's part of proper names - colonia + - municipio nuestra senora de + - ciudad de suffixes: