Commit Graph

648 Commits

Author SHA1 Message Date
Al
175c090768 [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-04-29 00:54:56 -04:00
Al
418cd03011 [categories] Config for looking up category-related phrases given a language + OSM key and value (amenity=restaurant, natural=waterfall, etc.) 2016-04-29 00:44:46 -04:00
Al
92ffa42937 [addresses] wrapping up some of the functionality from OSM formatter to be used in on an arbitrary address component dictionary 2016-04-28 23:47:23 -04:00
Al
bcae68a736 [osm] addr:place can be used for street name, expanded building polygon definitions, fixing boundary polygons 2016-04-28 23:44:30 -04:00
Al
af79fb3958 [fix] file encoding 2016-04-28 18:55:11 -04:00
Al
897bf07875 [fix] __init__.py 2016-04-28 18:54:13 -04:00
Al
b0e04d961b [points] Adding single typed array for points index 2016-04-28 18:40:24 -04:00
Al
2cb988734a [fix] no longer requiring argv for unicode_properties script 2016-04-28 18:34:22 -04:00
Al
065b31b2d3 [languages] Adding country_and_languages to the language rtree itself 2016-04-28 18:33:55 -04:00
Al
96c831c114 [fix] languages and disambiguation do initialization by default 2016-04-28 18:04:29 -04:00
Al
6a8b59fc90 [normalization] normalize tokens should not replace digits by default 2016-04-28 18:03:44 -04:00
Al
1c6844f8f3 [fix] six.u 2016-04-28 17:50:25 -04:00
Al
84fe0997ba [disambiguation] Adding best_country_and_language 2016-04-28 17:23:00 -04:00
Al
9088ba6df6 [fix] token_types.PHRASE 2016-04-28 17:21:58 -04:00
Al
5d34500b63 [polygons] Adding ISO3166 alpha 2/3 codes to OSM polygons index 2016-04-28 14:23:38 -04:00
Al
8edddfb4d5 [addresses] sample_alphabet (Zipfian) in PO box rather than a uniform choice 2016-04-28 13:07:16 -04:00
Al
61f13d72f2 [points] Adding load method for point reverse geocoding 2016-04-28 13:05:39 -04:00
Al
0aabeab32f [fix] languages_intialized 2016-04-28 13:04:38 -04:00
Al
7f81e0ed5b [normalization] Adding default token options for numbers so we split alpha from numeric tokens and don't normalize digits 2016-04-28 13:03:36 -04:00
Al
974cef7ec4 [addresses] Fixing direction_probability, adding ability to have phrases which only apply to numbers, adding the possibility of null phrases to non-numeric "numbers" e.g. A-Z, etc. 2016-04-28 13:01:47 -04:00
Al
4a56c12881 [requirements] Adding numpy to Python repo's requirements (only needed for building libpostal, not for using it) 2016-04-28 12:59:05 -04:00
Al
116d45834f [intersections] Lower memory version of intersection freader 2016-04-28 12:58:36 -04:00
Al
bdd5fef957 [points] haversine distance in a different method 2016-04-28 12:17:37 -04:00
Al
1266f5e9b5 [gazetteers] moving PHRASE to a token type 2016-04-27 15:11:38 -04:00
Al
dff4a5e76e [fix] Removing YAML inheritance as it doesn't merge nested dictionaries 2016-04-27 15:10:08 -04:00
Al
169f1db3bd [fix] file rename 2016-04-27 02:21:15 -04:00
Al
923f314c1c [points] Adding point reverse geocoding index 2016-04-27 01:43:47 -04:00
Al
62c29a8406 [mv] Moving osm_admin_boundaries to just admin_boundaries 2016-04-27 00:10:45 -04:00
Al
dc73465bba [addresses] Using YAML inheritance instead of baking it into the config parser 2016-04-26 18:29:05 -04:00
Al
6076264cd4 [addresses] Generalizing the functions used for address configs so they can be reused for per-country OSM configs, etc. 2016-04-26 18:27:16 -04:00
Al
1a7c45013d [intersections] Intersections generator for OSM 2016-04-26 18:24:50 -04:00
Al
e86921c081 [neighborhoods] Moving neighborhoods index to its own package 2016-04-26 14:26:46 -04:00
Al
9890ad3811 [addresses] config for phrases around postcodes like CP in Spanish 2016-04-23 12:37:04 -04:00
Al
088152bdbf [fix] instance var 2016-04-23 12:35:09 -04:00
Al
cfad1df8cb [fix] import 2016-04-23 12:01:17 -04:00
Al
a065246e51 [fix] set 2016-04-22 16:49:45 -04:00
Al
87f9ec4227 [fix] chmod +x 2016-04-22 16:46:23 -04:00
Al
9b54fda8b2 [chains] Adding code to generate chain_stores repo TSV files from OSM 2016-04-22 16:45:28 -04:00
Al
907c8fe96d [addresses] /po_box/po_boxes/ 2016-04-20 17:07:39 -04:00
Al
6ff0b25f40 [addresses] Generate house number related phrases 2016-04-20 17:06:30 -04:00
Al
1eeda65cfd [dictionaries] /house_number/house_numbers/ 2016-04-20 15:57:12 -04:00
Al
dba8be445d [fix] None handling and number dictionaries 2016-04-20 14:59:54 -04:00
Al
901f720368 [addresses] different dictionaries for sampling cardinal/unit directions, not converting None to a string 2016-04-19 17:05:10 -04:00
Al
10320723b1 [dictionaries] Removing ambiguous abbreviations for flat 2016-04-19 17:02:58 -04:00
Al
38ec82a42b [addresses] Unit/apartment number generation 2016-04-19 17:01:24 -04:00
Al
1acf0d592b [addresses] sample positive floors 2016-04-19 16:59:16 -04:00
Al
868fcb752b [mv] Moving sampling to math.sampling 2016-04-19 11:57:42 -04:00
Al
ce2b2d9559 [addresses] Conjunction can be subclassed 2016-04-19 11:22:13 -04:00
Al
c92af0da78 [addresses] Adding ability to randomly append relative/cardinal directions 2016-04-19 11:21:23 -04:00
Al
450aee95c2 [addresses] Adding base class for numeric phrases (appended to a number using numeric/numeric_affix), using probability 1.0 if only one of numeric/numeric_affix/ordinal is specified 2016-04-19 11:07:25 -04:00