From afd225048ad45154ff74edf4a4a2b2d9d282110d Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 21 Feb 2018 22:17:01 -0500 Subject: [PATCH] [fix] DICTIONARY_STREET_NAME applies only to the street component, unlike synonyms, which would apply to any compnoent. This makes street names a good place to add synonyms found in streets that are not exactly thoroughfare types i.e. could not be removed from the string and have it retain more or less the same meaning. --- src/gazetteer_data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gazetteer_data.c b/src/gazetteer_data.c index 444c225e..9ddf099d 100644 --- a/src/gazetteer_data.c +++ b/src/gazetteer_data.c @@ -34,6 +34,7 @@ gazetteer_t gazetteer_config[] = { {DICTIONARY_QUALIFIER, LIBPOSTAL_ADDRESS_STREET}, {DICTIONARY_STAIRCASE, LIBPOSTAL_ADDRESS_STAIRCASE}, {DICTIONARY_STOPWORD, LIBPOSTAL_ADDRESS_ANY}, + {DICTIONARY_STREET_NAME, LIBPOSTAL_ADDRESS_STREET}, {DICTIONARY_STREET_TYPE, LIBPOSTAL_ADDRESS_STREET}, {DICTIONARY_SURNAME, LIBPOSTAL_ADDRESS_STREET | LIBPOSTAL_ADDRESS_NAME}, {DICTIONARY_SYNONYM, LIBPOSTAL_ADDRESS_ANY},