[fix] US insertion config
This commit is contained in:
@@ -409,6 +409,7 @@ languages:
|
|||||||
# e.g. 1075, Budapest Kazinczy utca 14
|
# e.g. 1075, Budapest Kazinczy utca 14
|
||||||
postcode:
|
postcode:
|
||||||
postcode_before_city:
|
postcode_before_city:
|
||||||
|
before: city
|
||||||
probability: 0.5
|
probability: 0.5
|
||||||
|
|
||||||
# Ukrainian
|
# Ukrainian
|
||||||
@@ -479,48 +480,89 @@ countries:
|
|||||||
before:
|
before:
|
||||||
- country
|
- country
|
||||||
|
|
||||||
us: &us_template_insertions
|
us:
|
||||||
insertions:
|
insertions: &us_template_insertions
|
||||||
|
<<: *english_template_insertions
|
||||||
|
entrance:
|
||||||
|
entrance_after_road:
|
||||||
|
after: road
|
||||||
|
probability: 0.8
|
||||||
|
entrance_before_house_number:
|
||||||
|
before: house_number
|
||||||
|
probability: 0.2
|
||||||
|
conditional:
|
||||||
|
- component: building
|
||||||
|
probabilities:
|
||||||
|
# default: 0.8
|
||||||
|
entrance_after_building:
|
||||||
|
after: building
|
||||||
|
probability: 0.2
|
||||||
|
|
||||||
|
staircase:
|
||||||
|
# e.g. 123 East 45th St, Staircase C, NYC
|
||||||
|
staircase_after_road:
|
||||||
|
after: road
|
||||||
|
probability: 0.7
|
||||||
|
# e.g. Da Vinci House, 1st Floor, 44 Saffron Hill, London
|
||||||
|
staircase_before_house_number:
|
||||||
|
before: house_number
|
||||||
|
probability: 0.3
|
||||||
|
conditional:
|
||||||
|
- component: entrance
|
||||||
|
probabilities:
|
||||||
|
# default: 0.1
|
||||||
|
staircase_after_entrance:
|
||||||
|
after: entrance
|
||||||
|
probability: 0.9
|
||||||
|
|
||||||
|
|
||||||
level:
|
level:
|
||||||
# e.g. 123 East 45th St, 6th Floor, NYC
|
# e.g. 123 East 45th St, 6th Floor, NYC
|
||||||
level_after_road:
|
level_after_road:
|
||||||
after: road
|
after: road
|
||||||
probability: 0.875
|
probability: 0.9
|
||||||
# e.g. Floor 1, Da Vinci House, 44 Saffron Hill, London
|
|
||||||
level_before_house:
|
|
||||||
before: house
|
|
||||||
probability: 0.005
|
|
||||||
# e.g. Da Vinci House, 1st Floor, 44 Saffron Hill, London
|
# e.g. Da Vinci House, 1st Floor, 44 Saffron Hill, London
|
||||||
level_before_house_number:
|
level_before_house_number:
|
||||||
before: house_number
|
before: house_number
|
||||||
probability: 0.12
|
probability: 0.1
|
||||||
|
|
||||||
|
conditional:
|
||||||
|
- component: staircase
|
||||||
|
probabilities:
|
||||||
|
# default: 0.4
|
||||||
|
level_after_staircase:
|
||||||
|
after: staircase
|
||||||
|
probability: 0.6
|
||||||
|
- component: entrance
|
||||||
|
probabilities:
|
||||||
|
# default: 0.4
|
||||||
|
level_after_entrance:
|
||||||
|
after: entrance
|
||||||
|
probability: 0.6
|
||||||
|
|
||||||
unit:
|
unit:
|
||||||
# e.g. Flat 18, Da Vinci House, 44 Saffron Hill, London
|
|
||||||
unit_before_house:
|
|
||||||
before: house
|
|
||||||
probability: 0.05
|
|
||||||
|
|
||||||
# e.g. Da Vinci House, Flat 18, 44 Saffron Hill, London
|
# e.g. Da Vinci House, Flat 18, 44 Saffron Hill, London
|
||||||
unit_before_house_number:
|
unit_before_house_number:
|
||||||
before: house_number
|
before: house_number
|
||||||
probability: 0.05
|
probability: 0.1
|
||||||
|
|
||||||
# e.g. Da Vinci House, 44 Saffron Hill, Flat 18, London (not as common in UK)
|
# e.g. Da Vinci House, 44 Saffron Hill, Flat 18, London (not as common in UK)
|
||||||
unit_after_road:
|
unit_after_road:
|
||||||
after: road
|
after: road
|
||||||
probability: 0.8
|
probability: 0.9
|
||||||
|
|
||||||
|
conditional:
|
||||||
|
- component: level
|
||||||
|
# default: 0.1
|
||||||
|
probabilities:
|
||||||
# e.g. Floor 5, Apt 6
|
# e.g. Floor 5, Apt 6
|
||||||
unit_after_level:
|
unit_after_level:
|
||||||
after: level
|
after: level
|
||||||
probability: 0.09
|
probability: 0.8
|
||||||
|
|
||||||
# e.g. Apt. 6, 5/F (less common)
|
# e.g. Apt. 6, 5/F (less common)
|
||||||
unit_before_level:
|
unit_before_level:
|
||||||
before: level
|
before: level
|
||||||
probability: 0.01
|
probability: 0.1
|
||||||
|
|
||||||
# American Samoa
|
# American Samoa
|
||||||
as:
|
as:
|
||||||
insertions: *us_template_insertions
|
insertions: *us_template_insertions
|
||||||
|
|||||||
Reference in New Issue
Block a user