From 1623be4129b6127156d711f60d8fb1891883c869 Mon Sep 17 00:00:00 2001 From: Ilya Sukhanov Date: Mon, 25 Feb 2019 15:50:47 -0700 Subject: [PATCH] Add training data for Canadian Addresses us-address mostly works out of the box with (English-language) Canadian addresses however it often misparses postal codes. This training data adds dozen or so Canadian addresses chosen by randomly looking them up on OSM Map. There is one address per province to ensure Provinces are also properly recognized. The training and test data resides in canada.xml of the respective folders. It is worth noting that while us-address uses ZipCode and StateName, in Canadian parlance these are Postal-Code and Provinces. --- measure_performance/test_data/canada.xml | 14 ++++++++++++++ training/canada.xml | 15 +++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 measure_performance/test_data/canada.xml create mode 100644 training/canada.xml diff --git a/measure_performance/test_data/canada.xml b/measure_performance/test_data/canada.xml new file mode 100644 index 0000000..80212a2 --- /dev/null +++ b/measure_performance/test_data/canada.xml @@ -0,0 +1,14 @@ + + 228 Sixth Street, Nanaimo BC V9R 3W3 + 562 Central Avenue North, Swift Current SK S9H 0N3 + 50 Beacon Street, Sydney NS B1P 4Z4 + 269 Walnut Street, Sudbury ON P3C 1L9 + 10615 Bon Accord Greenway, Surrey BC V3T 1Y1 + 102 Avenue, Fort Saskatchewan AB T8L 2C8 + 45 Richbourne Court, Toronto ON M1T 1V7 + 1116 Robinson Street, Regina SK S4T 0L6 + 512 Canonberry Court, Oshawa ON L1G 7T7 + 10824 106 Avenue NW, Edmonton AB T5H 3J7 + 853 Ross Avenue, Sarnia ON N7T 1J5 + 10 Bridge Street, Huron Shores ON P0R 1H0 + diff --git a/training/canada.xml b/training/canada.xml new file mode 100644 index 0000000..723f3f8 --- /dev/null +++ b/training/canada.xml @@ -0,0 +1,15 @@ + + 614 Alexander Street, Whitehorse YT Y1A 2G1 + 987 Ikaluktuutiak Drive, Iqaluit NU X0A 0H0 + 34 Garden Drive, Kensington PE C1N 5J5 + 14 Hatcher Street, St. John's NL A1B 1Z2 + 2610 10th Avenue, Prince George BC V2M 3C8 + 34 Great Northern Road, Sault Ste. Marie ON P6B 4Z7 + 344 Saunders Street, Fredericton NB E3B 3L7 + 4 Skeena Street, Halifax NS B3N 2V7 + 185 Smith Street, Winnipeg MB R3C 1J8 + 10 Northern Lights Street, Enterprise NT X0E 0R1 + 19 Street East, Prince Albert SK S6V 1N7 + 112 Campbell Court, Fort Saskatchewan AB T8L 2C8 + 10 Avenue Beaupré, Quebec QC G1W 1R8 +