From 0162194dbc4dc810ace0471c714fb5b2d420faf5 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 28 Mar 2016 17:41:43 -0400 Subject: [PATCH] [dictionaries] Adding dictionary type enums to the generator script --- .../address_expansions/address_dictionaries.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/scripts/geodata/address_expansions/address_dictionaries.py b/scripts/geodata/address_expansions/address_dictionaries.py index 5def9af2..50faacd7 100644 --- a/scripts/geodata/address_expansions/address_dictionaries.py +++ b/scripts/geodata/address_expansions/address_dictionaries.py @@ -72,9 +72,15 @@ gazetteer_types = { 'concatenated_suffixes_separable': 'DICTIONARY_CONCATENATED_SUFFIX_SEPARABLE', 'directionals': 'DICTIONARY_DIRECTIONAL', 'elisions': 'DICTIONARY_ELISION', + 'entrance': 'DICTIONARY_ENTRANCE', 'given_names': 'DICTIONARY_GIVEN_NAME', - 'level_types': 'DICTIONARY_LEVEL', - 'no_number': 'DICTIONARY_NO_ADDRESS', + 'house_number': 'DICTIONARY_HOUSE_NUMBER', + 'level_types_basement': 'DICTIONARY_LEVEL_BASEMENT', + 'level_types_mezzanine': 'DICTIONARY_LEVEL_MEZZANINE', + 'level_types_numbered': 'DICTIONARY_LEVEL_NUMBERED', + 'level_types_standalone': 'DICTIONARY_LEVEL_STANDALONE', + 'level_types_sub_basement': 'DICTIONARY_LEVEL_SUB_BASEMENT', + 'no_number': 'DICTIONARY_NO_NUMBER', 'nulls': 'DICTIONARY_NULL', 'organizations': 'DICTIONARY_NAMED_ORGANIZATION', 'people': 'DICTIONARY_NAMED_PERSON', @@ -83,12 +89,15 @@ gazetteer_types = { 'place_names': 'DICTIONARY_PLACE_NAME', 'post_office': 'DICTIONARY_POST_OFFICE', 'qualifiers': 'DICTIONARY_QUALIFIER', + 'staircase': 'DICTIONARY_STAIRCASE', 'stopwords': 'DICTIONARY_STOPWORD', 'street_types': 'DICTIONARY_STREET_TYPE', 'surnames': 'DICTIONARY_SURNAME', 'synonyms': 'DICTIONARY_SYNONYM', 'toponyms': 'DICTIONARY_TOPONYM', - 'unit_types': 'DICTIONARY_UNIT', + 'unit_direction': 'DICTIONARY_UNIT_DIRECTION', + 'unit_types_numbered': 'DICTIONARY_UNIT_NUMBERED', + 'unit_types_standalone': 'DICTIONARY_UNIT_STANDALONE', }