Commit Graph

1945 Commits

Author SHA1 Message Date
Al
dde8801b3f [addresses] only use ordinal for digits 2016-07-21 17:04:57 -04:00
Al
def886858d [fix] probabilities sum to 1 for puerta 2016-07-21 17:04:57 -04:00
Al
c77c13c1bd [polygons] When loading polygons from disk/GeoJSON, include holes 2016-07-21 17:04:57 -04:00
Al
68b647f572 [fix] args 2016-07-21 17:04:57 -04:00
Al
717c48ef36 [fix] missing definition 2016-07-21 17:04:57 -04:00
Al
02d25ce53e [fix] var name 2016-07-21 17:04:57 -04:00
Al
b56da09847 [addresses] Running combine_fields while generating sub-building information so that phrases only get added to single fields 2016-07-21 17:04:57 -04:00
Al
c89aaf5e57 [addresses] Don't add quattroshapes city on non_local_language, only as a supplement in case the city's not in OSM 2016-07-21 17:04:57 -04:00
Al
931bfbee10 [addresses] use_floor_probability for English config and adding suite to default US unit phrases 2016-07-21 17:04:57 -04:00
Al
33d7437c4a [addresses] Adding use_floor_probability to address config 2016-07-21 17:04:57 -04:00
Al
ffa895172b [osm] Philippines barangay is a suburb 2016-07-21 17:04:57 -04:00
Al
b91be6ef7a [fix] OSM name keys, break out of loop early in categorizing OSM boundary components 2016-07-21 17:04:57 -04:00
Al
74ad180b34 [addresses] Prefer language-namespaced keys if requested 2016-07-21 17:04:57 -04:00
Al
5a480527e3 [addresses] Canada config fix 2016-07-21 17:04:57 -04:00
Al
ec3b9245e9 [addresses] removing level_unit from the configs, probabilities for Canadian unit/house numbers 2016-07-21 17:04:57 -04:00
Al
1f1845da7a [fix] imports/args 2016-07-21 17:04:57 -04:00
Al
9a6681c49d [fix] remove unused method 2016-07-21 17:04:57 -04:00
Al
f05ae4d661 [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-07-21 17:04:57 -04:00
Al
efb0414cee [fix] renaming a few keys in fetch_osm_address_data.sh to use the convention expected by definitions module 2016-07-21 17:04:57 -04:00
Al
3d0d38f8da [osm] Adding OSM definitions to quickly determine if a set of properties meets one of the libpostal definitions (valid amenity, etc.) 2016-07-21 17:04:57 -04:00
Al
4f268fdc36 [addresses] changing a few class/method names 2016-07-21 17:04:57 -04:00
Al
bfbe54449a [fix] address components 2016-07-21 17:04:57 -04:00
Al
f5393d24d4 [fix] conditionals 2016-07-21 17:04:57 -04:00
Al
422045b699 [addresses] Deriving top floor from num_floors (passed in) 2016-07-21 17:04:57 -04:00
Al
e9e9dac8e1 [addresses] Add generated units, floors, etc. in expanded address components 2016-07-21 17:04:57 -04:00
Al
53aa5b10ab [addresses] Spanish sub-building component probabilities 2016-07-21 17:04:57 -04:00
Al
4485a8c234 [addresses] English sub-building component probabilities and some fixes 2016-07-21 17:04:57 -04:00
Al
286791ac8d [addresses] generate entrance phrases 2016-07-21 17:04:57 -04:00
Al
b666232833 [addresses] generate staircase phrases 2016-07-21 17:04:57 -04:00
Al
e02206f2f6 [po boxes] random PO box generation 2016-07-21 17:04:57 -04:00
Al
aeffac1047 [formatting] conditional probabilities of template swaps in formatter config 2016-07-21 17:04:57 -04:00
Al
a948e97fe6 [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-07-21 17:04:57 -04:00
Al
d595e48721 [polygons] Adding university and hospital polygons to the subdivisions index, (multiple sub-buildings but still want to know the parent entity) 2016-07-21 17:04:57 -04:00
Al
334f22a41c [formatting] New formatter config including random component component order changes and default/per-country admin component ordering 2016-07-21 17:04:57 -04:00
Al
8b9e351961 [names] Name affixes respect hyphens and lack of whitespace (for ideographic languages) 2016-07-21 17:04:57 -04:00
Al
64ad15fa36 [boundaries] Adding boundary prefixes/suffixes for German, French, Japanese 2016-07-21 17:04:57 -04:00
Al
d739ca8268 [boundaries] Adding prefix/suffix replacements for English and Spanish 2016-07-21 17:04:57 -04:00
Al
fd95963c3a [boundaries] Using key name rather than boundary name in global boundary config 2016-07-21 17:04:57 -04:00
Al
72fad2f5e3 [fix] six.iteritems 2016-07-21 17:04:57 -04:00
Al
6f2c81c767 [addresses] Removing subdivisions/buildings rtree, moving probabilities to config 2016-07-21 17:04:57 -04:00
Al
35deb15a84 [fix] default option for Aliases.get 2016-07-21 17:04:57 -04:00
Al
d519054eb4 [fix] try/except for GeoJSON in neighborhoods index, some of the neighborhoods repo polygons were using 3 coordinates 2016-07-21 17:04:57 -04:00
Al
b8513c0dc6 [osm] Adding osm_type_and_id function for handling all-to-nodes output from osmfilter. Using in neighborhoods as well as admin rtree. 2016-07-21 17:04:57 -04:00
Al
f468ab84d2 [parser] Removing island exceptions from parser default config 2016-07-21 17:04:57 -04:00
Al
18072094f5 [boundaries] Macao boundary type mapping 2016-07-21 17:04:57 -04:00
Al
6491a5c3c4 [countries] Wrapping CLDR country names/alpha3 codes 2016-07-21 17:04:57 -04:00
Al
c33f404e1a [addresses] Using the new parser config for address component expansions 2016-07-21 17:04:57 -04:00
Al
62b35b318f [parser] Parser default config 2016-07-21 17:04:57 -04:00
Al
1cf1527acd [boundaries] removing omissions from boundary names config 2016-07-21 17:04:57 -04:00
Al
d232d7afcd [boundaries] Adding component-specific admin name probabilities to config (e.g. choose the ISO alpha-2 code 20% of the time, etc.) 2016-07-21 17:04:57 -04:00