[merge]
This commit is contained in:
@@ -29,4 +29,4 @@ countries:
|
||||
# Always do this as there are plenty of examples of block numbers without house number
|
||||
combine_block_house_number_probability: 1.0
|
||||
block_phrase_probability: 0.4
|
||||
romaji_probability: 0.2
|
||||
romaji_probability: 0.2
|
||||
|
||||
@@ -154,6 +154,7 @@ class OSMAddressFormatter(object):
|
||||
language = random.choice(namespaced)
|
||||
lang_suffix = ':{}'.format(language)
|
||||
for k in tags:
|
||||
|
||||
if k.endswith(lang_suffix):
|
||||
tags[k.rstrip(lang_suffix)] = tags[k]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user