f0ec3ef08c[formatting] New formatting config for categories, removing admin component ordering since that is now done deterministically
Al
2016-05-22 12:03:59 -04:00
17d219d12c[fix] var name
Al
2016-05-22 12:02:58 -04:00
ab1c587100[fix] add_address=True for CategoryQuery/ChainQuery
Al
2016-05-22 05:13:26 -04:00
ba1d70804b[categories] Method to determine which keys to check for category matches given a dict of OSM tags
Al
2016-05-22 05:12:46 -04:00
10bbebc1ac[fix] Removing template types from AddressFormatter, just drop components as needed
Al
2016-05-22 05:12:06 -04:00
25dede1986[addresses] Address component expansion makes a copy while building PO box addresses, now has a drop names method to drop just venue name, etc.
Al
2016-05-22 05:11:12 -04:00
727fa3c2fd[fix] Chile/Argentina po boxes
Al
2016-05-22 05:06:21 -04:00
7310e64858[fix] Australia config
Al
2016-05-22 05:03:56 -04:00
01ee911bf3[osm/parser] Place only probability for chain queries as well
Al
2016-05-22 04:55:38 -04:00
b3e9657d5d[osm/parser] Place only probability for category queries
Al
2016-05-22 04:45:04 -04:00
9cf3909a6e[parser/osm] Adding category plural probability, chain store sample probability and probability of dropping postcode for raw places
Al
2016-05-22 04:13:21 -04:00
19a73e69f4[fix] name error in neighborhoods
Al
2016-05-22 03:31:00 -04:00
a9a8f0bcf8[addresses] Spanish PO box digit probabilities
Al
2016-05-22 03:28:34 -04:00
9f8ab2d967[gazetteers] Street and synonym dictionary for catching other abbreviations that occur in street names
Al
2016-05-22 03:22:05 -04:00
015efa9249[fix] pivot keys in address formatter
Al
2016-05-22 03:19:41 -04:00
9a0df80b2a[fix] Spanish unit probabilities
Al
2016-05-22 03:15:07 -04:00
6c926fe908[parser] Adding OSM-specific parser config
Al
2016-05-22 02:05:55 -04:00
75ca8b86a9[fix] set union will usually be over 0 subsets
Al
2016-05-21 19:17:11 -04:00
df522f2517[fix] import
Al
2016-05-21 19:09:36 -04:00
a4c215ce9a[fix] component dependencies
Al
2016-05-21 19:06:39 -04:00
4e9906fcab[places] Places dropout handles things like Luxembourg, Luxembourg, prefering the city in cases where a single component is retained
Al
2016-05-21 18:29:21 -04:00
8f358d295f[addresses] Adding address-level component dropout to AddressComponents (returns an ordering so the client formatter can potentially emit multiple addresses with different components dropped out). Adding PO box and category probabilities to config
Al
2016-05-21 17:54:30 -04:00
e1aec72c32[fix] docs
Al
2016-05-21 02:20:38 -04:00
4d10ed7613[chains] chain store queries also may use street address for certain preposition types
Al
2016-05-21 02:20:09 -04:00
0b67fe70b9[categories] Updated category query to have add_address variable (e.g. for 'near 123 Main Street' vs. 'near Brooklyn, NY'), reuses category preposition
Al
2016-05-21 02:19:21 -04:00
26fe87ff4a[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
Al
2016-05-21 02:16:17 -04:00
b647842bed[fix] var name for error case
Al
2016-05-21 02:10:55 -04:00
386f425af9[fix] country_language
Al
2016-05-20 16:01:00 -04:00
3adfa43f29[categories/chains] Reusing category config in chain queries
Al
2016-05-20 16:00:04 -04:00
689d163e08[chains] Adding chains gazetteer
Al
2016-05-20 14:07:50 -04:00
9e4db3d174[addresses] Updates to probabilities in English address config
Al
2016-05-20 14:05:44 -04:00
df4267f98c[addresses] Adding letra to Spanish config
Al
2016-05-20 14:05:18 -04:00
dc72ee2ea5[numbering] Adding ability to have alpha-specific config (phrases that only apply to lettered apartments, etc.)
Al
2016-05-20 14:04:52 -04:00
e22b3cc86f[chains] Adding methods for determining if a venue name is a known chain, generating an alternate form (plurals, other spellings) for queries
Al
2016-05-20 13:25:42 -04:00
5c4ec5a975[dictionaries] Adding simple plural forms for chain stores (normalize to a singular/canonical form typically found in OSM names)
Al
2016-05-20 12:52:35 -04:00
ddef622a65[addresses] Component dropout for PO box and category addresses
Al
2016-05-20 04:05:39 -04:00
cd61a0139c[fix] handling None return values e.g. for languages with no configs yet
Al
2016-05-20 04:04:46 -04:00
85e66f5eae[addresses] Adding place dropout to AddressComponents so admin components will be more standard
Al
2016-05-19 16:48:27 -04:00
647b1abd0b[docs] Update usage
Al
2016-05-19 14:58:38 -04:00
59be3414ce[addresses] Updates to unit directional probabilities and adding quadrant addresses for units like 1RF
Al
2016-05-19 14:44:31 -04:00
ebb7dce087[places] Only apply place dropout to admin components
Al
2016-05-19 03:32:50 -04:00
10efcf75f4[fix] removing extraneous code
Al
2016-05-19 03:22:33 -04:00
dfaad89c9d[places] Place config with dropout probabilities for admin boundaries by country, exceptions by OSM relation id
Al
2016-05-19 03:18:06 -04:00
4c109317b1[fix] Spanish probability distributions
Al
2016-05-19 02:46:06 -04:00
a20b43cd28[addresses] only use ordinal for digits
Al
2016-05-19 02:40:19 -04:00
d63031a260[fix] probabilities sum to 1 for puerta
Al
2016-05-19 02:22:18 -04:00
fd1d5aef04[polygons] When loading polygons from disk/GeoJSON, include holes
Al
2016-05-19 01:43:09 -04:00
465034472a[fix] args
Al
2016-05-19 01:00:51 -04:00
21f52a54d5[fix] missing definition
Al
2016-05-19 00:54:59 -04:00
cf1000edf8[fix] var name
Al
2016-05-19 00:52:45 -04:00
d6140948c4[addresses] Running combine_fields while generating sub-building information so that phrases only get added to single fields
Al
2016-05-19 00:48:24 -04:00
bfa6ea901a[addresses] Don't add quattroshapes city on non_local_language, only as a supplement in case the city's not in OSM
Al
2016-05-19 00:20:11 -04:00
22490d4016[addresses] use_floor_probability for English config and adding suite to default US unit phrases
Al
2016-05-19 00:18:14 -04:00
f0db7eeb4b[addresses] Adding use_floor_probability to address config
Al
2016-05-19 00:17:07 -04:00
bfaa6dd21c[osm] Philippines barangay is a suburb
Al
2016-05-19 00:01:40 -04:00
e4f1fc996e[fix] OSM name keys, break out of loop early in categorizing OSM boundary components
Al
2016-05-18 21:23:26 -04:00
948d873efa[addresses] Prefer language-namespaced keys if requested
Al
2016-05-18 20:53:53 -04:00
1ba05109c2[addresses] Canada config fix
Al
2016-05-18 20:35:28 -04:00
f3c8e0e69d[addresses] removing level_unit from the configs, probabilities for Canadian unit/house numbers
Al
2016-05-18 20:30:09 -04:00
c7930341ca[fix] imports/args
Al
2016-05-18 20:23:50 -04:00
b397d4017e[fix] remove unused method
Al
2016-05-18 19:53:12 -04:00
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.
Al
2016-05-18 18:15:47 -04:00
f107129b68[fix] renaming a few keys in fetch_osm_address_data.sh to use the convention expected by definitions module
Al
2016-05-18 18:10:39 -04:00
ac41e170fb[osm] Adding OSM definitions to quickly determine if a set of properties meets one of the libpostal definitions (valid amenity, etc.)
Al
2016-05-18 18:09:26 -04:00
663491e60b[addresses] changing a few class/method names
Al
2016-05-18 12:37:06 -04:00
52e63d30c6[fix] address components
Al
2016-05-18 11:58:36 -04:00
cf58f2cab3[fix] conditionals
Al
2016-05-18 02:57:22 -04:00
c551012791[addresses] Deriving top floor from num_floors (passed in)
Al
2016-05-18 02:52:00 -04:00
612166eb35[addresses] Add generated units, floors, etc. in expanded address components
Al
2016-05-18 02:51:28 -04:00
0c539d4899[addresses] Spanish sub-building component probabilities
Al
2016-05-18 02:47:43 -04:00
fb286b48db[addresses] English sub-building component probabilities and some fixes
Al
2016-05-18 02:46:11 -04:00
8652f74fef[addresses] generate entrance phrases
Al
2016-05-18 00:47:54 -04:00
e688edb5cf[addresses] generate staircase phrases
Al
2016-05-18 00:47:38 -04:00
fc94753481[po boxes] random PO box generation
Al
2016-05-18 00:43:01 -04:00
3860cd031f[formatting] conditional probabilities of template swaps in formatter config
Al
2016-05-17 21:20:36 -04:00
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)
Al
2016-05-17 19:25:53 -04:00
091f46cb7d[polygons] Adding university and hospital polygons to the subdivisions index, (multiple sub-buildings but still want to know the parent entity)
Al
2016-05-17 16:39:47 -04:00
bff4fa27f5[formatting] New formatter config including random component component order changes and default/per-country admin component ordering
Al
2016-05-16 11:12:53 -04:00
ba7c9b0818[names] Name affixes respect hyphens and lack of whitespace (for ideographic languages)
Al
2016-05-16 10:22:09 -04:00
10c5a70289[boundaries] Adding boundary prefixes/suffixes for German, French, Japanese
Al
2016-05-16 10:21:08 -04:00
69078027d1[boundaries] Adding prefix/suffix replacements for English and Spanish
Al
2016-05-16 09:55:59 -04:00
f436a2df5f[boundaries] Using key name rather than boundary name in global boundary config
Al
2016-05-16 09:44:33 -04:00
a90bd2d0f5[fix] six.iteritems
Al
2016-05-16 02:08:43 -04:00
601ec7f1db[addresses] Removing subdivisions/buildings rtree, moving probabilities to config
Al
2016-05-16 02:07:17 -04:00
7f9d5a8274[fix] default option for Aliases.get
Al
2016-05-16 01:53:16 -04:00
2f6320cf03[fix] try/except for GeoJSON in neighborhoods index, some of the neighborhoods repo polygons were using 3 coordinates
Al
2016-05-16 01:52:36 -04:00
3eec50858bMerge branch 'master' into parser-data
Al
2016-05-11 12:21:00 -04:00
608f8f3c6f[osm] Adding osm_type_and_id function for handling all-to-nodes output from osmfilter. Using in neighborhoods as well as admin rtree.
Al
2016-05-10 18:10:01 -04:00
1e995d96c6[parser] Removing island exceptions from parser default config
Al
2016-05-10 11:05:11 -04:00
c069989f78[boundaries] Macao boundary type mapping
Al
2016-05-10 09:41:06 -04:00
d17ff3678d[countries] Wrapping CLDR country names/alpha3 codes
Al
2016-05-10 09:40:08 -04:00
0ba010b9aa[addresses] Using the new parser config for address component expansions
Al
2016-05-10 01:03:54 -04:00
39121db707[parser] Parser default config
Al
2016-05-10 00:59:03 -04:00
7ef207f54d[boundaries] removing omissions from boundary names config
Al
2016-05-10 00:52:00 -04:00
44f0054170[boundaries] Adding component-specific admin name probabilities to config (e.g. choose the ISO alpha-2 code 20% of the time, etc.)
Al
2016-05-08 17:56:26 -04:00
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)
Al
2016-05-07 22:32:05 -04:00
29cd94f87a[osm] moving osm_address_components to its own module
Al
2016-05-05 19:00:27 -04:00
2db255c55f[units] Refactoring unit generator to use base alphanumeric generator
Al
2016-05-05 18:47:24 -04:00
ec0779aaea[floors] Refactoring floor/level generator to use base alphanumeric generator
Al
2016-05-05 18:46:34 -04:00
7c505985c5[directions] wrapper for adding cardinal/relative directions probabilistically
Al
2016-05-05 18:44:58 -04:00