Automatically Generated Irish Lit AutoTweets

This page provides background information about the IrishLitTweets Twitter account and the Automated Irish Literature Discourses Tumblr account, both of which contain automatically generated text based on course-related writing that I did when I was a TA for a course in Anglo-Irish literature during the fall quarter of 2013 at UC Santa Barbara. The automatically generated text is sometimes gibberish and sometimes funny. Occasionally, it's even rather surprising or insightful. The project itself was thrown together quickly because I needed a break from more substantial work.

The tweets at @IrishLitTweets are generated by a wonderful program called DadaDodo, which describes itself in terms of William S. Burroughs's cut-ups, hypertext, musical sampling, programmatic computational dissociation, and other things. DadoDodo generates them based on its textual analysis of all electronically captured writing that I did over the course of fall quarter 2013. DadaDodo's analysis transformed the aggregate text that I'd captured into Markov chains that indicate the frequency which which given chunks of text follow each other in the reference corpus. The corpus analyzed, after some massaging (removing student names and grades, for instance, and making an automated minimalist effort to remove duplicated text that was cut and pasted), consisted of 117,018 words. Before massaging, the corpus consisted of text from the following sources:

Despite this, there are of course many words that went into teaching this course that were not captured or included in the corpus: handwritten margin comments on student papers, for instance, and everything that I said verbally.

The script on my laptop that produces the tweets simply invokes DadaDodo to produce a tweet, makes sure the generated text meets specific criteria, and sends the first tweet that it generates that meets those criteria over to Twitter. More information about this script is available in the technical write-up; you can also take a look at the script itself (it's written in Python 2.7.6) on GitHub.

In summary, then, the Twitter stream consists of more or less randomly generated text that's based on a statistical analysis of text that I typed. It bears some difficult-to-determine relationship to the hours and hours and hours and hours of writing that I actually did in the course of teaching during fall quarter of 2013. About all that can really be said about the tweets is that, for each pair of consecutive words in a tweet, that pair of words actually occurred, sequentially, in that order, next to each other, at some point in the writing that I performed that was incorporated into the corpus. Probably. Assuming that I understand the documentation for the program that actually generates the text that gets tweeted. If you want to read more about my reservations about the automatically generated text, there's a bit here.

The script that writes the tweets at @IrishLitTweets actually generates a lot of text that doesn't get used. This text is collected and automatically posted at irregular intervals to the Automated Irish Literature Discourses. There's more information about that in technical write-up, too.

The content of the Twitter stream is actually generated by a script running on my laptop, so this content is only updated when my computer is on and connected to the Internet. My computer is on most of the time but does get moved around, and if it's not on, no updates happen. If you're not seeing updates, this is probably why, although if you don't see updates for a very long time, I'd appreciate hearing about it. (You can tweet at my personal Twitter account to get my attention; I don't really monitor tweets at the @IrishLitTweets Twitter account closely, though I'd probably notice eventually if you sent something.)

You can read more about the technical aspects of the text generation, if you'd like. You're welcome to download and adapt the script that's used there, subject to certain conditions. If you find the script helpful or the Twitter account amusing, you're welcome to Flattr me, if you'd like, and I'd appreciate that. (I'm a grad student, and money is always appreciated.) If you do anything useful with it or have suggestions for improvement, why, I'd love to hear about that, too. (Again, you can tweet at my personal Twitter account, or there are a number of other ways to reach me.)

You can find me on various other places on the Internet.