[expand] make street type dictionaries ignorable for venue names as well (many company names mention their address, so sort of have to apply the same rules)
This commit is contained in:
@@ -540,7 +540,7 @@ static inline uint32_t gazetteer_ignorable_components(uint16_t dictionary_id) {
|
||||
case DICTIONARY_STOPWORD:
|
||||
return LIBPOSTAL_ADDRESS_NAME | LIBPOSTAL_ADDRESS_STREET | LIBPOSTAL_ADDRESS_CATEGORY | LIBPOSTAL_ADDRESS_NEAR | LIBPOSTAL_ADDRESS_TOPONYM;
|
||||
case DICTIONARY_STREET_TYPE:
|
||||
return LIBPOSTAL_ADDRESS_STREET;
|
||||
return LIBPOSTAL_ADDRESS_NAME | LIBPOSTAL_ADDRESS_STREET;
|
||||
case DICTIONARY_UNIT_NUMBERED:
|
||||
return LIBPOSTAL_ADDRESS_UNIT;
|
||||
case DICTIONARY_UNIT_STANDALONE:
|
||||
|
||||
Reference in New Issue
Block a user