Commit Graph

14 Commits

Author SHA1 Message Date
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
dc72ee2ea5 [numbering] Adding ability to have alpha-specific config (phrases that only apply to lettered apartments, etc.) 2016-05-20 14:04:52 -04:00
Al
cd61a0139c [fix] handling None return values e.g. for languages with no configs yet 2016-05-20 04:04:46 -04:00
Al
59be3414ce [addresses] Updates to unit directional probabilities and adding quadrant addresses for units like 1RF 2016-05-19 14:44:35 -04:00
Al
a20b43cd28 [addresses] only use ordinal for digits 2016-05-19 02:40:19 -04:00
Al
fc94753481 [po boxes] random PO box generation 2016-05-18 00:43:01 -04:00
Al
d64af86fa7 [numbering] choose_alphanumeric_type for base NumericPhrase 2016-05-05 15:45:51 -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
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
868fcb752b [mv] Moving sampling to math.sampling 2016-04-19 11:57:42 -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
2a570481ba [addresses] implementing null_probability (raw number, no phrase), orindal genders, and direction_probability 2016-04-15 03:25:41 -04:00
Al
f0ac3522da [addresses] base class for numbered components (floors, units, house numbers in some languages/countries). Can generate many variants of a number (e.g. Floor 2, 2nd Floor, Floor #2, Floor No. 2, etc.) 2016-04-14 01:17:43 -04:00