2034 Commits

Author SHA1 Message Date
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
Al
1b2e92dc14 [fix] polygons 2016-04-19 10:15:31 -04:00
Al
9abc679f09 [fix] typo 2016-04-19 00:53:39 -04:00
Al
47ffd18c8c [polygons] Adding __iter__ and __len__ to polygon index and keeping track of the number of polygons for iteration 2016-04-19 00:42:57 -04:00
Al
2a570481ba [addresses] implementing null_probability (raw number, no phrase), orindal genders, and direction_probability 2016-04-15 03:25:41 -04:00
Al
430ad2e187 [numbers] suffixed_number 2016-04-15 02:04:58 -04:00
Al
028dbacc87 [dictionaries] making entrances/postcodes plural for consistency 2016-04-15 01:10:03 -04:00
Al
883ef2ec56 [dictionaries] Moving intersections to cross streets 2016-04-14 17:53:45 -04:00
Al
5850793768 [expansion] Add postcode dictionary to gazetteer types 2016-04-14 14:33:02 -04:00
Al
6babbfaf02 [addresses] generator for floor numbers as well as special aliases like basement, mezzanine, etc. using the address configs 2016-04-14 14:22:08 -04:00
Al
36b3d515ad [expansion] Modifying the Python gazetteers to use new dictionaries API 2016-04-14 14:17:09 -04:00
Al
2ff4940e36 [expansion] Adding number and intersections to dictionary types 2016-04-14 14:15:33 -04:00
Al
49b02796c0 [addresses] Adding abbreviations as a separate module so it can be used with multiple data sets 2016-04-14 03:10:01 -04:00
Al
a6553b77d3 [addresses] PO Box phrase generator 2016-04-14 02:38:45 -04:00
Al
d29ade7210 [addresses] conjunction class for building phrases like "5th and 6th" or "Units 1 & 2" across languages using the address configs 2016-04-14 01:21:44 -04:00