Menu

Plot Hole Studios

Ramblings of a rambler.

Generating UK Parliament Petitions using Markov Chaining

Okay so this is dumb but funny.

I recently noticed that my government’s online petition system┬áhas an API. Of course, the next logical step was to create software to generate petition titles automatically, so I pulled open my IDE and started work on something using everyone’s favourite throwing-stuff-together-quickly language, Python. If anything else, this should stand as a story of how absurdly easy it is to make things with Python, just by copying off of everyone else’s paper. (more…)