Commit Graph

730 Commits

Author SHA1 Message Date
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
a20b43cd28 [addresses] only use ordinal for digits 2016-05-19 02:40:19 -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
f0db7eeb4b [addresses] Adding use_floor_probability to address config 2016-05-19 00:17:07 -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
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
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
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
a90bd2d0f5 [fix] six.iteritems 2016-05-16 02:08:43 -04:00
Al
601ec7f1db [addresses] Removing subdivisions/buildings rtree, moving probabilities to config 2016-05-16 02:07:17 -04:00
Al
7f9d5a8274 [fix] default option for Aliases.get 2016-05-16 01:53:22 -04:00
Al
2f6320cf03 [fix] try/except for GeoJSON in neighborhoods index, some of the neighborhoods repo polygons were using 3 coordinates 2016-05-16 01:52:36 -04:00
Al
608f8f3c6f [osm] Adding osm_type_and_id function for handling all-to-nodes output from osmfilter. Using in neighborhoods as well as admin rtree. 2016-05-10 18:10:05 -04:00
Al
d17ff3678d [countries] Wrapping CLDR country names/alpha3 codes 2016-05-10 09:40:24 -04:00
Al
0ba010b9aa [addresses] Using the new parser config for address component expansions 2016-05-10 01:03:54 -04:00
Al
7ef207f54d [boundaries] removing omissions from boundary names config 2016-05-10 00:52:14 -04:00
Al
44f0054170 [boundaries] Adding component-specific admin name probabilities to config (e.g. choose the ISO alpha-2 code 20% of the time, etc.) 2016-05-08 17:56:26 -04:00
Al
dcae484851 [boundaries] Config for boundary name changes (Kings County is a state_district but Brooklyn should not be used for that context) and omissions (usually we add islands as address components, but not e.g. Manhattan Island) 2016-05-08 11:47:51 -04:00
Al
29cd94f87a [osm] moving osm_address_components to its own module 2016-05-05 19:00:57 -04:00
Al
2db255c55f [units] Refactoring unit generator to use base alphanumeric generator 2016-05-05 18:47:24 -04:00
Al
ec0779aaea [floors] Refactoring floor/level generator to use base alphanumeric generator 2016-05-05 18:46:42 -04:00
Al
7c505985c5 [directions] wrapper for adding cardinal/relative directions probabilistically 2016-05-05 18:44:58 -04:00
Al
d20da7fbe7 [names] component expansion uses the new configurable affix replacements 2016-05-05 18:32:23 -04:00
Al
3ca6338427 [config] Adding default/alternative probability distribution to config.utils 2016-05-05 18:28:26 -04:00
Al
84d2bb1fa8 [names] Adding name affix normalizations to a YAML config 2016-05-05 18:26:45 -04:00
Al
d64af86fa7 [numbering] choose_alphanumeric_type for base NumericPhrase 2016-05-05 15:45:51 -04:00
Al
87d5eac6ea [fix] import 2016-05-05 15:45:17 -04:00
Al
51418e5f38 [fix] name 2016-05-05 15:44:56 -04:00
Al
440db23bad [fix] state abbreviation instead of full name 2016-05-05 14:27:56 -04:00
Al
480a8b68b4 [fix] defaults 2016-05-05 14:17:49 -04:00