Hacker News new | ask | show | jobs
by holdenc137 1486 days ago
The generation of the 'script' uses a kind of L-System - like production rules. There's a big file along the lines of:

[the podcast] = [intro] [main body] [outro]

[main body] = [main prediction] [lucky colours] [alibi] etc

// these rules finally break down to text, eg

[main prediction start] = "A bite from a wild animal" or "A chance encounter"ยง

So the script has lots of combinations and is semi random - but it should always make sense.