Commit Graph

1965 Commits

Author SHA1 Message Date
Al
6b8e7cc2de [categories] Updated category query to have add_address variable (e.g. for 'near 123 Main Street' vs. 'near Brooklyn, NY'), reuses category preposition 2016-07-21 17:04:57 -04:00
Al
47fc88e0fc [formatting] Better postprocessing of address-formatting templates so any country can potentially include the more rare components like city_district/state_district, etc., formatted queries for category (+ place/address), chain (+ place/address), and intersection 2016-07-21 17:04:57 -04:00
Al
38607b0a50 [fix] var name for error case 2016-07-21 17:04:57 -04:00
Al
4bdcb98320 [fix] country_language 2016-07-21 17:04:57 -04:00
Al
ce381134fb [categories/chains] Reusing category config in chain queries 2016-07-21 17:04:57 -04:00
Al
b50120f45c [chains] Adding chains gazetteer 2016-07-21 17:04:57 -04:00
Al
a6678e61cb [addresses] Updates to probabilities in English address config 2016-07-21 17:04:57 -04:00
Al
42df1817bf [addresses] Adding letra to Spanish config 2016-07-21 17:04:57 -04:00
Al
24bd95a2fa [numbering] Adding ability to have alpha-specific config (phrases that only apply to lettered apartments, etc.) 2016-07-21 17:04:57 -04:00
Al
319e4649cf [chains] Adding methods for determining if a venue name is a known chain, generating an alternate form (plurals, other spellings) for queries 2016-07-21 17:04:57 -04:00
Al
669f2c2e52 [dictionaries] Adding simple plural forms for chain stores (normalize to a singular/canonical form typically found in OSM names) 2016-07-21 17:04:57 -04:00
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
b6b85afa2a [docs] Update usage 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
8756cbb652 [places] Only apply place dropout to admin components 2016-07-21 17:04:57 -04:00
Al
12f4a2ec6c [fix] removing extraneous code 2016-07-21 17:04:57 -04:00
Al
30751cc342 [places] Place config with dropout probabilities for admin boundaries by country, exceptions by OSM relation id 2016-07-21 17:04:57 -04:00
Al
135824f667 [fix] Spanish probability distributions 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
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