From 71afcafe1147d30450e3be4a6a3be61daac28926 Mon Sep 17 00:00:00 2001 From: Al Date: Sun, 22 Nov 2015 17:46:56 -0500 Subject: [PATCH] [fix] key names --- scripts/geodata/osm/osm_address_training_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/geodata/osm/osm_address_training_data.py b/scripts/geodata/osm/osm_address_training_data.py index de8b7b55..1c63894f 100644 --- a/scripts/geodata/osm/osm_address_training_data.py +++ b/scripts/geodata/osm/osm_address_training_data.py @@ -508,9 +508,9 @@ def build_address_format_training_data(admin_rtree, language_rtree, neighborhood raw_name_key = 'name' short_name_key = ''.join(('short_name', suffix)) raw_short_name_key = 'short_name' - alt_name_key = ''.join('alt_name', suffix) + alt_name_key = ''.join(('alt_name', suffix)) raw_alt_name_key = 'alt_name' - official_name_key = ''.join('official_name', suffix) + official_name_key = ''.join(('official_name', suffix)) raw_official_name_key = 'official_name' poly_components = defaultdict(list)