Commit Graph

127 Commits

Author SHA1 Message Date
Al
ba6ec40748 [addresses] Sample from higher floors in buildings higher than 10 stories since those are relatively rare and we get enough lower numbered floors from random sampling 2016-07-03 23:41:49 -04:00
Al
1c45163411 [addresses] Handling digit rewrites (spellout, Roman numerals, etc.) in the base class 2016-07-03 23:40:50 -04:00
Al
24c0622bce [addresses] Removing temporary file list and allowing any file ending in .yaml in resources/addresses to be parsed/imported 2016-07-03 23:38:15 -04:00
Al
085cae3407 [fix] components 2016-07-03 23:36:27 -04:00
Al
203980fe0f [addresses] Using Digits.rewrite in unit generation as well as adding a new config option for generating positive numbers only 2016-07-02 04:27:55 -04:00
Al
94b5d055f7 [addresses] Using Digits.rewrite for entrance, staircase, floor numbers, and PO boxes 2016-07-02 04:26:40 -04:00
Al
28f49f3eb7 [addresses] Adding Digits, which allows for replacing numbers with their unicode full-width equivalents or doing number spellout 2016-07-02 04:25:29 -04:00
Al
22524f7822 [addresses] Adding some of the new configs and returning None if no phrase alternatives exist 2016-07-02 04:24:07 -04:00
Al
5579156320 [addresses] Fixes for standalone components, conditional adds, and allowing generated unit numbers to use known floor number 2016-07-02 04:22:34 -04:00
Al
171a2c9b2f [addresses] Adding ability to determine unit numbers using a known floor number 2016-06-29 15:57:10 -04:00
Al
5b17a3a3ce [addresses] Roman numerals can be returned by Floor.random, relaxing the Zipfian distribution on floors so we get higher floors 2016-06-28 19:47:23 -04:00
Al
5e78f72fc7 [fix] a few errors with non-numbers in numeric_phrase 2016-06-28 13:08:38 -04:00
Al
4bbc52372c [addresses] Adding new configs 2016-06-27 03:06:54 -04:00
Al
0e7348abba [addresses] Implementing Roman numerals and cardinal/ordinal number spellout in numbering base class 2016-06-27 03:06:33 -04:00
Al
ee1326b15c [addresses] Russian address config 2016-06-26 01:25:27 -04:00
Al
414c2e9820 [addresses/dictionaries] Updates to Portuguese configs, variations for Brasil 2016-06-25 20:29:36 -04:00
Al
cf2ed2b299 [osm/addresses] using new is_numeric in AddressComponents expansion and removing venue names that are identical to the house number 2016-06-23 13:59:40 -04:00
Al
082dbe6dd2 [addresses] Implementing unit types which use concatenated floors with offsets for basement (e.g. Norway) 2016-06-16 01:45:43 +02:00
Al
1f08cce1a7 [addresses] Implementing number_min_abs_value, number_max_abs_value outside of number_abs_value constraint 2016-06-16 01:44:12 +02:00
Al
c76e7ab776 [addresses] Adding Portuguese sub-building config 2016-06-16 01:43:03 +02:00
Al
ccd1d4825c [addresses/units] Adding special handling for floor phrase + unit concatenation in the unit field (handles bruksenhetsnummer/bolignummer-style addresses in Norway) 2016-06-14 22:02:14 +02:00
Al
f02d393b90 [addresses] Adding null-phrase/null-phrase-alpha-only handling and zero padding to numbered components in sub-building configs 2016-06-14 21:53:43 +02:00
Al
e6ac8062d8 [addresses] adding nb.yaml to valid configs 2016-06-14 21:52:11 +02:00
Al
89c09fb8aa [addresses] Adding Danish config to parsed configs 2016-06-07 18:04:24 -04:00
Al
118bd95fed [addresses] Dutch address config 2016-06-01 16:47:57 -04:00
Al
010d03b55b [dictionaries] Updates to German dictionaries 2016-06-01 12:35:48 -04:00
Al
5af6546569 [addresses] French address levels alphanumeric 2016-05-31 16:07:58 -04:00
Al
9bf6018018 [addresses] Topological sort of address component dependencies so they get checked/removed in order 2016-05-31 16:01:49 -04:00
Al
4360f8b698 [addresses] Making address_language a classmethod 2016-05-31 01:20:05 -04:00
Al
5590c89a5e [addresses] Allowing null_phrase_probability for alpha, and alpha+digits instead of just for ordinals (mostly for Spain) 2016-05-27 13:40:38 -04:00
Al
5daa64faef [parser] Fixing config keys so OSM streets/venues get abbreviated. Selecting namespaced address fields in cases like Brussels or Hong Kong where everything is bilingual. Adding the ability to pass a known language into address component expansion 2016-05-26 12:05:46 -04:00
Al
206cd56cd2 [fix] moving language code replacements out of address components 2016-05-24 16:55:46 -04:00
Al
a5a24fb3b9 [fix] component bitsets 2016-05-24 13:07:32 -04:00
Al
cf2bbcb4e0 [fix] language format changes only apply to local languages 2016-05-24 12:59:32 -04:00
Al
aedb249ad7 [languages] Use English formats for Romanized CJK 2016-05-24 12:14:06 -04:00
Al
7186cf13de [fix] floor samples 2016-05-24 11:16:57 -04:00
Al
028b7a460e [fix] args 2016-05-23 17:42:34 -04:00
Al
dbc41a931b [subdivisions] Adding zone types 2016-05-23 14:45:55 -04:00
Al
b0f49db9be [fix] all_names returns a list not a set 2016-05-23 13:04:00 -04:00
Al
f20cff3b2a [osm] venue names 2016-05-23 12:51:28 -04:00
Al
85b3532333 [fix] language disambiguation 2016-05-23 11:54:36 -04:00
Al
bd341417a3 [languages] Adding script-only disambiguation 2016-05-23 11:42:42 -04:00
Al
c27a1ca450 [fix] dependencies 2016-05-23 05:12:12 -04:00
Al
007deafc73 [fix] drop invalid components 2016-05-23 05:09:25 -04:00
Al
e16bf93f2e [fix] args 2016-05-23 04:09:43 -04:00
Al
17d219d12c [fix] var name 2016-05-22 12:02:58 -04:00
Al
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. 2016-05-22 05:11:12 -04:00
Al
19a73e69f4 [fix] name error in neighborhoods 2016-05-22 03:31:00 -04:00
Al
df522f2517 [fix] import 2016-05-21 19:09:36 -04:00
Al
a4c215ce9a [fix] component dependencies 2016-05-21 19:06:39 -04:00