Tag Archives: Python

Formative DH Formalism

Following today’s stimulating DH panel “Getting Started in the Digital Humanities: A Multidisciplinary Perspective” at the Michigan State Libraries, I was left contemplating my own initial interest in DH.  Where did it come from? As an English undergrad and grad student in the early to mid aughts, I gave nary a thought to digital methods. It was only as a first-year student in a library and information science program that I began to see “technical skills” as, at least, a valuable addition to my resume. In an entry-level Python programming course, the instructor (the great Vetle Torvik) assigned us an open-ended project: Take what you’ve learned of Python and make something with it.

I realized at that moment that my natural inclinations took me back to literary studies. I also realized that my literary interests were especially compatible with digital work. I ended up writing a simple program that would re-create the analogue algorithm used by Jackson Mac Low to generate his poem “Call Me Ishmael” in a digital form. The algorithm Mac Low used works by generating an acrostic for each word in the first line of Moby-Dick (“Call me Ishamel”) such that the first line spells “call”, the second spells “me”, and the third spells “ishmael.” The process repeats, creating a series of 3-line stanzas, all of which spell Call Me Ishmael. What’s more, the words used to fill out this poetic form are also taken from Moby-Dick, in the order they appear in the text — a beautifully simple technique for capturing something of the ambience of Moby-Dick, but in a completely original form, leaving nothing (or everything) to chance.

The program I wrote allowed the user to submit any text, which would then be transformed into a poem following the same pattern. Of course, it’s a rather simple program (even if a bit hard to explain), but enlightening to me nonetheless. I quickly learned that the algorithm worked better with short, pithy opening lines, than even sentences of moderate length. Jane Eyre‘s “There was no possibility of taking a walk that day” already expands into rather an unwieldy poem.  But I also realized at that point how compatible interest in something like generative literature is with what we know as the digital humanities. Authors affiliated with the Oulipo school, for instance, would write works according to rules that guided the structure, diction, plot, and character of their works. In general, rules are highly amenable to digital instantiation and manipulation. Take this online manifestion of Raymond Queaneau’s canonical One Hundred Thousand Billion Sonnets as an example. Digital techniques can push us not only to reflect on the computationally tractable modes of authorship of the past, but suggest new forms and outlets for criticism and creativity. Christian Bök’s more recent investigations stretch the idea of literature, and of writing, in even more extreme directions, that suggest utopian/dystopian post-human futures.

Ultimately, DH, for me, is about estrangement, or, as the Russian formalists had it, ostranenie: to make language or the world strange again through the application of new frames, arrangements, constructions, combinations. I suggest we keep this principle of estrangement in mind as we define, and do work in, the digital humanities.

(In case anyone is interested, I’ll post the code for my Python script later in the day or tomorrow.)