[osm] Updating formatting config for all the languages/countries currently implemented
This commit is contained in:
@@ -109,8 +109,8 @@ languages:
|
|||||||
entrance_after_house_number:
|
entrance_after_house_number:
|
||||||
after: house_number
|
after: house_number
|
||||||
probability: 0.8
|
probability: 0.8
|
||||||
entrance_before_house:
|
entrance_after_house:
|
||||||
before: house
|
after: house
|
||||||
probability: 0.2
|
probability: 0.2
|
||||||
conditional:
|
conditional:
|
||||||
- component: building
|
- component: building
|
||||||
@@ -123,11 +123,10 @@ languages:
|
|||||||
# e.g. 123 East 45th St, Staircase C, NYC
|
# e.g. 123 East 45th St, Staircase C, NYC
|
||||||
staircase_after_house_number:
|
staircase_after_house_number:
|
||||||
after: house_number
|
after: house_number
|
||||||
probability: 0.8
|
probability: 0.9
|
||||||
# e.g. Floor 1, Da Vinci House, 44 Saffron Hill, London
|
staircase_after_house:
|
||||||
staircase_before_house:
|
after: house
|
||||||
before: house
|
probability: 0.1
|
||||||
probability: 0.2
|
|
||||||
conditional:
|
conditional:
|
||||||
- component: entrance
|
- component: entrance
|
||||||
probabilities:
|
probabilities:
|
||||||
@@ -174,12 +173,9 @@ languages:
|
|||||||
probability: 0.99
|
probability: 0.99
|
||||||
|
|
||||||
unit:
|
unit:
|
||||||
unit_before_house:
|
|
||||||
before: house
|
|
||||||
probability: 0.1
|
|
||||||
unit_after_house_number:
|
unit_after_house_number:
|
||||||
after: house_number
|
after: house_number
|
||||||
probability: 0.8
|
probability: 0.9
|
||||||
unit_before_road:
|
unit_before_road:
|
||||||
before: road
|
before: road
|
||||||
probability: 0.1
|
probability: 0.1
|
||||||
@@ -342,26 +338,133 @@ languages:
|
|||||||
before: level
|
before: level
|
||||||
probability: 0.01
|
probability: 0.01
|
||||||
|
|
||||||
|
# Spanish
|
||||||
es:
|
es:
|
||||||
insertions: *continental_european_template_insertions
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# French - exceptions for countries (including France itself) below
|
||||||
|
fr:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Portuguese
|
||||||
|
pt:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Italian
|
||||||
|
it:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# German
|
||||||
de:
|
de:
|
||||||
insertions: *continental_european_template_insertions
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Dutch
|
||||||
nl:
|
nl:
|
||||||
insertions: *continental_european_template_insertions
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Danish
|
||||||
da:
|
da:
|
||||||
insertions: *continental_european_template_insertions
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
countries:
|
# Swedish
|
||||||
# Hungary, e.g. 1075, Budapest Kazinczy utca 14
|
sv:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Norwegian
|
||||||
|
nb:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Polish
|
||||||
|
pl:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Russian
|
||||||
|
ru:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Czech
|
||||||
|
cs:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Slovakian
|
||||||
|
sk:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Estonian
|
||||||
|
et:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Finnish
|
||||||
|
fi:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Romanian
|
||||||
|
ro:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Hungarian
|
||||||
hu:
|
hu:
|
||||||
insertions:
|
insertions:
|
||||||
|
<<: *continental_european_template_insertions
|
||||||
|
# e.g. 1075, Budapest Kazinczy utca 14
|
||||||
postcode:
|
postcode:
|
||||||
postcode_before_city:
|
postcode_before_city:
|
||||||
probability: 0.5
|
probability: 0.5
|
||||||
|
|
||||||
|
# Ukrainian
|
||||||
|
uk:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Lithuanian
|
||||||
|
lt:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Latvian
|
||||||
|
lv:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Serbian
|
||||||
|
sr:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Croatian
|
||||||
|
hr:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Slovenian
|
||||||
|
sl:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Bosnian
|
||||||
|
bs:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Hebrew - Israel basically uses the same format as continental Europe
|
||||||
|
he:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Basque
|
||||||
|
eu:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Catalan
|
||||||
|
ca:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Bulgarian
|
||||||
|
bg:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Greek
|
||||||
|
el:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
# Icelandic
|
||||||
|
is:
|
||||||
|
insertions: *continental_european_template_insertions
|
||||||
|
|
||||||
|
countries:
|
||||||
|
|
||||||
# Malaysia (islands are bigger than states)
|
# Malaysia (islands are bigger than states)
|
||||||
my:
|
my:
|
||||||
admin_components:
|
admin_components:
|
||||||
@@ -376,7 +479,7 @@ countries:
|
|||||||
before:
|
before:
|
||||||
- country
|
- country
|
||||||
|
|
||||||
us:
|
us: &us_template_insertions
|
||||||
insertions:
|
insertions:
|
||||||
level:
|
level:
|
||||||
# e.g. 123 East 45th St, 6th Floor, NYC
|
# e.g. 123 East 45th St, 6th Floor, NYC
|
||||||
@@ -418,6 +521,38 @@ countries:
|
|||||||
before: level
|
before: level
|
||||||
probability: 0.01
|
probability: 0.01
|
||||||
|
|
||||||
|
# American Samoa
|
||||||
|
as:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# Federated States of Micronesia
|
||||||
|
fm:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# Guam
|
||||||
|
gu:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# Marshall Islands
|
||||||
|
mh:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# Northern Mariana Islands
|
||||||
|
mp:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# Puerto Rico
|
||||||
|
pr:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# U.S. Minor Outlying Islands
|
||||||
|
um:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# U.S. Virgin Islands
|
||||||
|
vi:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
fr:
|
fr:
|
||||||
insertions: &france_template_insertions
|
insertions: &france_template_insertions
|
||||||
<<: *english_template_insertions
|
<<: *english_template_insertions
|
||||||
@@ -484,6 +619,10 @@ countries:
|
|||||||
before: road
|
before: road
|
||||||
probability: 0.001
|
probability: 0.001
|
||||||
|
|
||||||
|
# Andorra, uses same template as France
|
||||||
|
ad_ca:
|
||||||
|
insetions: *france_template_insertions
|
||||||
|
|
||||||
# Algeria
|
# Algeria
|
||||||
dz_fr:
|
dz_fr:
|
||||||
insertions: *france_template_insertions
|
insertions: *france_template_insertions
|
||||||
@@ -503,3 +642,38 @@ countries:
|
|||||||
# Tunisia
|
# Tunisia
|
||||||
tn_fr:
|
tn_fr:
|
||||||
insertions: *france_template_insertions
|
insertions: *france_template_insertions
|
||||||
|
|
||||||
|
# China
|
||||||
|
cn:
|
||||||
|
insertions: {}
|
||||||
|
|
||||||
|
cn_en:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# Hong Kong
|
||||||
|
hk:
|
||||||
|
insertions: {}
|
||||||
|
|
||||||
|
hk_en:
|
||||||
|
insertions: *english_template_insertions
|
||||||
|
|
||||||
|
# Taiwan
|
||||||
|
tw:
|
||||||
|
insertions: {}
|
||||||
|
|
||||||
|
en_tw:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# Japan
|
||||||
|
jp:
|
||||||
|
insertions: {}
|
||||||
|
|
||||||
|
en_jp:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|
||||||
|
# South Korea
|
||||||
|
kr:
|
||||||
|
insertions: {}
|
||||||
|
|
||||||
|
en_kr:
|
||||||
|
insertions: *us_template_insertions
|
||||||
|
|||||||
Reference in New Issue
Block a user