From 003c95f9eb52e749d54a133c588279f0c8aeff33 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 7 Jun 2016 18:03:41 -0400 Subject: [PATCH] [formatting] Adding Danish config to formatter and adjusting continental European template insertions --- resources/formatting/global.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/resources/formatting/global.yaml b/resources/formatting/global.yaml index 275aa2a5..328f8735 100644 --- a/resources/formatting/global.yaml +++ b/resources/formatting/global.yaml @@ -146,54 +146,51 @@ languages: # e.g. Calle Ruiz de Alarcón 23 piso 3 level_after_house_number: after: house_number - probability: 0.8 + probability: 0.95 # e.g. Piso 3, Museo del Prado, Calle Ruiz de Alarcón 23 level_before_house: before: house - probability: 0.1 + probability: 0.03 # e.g. Museo del Prado, Bajos, Calle Ruiz de Alarcón 23 level_before_road: before: road - probability: 0.1 + probability: 0.02 conditional: - component: staircase probabilities: - # default: 0.1 level_after_staircase: after: staircase - probability: 0.9 + probability: 0.99 - component: entrance probabilities: - # default: 0.1 level_after_entrance: after: entrance - probability: 0.9 + probability: 0.99 - component: building probabilities: - # default: 0.1 level_after_building: after: building - probability: 0.9 + probability: 0.99 unit: unit_before_house: before: house - probability: 0.2 + probability: 0.1 unit_after_house_number: after: house_number - probability: 0.7 + probability: 0.8 unit_before_road: before: road probability: 0.1 conditional: - component: level probabilities: - # default: 0.1 + # default: 0.02 # e.g. Piso 3 Dpto 12 (most common) unit_after_level: after: level - probability: 0.85 + probability: 0.93 # e.g. Apto 6, 2o piso (less common) unit_before_level: before: level @@ -354,6 +351,9 @@ languages: nl: insertions: *continental_european_template_insertions + da: + insertions: *continental_european_template_insertions + countries: # Hungary, e.g. 1075, Budapest Kazinczy utca 14 hu: