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
|
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 |
|
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 |
|
Al
|
fe006e0d62
|
[addresses] utilities for sampling from an arbitrary discrete distribution, building cumulative distributions, and sampling from a Zipfian distribution which seems to be a reasonable way of generating plausible apartment/floor numbers when the height/number of units is unknown. Picking a letter uniformly at random means P('Unit A') == P('Unit Z') when 'A' should be much more likely. Sampling from a Zipfian gets the desired effect in situations where address components are numbered by "counting from 0/1/A" while still allowing for a long tail
|
2016-04-14 01:13:39 -04:00 |
|
Al
|
58feeab714
|
[addresses] address config class for general sampling of forms specified in the address configs (default/alternatives to choose a phrase, canonical/abbreviated/sample to choose an abbreviation or surface form for that phrase)
|
2016-04-14 01:06:54 -04:00 |
|