[addresses] German address config numbered units
This commit is contained in:
@@ -506,6 +506,13 @@ units:
|
|||||||
# Wohnung nummer 4
|
# Wohnung nummer 4
|
||||||
add_number_phrase: true
|
add_number_phrase: true
|
||||||
add_number_phrase_probability: 0.4
|
add_number_phrase_probability: 0.4
|
||||||
|
haus: &haus
|
||||||
|
canonical: haus
|
||||||
|
sample: true
|
||||||
|
canonical_probability: 0.8
|
||||||
|
sample_probability: 0.2
|
||||||
|
numeric:
|
||||||
|
direction: left
|
||||||
wohnungsnummer: &wohnungsnummer
|
wohnungsnummer: &wohnungsnummer
|
||||||
canonical: wohnungsnummer
|
canonical: wohnungsnummer
|
||||||
sample: true
|
sample: true
|
||||||
@@ -541,7 +548,9 @@ units:
|
|||||||
- alternative: *wohnungsnummer
|
- alternative: *wohnungsnummer
|
||||||
probability: 0.1
|
probability: 0.1
|
||||||
- alternative: *appartement
|
- alternative: *appartement
|
||||||
probability: 0.1
|
probability: 0.05
|
||||||
|
- alternative: *haus
|
||||||
|
probability: 0.05
|
||||||
|
|
||||||
numeric_probability: 0.9 # e.g. Wohnung 1
|
numeric_probability: 0.9 # e.g. Wohnung 1
|
||||||
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
numeric_plus_alpha_probability: 0.03 # e.g. 1A
|
||||||
@@ -647,8 +656,10 @@ countries:
|
|||||||
direction: left
|
direction: left
|
||||||
alphanumeric: &austria_units_alphanumeric
|
alphanumeric: &austria_units_alphanumeric
|
||||||
default: *top
|
default: *top
|
||||||
probability: 0.9
|
probability: 0.75
|
||||||
alternatives:
|
alternatives:
|
||||||
|
- alternative: *haus
|
||||||
|
probability: 0.15
|
||||||
- alternative: *wohnung
|
- alternative: *wohnung
|
||||||
probability: 0.05
|
probability: 0.05
|
||||||
- alternative: *wohnungsnummer
|
- alternative: *wohnungsnummer
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
appartement|apt|app
|
appartement|apt|app
|
||||||
büro|buro|buero
|
büro|buro|buero
|
||||||
|
haus
|
||||||
top
|
top
|
||||||
wohnung|whg|w|/ w|/ / w
|
wohnung|whg|w|/ w|/ / w
|
||||||
|
wohnungsnummer
|
||||||
zimmer|zi
|
zimmer|zi
|
||||||
Reference in New Issue
Block a user