Commit Graph

1965 Commits

Author SHA1 Message Date
Al
df4267f98c [addresses] Adding letra to Spanish config 2016-05-20 14:05:18 -04:00
Al
dc72ee2ea5 [numbering] Adding ability to have alpha-specific config (phrases that only apply to lettered apartments, etc.) 2016-05-20 14:04:52 -04:00
Al
e22b3cc86f [chains] Adding methods for determining if a venue name is a known chain, generating an alternate form (plurals, other spellings) for queries 2016-05-20 13:25:42 -04:00
Al
5c4ec5a975 [dictionaries] Adding simple plural forms for chain stores (normalize to a singular/canonical form typically found in OSM names) 2016-05-20 12:54:52 -04:00
Al
ddef622a65 [addresses] Component dropout for PO box and category addresses 2016-05-20 04:05:39 -04:00
Al
cd61a0139c [fix] handling None return values e.g. for languages with no configs yet 2016-05-20 04:04:46 -04:00
Al
85e66f5eae [addresses] Adding place dropout to AddressComponents so admin components will be more standard 2016-05-19 16:48:32 -04:00
Al
647b1abd0b [docs] Update usage 2016-05-19 14:58:38 -04:00
Al
59be3414ce [addresses] Updates to unit directional probabilities and adding quadrant addresses for units like 1RF 2016-05-19 14:44:35 -04:00
Al
ebb7dce087 [places] Only apply place dropout to admin components 2016-05-19 03:32:50 -04:00
Al
10efcf75f4 [fix] removing extraneous code 2016-05-19 03:22:33 -04:00
Al
dfaad89c9d [places] Place config with dropout probabilities for admin boundaries by country, exceptions by OSM relation id 2016-05-19 03:18:06 -04:00
Al
4c109317b1 [fix] Spanish probability distributions 2016-05-19 02:46:06 -04:00
Al
a20b43cd28 [addresses] only use ordinal for digits 2016-05-19 02:40:19 -04:00
Al
d63031a260 [fix] probabilities sum to 1 for puerta 2016-05-19 02:22:18 -04:00
Al
fd1d5aef04 [polygons] When loading polygons from disk/GeoJSON, include holes 2016-05-19 01:43:20 -04:00
Al
465034472a [fix] args 2016-05-19 01:00:51 -04:00
Al
21f52a54d5 [fix] missing definition 2016-05-19 00:54:59 -04:00
Al
cf1000edf8 [fix] var name 2016-05-19 00:52:45 -04:00
Al
d6140948c4 [addresses] Running combine_fields while generating sub-building information so that phrases only get added to single fields 2016-05-19 00:49:27 -04:00
Al
bfa6ea901a [addresses] Don't add quattroshapes city on non_local_language, only as a supplement in case the city's not in OSM 2016-05-19 00:20:11 -04:00
Al
22490d4016 [addresses] use_floor_probability for English config and adding suite to default US unit phrases 2016-05-19 00:18:14 -04:00
Al
f0db7eeb4b [addresses] Adding use_floor_probability to address config 2016-05-19 00:17:07 -04:00
Al
bfaa6dd21c [osm] Philippines barangay is a suburb 2016-05-19 00:01:40 -04:00
Al
e4f1fc996e [fix] OSM name keys, break out of loop early in categorizing OSM boundary components 2016-05-18 21:23:26 -04:00
Al
948d873efa [addresses] Prefer language-namespaced keys if requested 2016-05-18 20:53:53 -04:00
Al
1ba05109c2 [addresses] Canada config fix 2016-05-18 20:35:28 -04:00
Al
f3c8e0e69d [addresses] removing level_unit from the configs, probabilities for Canadian unit/house numbers 2016-05-18 20:30:09 -04:00
Al
c7930341ca [fix] imports/args 2016-05-18 20:23:50 -04:00
Al
b397d4017e [fix] remove unused method 2016-05-18 19:53:12 -04:00
Al
d2fca50ab8 [addresses] Adding support for the combined fields portion of the address config (Canadian apartment numbers, etc.) Adding a new language suffix chooser which can pick things like ja_rm or ru_Latn in addition to standard language codes for admin boundary names, etc. 2016-05-18 18:20:23 -04:00
Al
f107129b68 [fix] renaming a few keys in fetch_osm_address_data.sh to use the convention expected by definitions module 2016-05-18 18:10:45 -04:00
Al
ac41e170fb [osm] Adding OSM definitions to quickly determine if a set of properties meets one of the libpostal definitions (valid amenity, etc.) 2016-05-18 18:09:26 -04:00
Al
663491e60b [addresses] changing a few class/method names 2016-05-18 12:37:15 -04:00
Al
52e63d30c6 [fix] address components 2016-05-18 11:58:36 -04:00
Al
cf58f2cab3 [fix] conditionals 2016-05-18 02:57:22 -04:00
Al
c551012791 [addresses] Deriving top floor from num_floors (passed in) 2016-05-18 02:52:05 -04:00
Al
612166eb35 [addresses] Add generated units, floors, etc. in expanded address components 2016-05-18 02:51:28 -04:00
Al
0c539d4899 [addresses] Spanish sub-building component probabilities 2016-05-18 02:47:43 -04:00
Al
fb286b48db [addresses] English sub-building component probabilities and some fixes 2016-05-18 02:46:11 -04:00
Al
8652f74fef [addresses] generate entrance phrases 2016-05-18 00:47:54 -04:00
Al
e688edb5cf [addresses] generate staircase phrases 2016-05-18 00:47:38 -04:00
Al
fc94753481 [po boxes] random PO box generation 2016-05-18 00:43:01 -04:00
Al
3860cd031f [formatting] conditional probabilities of template swaps in formatter config 2016-05-17 21:20:36 -04:00
Al
f485984768 [formatting] Adding conditional probabilities for template insertions (e.g. given that we have a floor number, increase the probability that unit number follows it) 2016-05-17 19:25:53 -04:00
Al
091f46cb7d [polygons] Adding university and hospital polygons to the subdivisions index, (multiple sub-buildings but still want to know the parent entity) 2016-05-17 16:39:50 -04:00
Al
bff4fa27f5 [formatting] New formatter config including random component component order changes and default/per-country admin component ordering 2016-05-16 11:26:35 -04:00
Al
ba7c9b0818 [names] Name affixes respect hyphens and lack of whitespace (for ideographic languages) 2016-05-16 10:22:09 -04:00
Al
10c5a70289 [boundaries] Adding boundary prefixes/suffixes for German, French, Japanese 2016-05-16 10:21:08 -04:00
Al
69078027d1 [boundaries] Adding prefix/suffix replacements for English and Spanish 2016-05-16 09:55:59 -04:00