Assorted Text Generation
version 4 by Emily Short
Section 3 - Proportional Phrases
To say (N - a number) as a proportion:
if N is greater than 100:
say "*** BUG: [N] being printed as a percentage ***";
repeat through the Table of Proportions:
if N is less than threshold entry:
say "[approximation entry]";
rule succeeds.
Table of Proportions
| threshold | approximation |
| 1 | " none" |
| 15 | " almost none" |
| 30 | " [about] a quarter" |
| 40 | " [about] a third" |
| 60 | " [about] half" |
| 70 | " [about] two thirds" |
| 85 | " [about] three quarters" |
| 100 | " almost all" |
| 101 | " all" |
To say about:
say "[one of]about[or]around[or]approximately[or]roughly[at random]";