Commit Graph

1865 Commits

Author SHA1 Message Date
Al
5a31b60cbe [addresses] Adding normalized_place_name, a method for separating compound fields like addr:city='New York NY' into simply 'New York', solving the compound phrase problem. Also solves the mislabeled place name problem, causing the system to ignore the user tag and fall back on reverse geocoded components in cases e.g. where addr:city='Harlem', which is a known neighborhood but not a city when reverse geocoded. A few other refactors for expanded address components 2016-07-21 17:04:57 -04:00
Al
52246e0cd0 [formatting] Defining some of the new tag names in AddressFormatter as well as insert_component which reparses the address formatter template and inserts a given components, removing it from an existing block if necessary 2016-07-21 17:04:57 -04:00
Al
b22fb669b9 [aliases] Adding get method for aliases 2016-07-21 17:04:57 -04:00
Al
c84f50e227 [aliases] packaging up field aliasing 2016-07-21 17:04:57 -04:00
Al
b9ee3be806 [phrases] Using simple string encoding/decoding for default serialize/deserialize in PhraseFilter base class 2016-07-21 17:04:57 -04:00
Al
f00e425891 [osm] Adding parse_osm_number_range for addr:flats and addr:unit 2016-07-21 17:04:57 -04:00
Al
5160a05c5d [fix] typo 2016-07-21 17:04:57 -04:00
Al
b42a104ea5 [dictionaries] no postcodes French dictionary 2016-07-21 17:04:57 -04:00
Al
8a83634997 [states] Moving state abbreviations config to YAML 2016-07-21 17:04:57 -04:00
Al
771a360a85 [phrases] Using safe_encode/safe_decode as default trie serializer/deserializer 2016-07-21 17:04:57 -04:00
Al
8ae524005a [fix] import 2016-07-21 17:04:57 -04:00
Al
55717f1060 [fix] file encoding 2016-07-21 17:04:57 -04:00
Al
68b70c351b [fix] /postal.text.normalize/geodata.text.normalize/ 2016-07-21 17:04:57 -04:00
Al
f4e6a405e1 [polygons] Moving neighborhoods reverse geocoder to match the naming convention, adding coding: utf-8 2016-07-21 17:04:57 -04:00
Al
4a2d266230 [phrases] adding __init__ to base PhraseFilter 2016-07-21 17:04:57 -04:00
Al
c8ea12e1eb [osm] Adding place=city/town/village/hamlet/municipality to admin borders data set 2016-07-21 17:04:57 -04:00
Al
a4da5a7fe8 [dictionaries] Removing department from numbered unit types in English, is more for named subdivisions e.g. Accounting Department, which we don't yet support 2016-07-21 17:04:57 -04:00
Al
7f241c1e35 [dictionaries] French numbered units and directionals 2016-07-21 17:04:57 -04:00
Al
348751190e [dictionaries] French level types 2016-07-21 17:04:57 -04:00
Al
05333c2a8d [dictionaries] au niveau du to avoid confustion with niveau 2016-07-21 17:04:57 -04:00
Al
939fe7d449 [dictionaries] bloc, arrondissement 2016-07-21 17:04:57 -04:00
Al
9282c3a115 [dictionaries] notre-dame 2016-07-21 17:04:57 -04:00
Al
358f75d422 [dictionaries] French postcodes 2016-07-21 17:04:57 -04:00
Al
15c27909da [dictionaries] escalier in French 2016-07-21 17:04:57 -04:00
Al
0d27d79a57 [dictionaries] French abbreviation for charles du galle 2016-07-21 17:04:57 -04:00
Al
8a633884a9 [dictionaries] numéro in French 2016-07-21 17:04:57 -04:00
Al
fbb927940b [dictionaries] French sans numéro 2016-07-21 17:04:57 -04:00
Al
9d3060dabb [dictionaries] French entrances 2016-07-21 17:04:57 -04:00
Al
a8d3aa9594 [dictionaries] French toponyms for Canada 2016-07-21 17:04:57 -04:00
Al
3ee05edf10 [dictionaries] Moving porche to French synonyms 2016-07-21 17:04:57 -04:00
Al
6b7e3fdbc6 [dictionaries] French stopwords 2016-07-21 17:04:57 -04:00
Al
4ef4401040 [dictionaries] Adding bâtiment to French qualifiers 2016-07-21 17:04:57 -04:00
Al
c9b7f0d969 [dictionaries] boîte postale and cedex in French 2016-07-21 17:04:57 -04:00
Al
daa2cb4fcf [dictionaries] French place names and personal titles 2016-07-21 17:04:57 -04:00
Al
8e42d42ef3 [addresses] whitespace probability for Spanish addresses 2016-07-21 17:04:57 -04:00
Al
9a17247ea1 [addresses] Adding whitespace probabilities for numeric affix, probabilities for unit ordering 2016-07-21 17:04:57 -04:00
Al
3b4d3090cd [fix] polygons crossing the international date line 2016-07-21 17:04:57 -04:00
Al
99e634aaba [fix] some weirdness with the dateline and polygons that have a longitude of exactly 180.0 2016-07-21 17:04:57 -04:00
Al
8cf51378a0 [addresses] Spanish address config, includes many variations across different Latin American countries 2016-07-21 17:04:57 -04:00
Al
fbb2b2b152 [addresses] making near_me/in conform to the default/alternaties structure 2016-07-21 17:04:57 -04:00
Al
a24fe03b81 [categories] Category query fragment generator. Given a language, key and value, and a flag for plurals, returns a tuple of (category_phrase, preposition, add_place_name) 2016-07-21 17:04:57 -04:00
Al
4933303cec [categories] Config for looking up category-related phrases given a language + OSM key and value (amenity=restaurant, natural=waterfall, etc.) 2016-07-21 17:04:57 -04:00
Al
fa99b4ce77 [addresses] wrapping up some of the functionality from OSM formatter to be used in on an arbitrary address component dictionary 2016-07-21 17:04:57 -04:00
Al
a94debc4ed [osm] addr:place can be used for street name, expanded building polygon definitions, fixing boundary polygons 2016-07-21 17:04:57 -04:00
Al
35c2fee3e9 [fix] file encoding 2016-07-21 17:04:57 -04:00
Al
3e9206f223 [fix] __init__.py 2016-07-21 17:04:57 -04:00
Al
0631d0a27d [points] Adding single typed array for points index 2016-07-21 17:04:57 -04:00
Al
cdf8829942 [fix] no longer requiring argv for unicode_properties script 2016-07-21 17:04:57 -04:00
Al
a0e6a828c9 [languages] Adding country_and_languages to the language rtree itself 2016-07-21 17:04:57 -04:00
Al
6703da8fc3 [fix] languages and disambiguation do initialization by default 2016-07-21 17:04:57 -04:00