From bcd61ffbe8ac2e80207e347173f945af55239710 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 3 Jan 2017 03:32:15 -0500 Subject: [PATCH] [formatting] moving postcode to the beginning of the address only in countries using the continental European conventions. Creates more ambiguity than is worthwhile in the US, etc. when, say, house_number is removed from a training example and the postcode is inserted first (could very easily be a house_number) --- resources/formatting/global.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/formatting/global.yaml b/resources/formatting/global.yaml index 525d3105..58636783 100644 --- a/resources/formatting/global.yaml +++ b/resources/formatting/global.yaml @@ -48,10 +48,6 @@ global: after: country probability: 0.01 - postcode_first: - first: true - probability: 0.001 - postcode_last: last: true probability: 0.01 @@ -92,6 +88,11 @@ languages: before: road probability: 0.01 + postcode: + postcode_first: + first: true + probability: 0.001 + building: building_after_house_number: after: house_number