Mar 232012
 

I just finished Pentametron: a twitter bot that sifts through about 5 million tweets a day, collecting just the ones that happen to be in iambic pentameter. The result is a sort of collective nonsense poem from the internet’s endless flows of language. You can follow Pentametron in realtime on twitter – @pentametron – or read the collected tweets in sonnet form at pentametron.com, updated several times per hour.

Pentametron is written in PHP and uses @fennb’s Phirehose library to access twitter’s streaming API at a rate of 40-60 tweets per second.

 Posted by at 5:36 pm