My first Twitter bot! I made a bot that randomly tweets entries from Thompson's Motif-Index of Folk Literature. It's intended for divination and creative problem solving, along the lines of Oblique Strategies. [more inside]
A markovian text generator, tweeting away, starting with the text, "As Gregor Samsa awoke ...". Code can be found at https://github.com/willf/microsoft_ngram (in the examples directory). Enjoy such gems as "As Gregor Samsa awoke one morning from uneasy dreams he found himself in charge of our financial system," "Gregor Samsa awoke…to find himself transformed into an enormous social mechanism for the centralisation of the New Zealand parliament," and "Gregor Samsa awoke from a night of clubbing former actress Lindsay Lohan."