Commit Graph

75 Commits

Author SHA1 Message Date
Al
7b8dbf911c [addresses] Component dropout for PO box and category addresses 2016-07-21 17:04:57 -04:00
Al
985ba85623 [fix] handling None return values e.g. for languages with no configs yet 2016-07-21 17:04:57 -04:00
Al
0c3dd33990 [addresses] Adding place dropout to AddressComponents so admin components will be more standard 2016-07-21 17:04:57 -04:00
Al
e5f81a0f81 [addresses] Updates to unit directional probabilities and adding quadrant addresses for units like 1RF 2016-07-21 17:04:57 -04:00
Al
dde8801b3f [addresses] only use ordinal for digits 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
33d7437c4a [addresses] Adding use_floor_probability to address config 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
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
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
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
6f2c81c767 [addresses] Removing subdivisions/buildings rtree, moving probabilities to config 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
ad81095879 [osm] moving osm_address_components to its own module 2016-07-21 17:04:57 -04:00
Al
4271f7f84b [units] Refactoring unit generator to use base alphanumeric generator 2016-07-21 17:04:57 -04:00
Al
c18f53027f [floors] Refactoring floor/level generator to use base alphanumeric generator 2016-07-21 17:04:57 -04:00
Al
d38918ca7f [directions] wrapper for adding cardinal/relative directions probabilistically 2016-07-21 17:04:57 -04:00
Al
ed12d7bbe4 [names] component expansion uses the new configurable affix replacements 2016-07-21 17:04:57 -04:00
Al
6f8e94b851 [config] Adding default/alternative probability distribution to config.utils 2016-07-21 17:04:57 -04:00
Al
f96bcd1727 [numbering] choose_alphanumeric_type for base NumericPhrase 2016-07-21 17:04:57 -04:00
Al
2f784ddec6 [fix] state abbreviation instead of full name 2016-07-21 17:04:57 -04:00
Al
62c0801683 [fix] state name 2016-07-21 17:04:57 -04:00
Al
670da6c4bc [fix] method name 2016-07-21 17:04:57 -04:00
Al
477c96ea00 [fix] var name 2016-07-21 17:04:57 -04:00
Al
00be2e4d0e [fix] all_languages var 2016-07-21 17:04:57 -04:00
Al
1e2894a665 [fix] normalize place names before adding OSM components, modify components in place, delete keys and use the boundary components if the component is ambiguous 2016-07-21 17:04:57 -04:00
Al
cec0d6f6df [fix] tuple 2016-07-21 17:04:57 -04:00
Al
e198bbf23e [fix] whitespace 2016-07-21 17:04:57 -04:00
Al
b190c88cc1 [fix] state 2016-07-21 17:04:57 -04:00
Al
3c6691d295 [fix] kwargs 2016-07-21 17:04:57 -04:00
Al
4909fa7ee1 [fix] deriving whitespace and state in normalized_place_name, adding all candidate languages to arguments 2016-07-21 17:04:57 -04:00
Al
330394ff51 [fix] raw OSM reverse geocoded components vs. versus normalized version 2016-07-21 17:04:57 -04:00
Al
f7697cf20d [fix] import 2016-07-21 17:04:57 -04:00
Al
e5fdd915d0 [fix] check the first phrase for components and bail if it matches something other than the specified tag 2016-07-21 17:04:57 -04:00
Al
8370a41ec0 [fix] import 2016-07-21 17:04:57 -04:00
Al
651bc32650 [addresses] more thoroughly solving the addr:city='Harlem' issue 2016-07-21 17:04:57 -04:00