Sunday, May 20, 2012

Automated iambic tweet poetry

Apparently, there is a 'bot out there that collates tweets that are iambic and constructs "twitter sonnets". This is from The Daily Dish:

From @Pentametron (aka. Ranjit Bhatnagar), the creator of the algorithm
Meet Pentametron. He’s a robotic Twitter account, but he’s not part of the spam variety – he turns tweets into Shakespeare-like poetry, using an algorithm to seek out and retweet the most poetic of our 140-character musings.
And, this is how this Twitter 'bot works:
“If [the algorithm] knows all the words, it checks the [Carnegie Mellon University dictionary] dictionary for the stress patterns of the words, which add up to the rhythm of the tweet. If the rhythm seems to match the pattern of iambic pentameter, the tweet goes into a bin of potential lines of poetry. On average, about one in every 50,000 tweets qualifies.”
So... pretty obvious, right? :)

Enjoy this other auto-sampled creation (with many more here):

Pentametron sonnet

No comments: