Commit Graph

22 Commits

Author SHA1 Message Date
Al
d09e0ca966 [addresses] Implementing whitespace_probability and ordinal_suffix probability for Roman numerals 2016-07-04 18:09:26 -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
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
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
0e7348abba [addresses] Implementing Roman numerals and cardinal/ordinal number spellout in numbering base class 2016-06-27 03:06:33 -04: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
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
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