From b0e1943fbd17f8406d1b176fd40ddd10bedfbc24 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 24 Jan 2017 13:22:19 -0500 Subject: [PATCH] [formatting] unit only goes after house number in Poland as it's often something like M. 1, and is rare in any case --- resources/formatting/global.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/resources/formatting/global.yaml b/resources/formatting/global.yaml index 6fafd34b..8578aa01 100644 --- a/resources/formatting/global.yaml +++ b/resources/formatting/global.yaml @@ -181,7 +181,7 @@ languages: after: building probability: 0.99 - unit: + unit: &continental_european_unit_insertions unit_after_house_number: after: house_number probability: 0.9 @@ -385,7 +385,16 @@ languages: # Polish pl: - insertions: *continental_european_template_insertions + insertions: + <<: *continental_european_template_insertions + unit: + <<: *continental_european_unit_insertions + unit_after_house_number: + after: house_number + probability: 1.0 + unit_before_road: + before: road + probability: 0.0 # Russian ru: