Editing Modernism in Canada

Archives

Posts Tagged ‘Text Encoding Fundamentals’

June 28, 2010


Versioning Livesay’s “Spain”

G’Day Folks;

I hope you are all finding your way into summer mode since returning from UVic. I had my first lake swim of the summer on Friday afternoon. It was glorious.

I’ve not had a single sighting of a bunny since my return…I got used to them but now they are strange again. Ok; on to DEMiC things…

One of my main interests in approaching TEI and XML is how to present non-hierarchical versions of texts (mostly poems, I guess) within an explicitly hierarchical encoding structure. As a result, I am less interested at this point in the issues of explanatory mark-up and more interested in structural issues.

I figured that Dorothy Livesay’s poem “Spain” would work as a good text to play with and try out multiple methods of editing. After trying a couple of different things, I decided to work with a form of layered parallelisms: at the level of the poem as a whole; at the level of stanzas; and, at the level of the individual line. I took six different versions of the poem and included them all in my XML document:

<body>
<head corresp=”#spain”>Spain<lb></lb>by Dorothy Livesay</head>
<div xml:id=”nf” type=”poem”>
<head><emph rend=”italics”>New Frontier </emph>Version</head>
<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”nfs.01″>
<lb/><l xml:id=”nfl.01″>When the bare branch responds to leaf and <rhyme label=”a”>light</rhyme>,</l>
<lb/><l xml:id=”nfl.02″>Remember them! It is for this they <rhyme label=”a”>fight</rhyme>.</l>
<lb/><l xml:id=”nfl.03″>It is for hills uncoiling and the green <rhyme label=”b”>thrust</rhyme></l>
<lb/><l xml:id=”nfl.04″>Of spring, that they lie choked with battle <rhyme label=”b”>dust</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”nfs.02″>
<lb/><l xml:id=”nfl.05″>You who hold beauty at your finger <rhyme label=”a”>tips</rhyme></l>
<lb/><l xml:id=”nfl.06″>Hold it, because the splintering gunshot <rhyme label=”a”>rips</rhyme></l>
<lb/><l xml:id=”nfl.07″>Between your comrades’ eyes: hold it, <rhyme label=”b”>across</rhyme></l>
<lb/><l xml:id=”nfl.08″>Their bodies’ barricade of blood and <rhyme label=”b”>loss</rhyme></l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”nfs.03″>
<lb/><l xml:id=”nfl.09″>You who live quietly in sunlit <rhyme label=”a”>space</rhyme></l>
<lb/><l xml:id=”nfl.10″>Reading the <rs type= “newspaper”>Herald</rs> after morning <rhyme label=”a”>grace</rhyme>,</l>
<lb/><l xml:id=”nfl.11″>Can count peace dear, when it has <rhyme label=”b”>driven</rhyme></l>
<lb/><l xml:id=”nfl.12″>Your sons to struggle for this grim, new <rhyme label=”b”>heaven</rhyme>.</l></lg></lg>
</div>
<div xml:id=”mq” type=”poem”>
<head><emph rend=”italics”>Marxist Quarterly </emph>Version</head>
<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”mq.01″>
<lb/><l xml:id=”mql.01″>When the bare branch responds to leaf and <rhyme label=”a”>light</rhyme>,</l>
<lb/><l xml:id=”mql.02″>Remember them! It is for this they <rhyme label=”a”>fight</rhyme>.</l>
<lb/><l xml:id=”mql.03″>It is for hills uncoiling and the green <rhyme label=”b”>thrust</rhyme></l>
<lb/><l xml:id=”mql.04″>Of spring, that they lie choked with battle <rhyme label=”b”>dust</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”mqs.02″>
<lb/><l xml:id=”mql.05″>You who hold beauty at your finger <rhyme label=”a”>tips</rhyme></l>
<lb/><l xml:id=”mql.06″>Hold it, because the splintering gunshot <rhyme label=”a”>rips</rhyme></l>
<lb/><l xml:id=”mql.07″>Between your comrades’ eyes: hold it, <rhyme label=”b”>across</rhyme></l>
<lb/><l xml:id=”mql.08″>Their bodies’ barricade of blood and <rhyme label=”b”>loss</rhyme></l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”mqs.03″>
<lb/><l xml:id=”mql.09″>You who live quietly in sunlit <rhyme label=”a”>space</rhyme></l>
<lb/><l xml:id=”mql.10″>Reading the <rs type= “newspaper”><emph rend=”italics”>Herald</emph></rs> after morning <rhyme label=”a”>grace</rhyme>,</l>
<lb/><l xml:id=”mql.11″>Can count peace dear, when it has <rhyme label=”b”>driven</rhyme></l>
<lb/><l xml:id=”mql.12″>Your sons to struggle for this grim, new <rhyme label=”b”>heaven</rhyme>.</l></lg></lg>
</div>
<div xml:id=”cpts” type=”poem”>
<head><emph rend=”italics”>Collected Poems </emph>Version</head>
<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”cptss.01″>
<lb/><l xml:id=”cptsl.01″>When the bare branch responds to leaf and <rhyme label=”a”>light</rhyme></l>
<lb/><l xml:id=”cptsl.02″>Remember them: It is for this they <rhyme label=”a”>fight</rhyme>.</l>
<lb/><l xml:id=”cptsl.03″>It is for haze-swept hills and the green <rhyme label=”b”>thrust</rhyme></l>
<lb/><l xml:id=”cptsl.04″>Of pine, that they lie choked with battle <rhyme label=”b”>dust</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”cptss.02″>
<lb/><l xml:id=”cptsl.05″>You who hold beauty at your finger-<rhyme label=”a”>tips</rhyme></l>
<lb/><l xml:id=”cptsl.06″>Hold it because the splintering gunshot <rhyme label=”a”>rips</rhyme></l>
<lb/><l xml:id=”cptsl.07″>Between your comrades’ eyes; hold it <rhyme label=”b”>across</rhyme></l>
<lb/><l xml:id=”cptsl.08″>Their bodies’ barricade of blood and <rhyme label=”b”>loss</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”cptss.03″>
<lb/><l xml:id=”cptsl.09″>You who live quietly in sunlit <rhyme label=”a”>space</rhyme></l>
<lb/><l xml:id=”cptsl.10″>Reading The <rs type= “newspaper”>Herald</rs> after morning <rhyme label=”a”>grace</rhyme></l>
<lb/><l xml:id=”cptsl.11″>Can count peace dear, when it has <rhyme label=”b”>driven</rhyme></l>
<lb/><l xml:id=”cptsl.12″>Your sons to struggle for this grim, new <rhyme label=”b”>heaven</rhyme>.</l></lg></lg>
</div>
<div xml:id=”cvii” type=”poem”>
<head><emph rend=”italics”>CV/II </emph>Version</head>
<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”cviis.01″>
<lb/><l xml:id=”cviil.01″>When the bare branch responds to leaf and <rhyme label=”a”>light</rhyme>,</l>
<lb/><l xml:id=”cviil.02″>Remember them: It is for this they <rhyme label=”a”>fight</rhyme>.</l>
<lb/><l xml:id=”cviil.03″>It is for hills uncoiling and the green <rhyme label=”b”>thrust</rhyme></l>
<lb/><l xml:id=”cviil.04″>Of spring, that they lie choked with battle <rhyme label=”b”>dust</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”cviis.02″>
<lb/><l xml:id=”cviil.05″>You who hold beauty at your finger-<rhyme label=”a”>tips</rhyme></l>
<lb/><l xml:id=”cviil.06″>Hold it because the splintering gunshot <rhyme label=”a”>rips</rhyme></l>
<lb/><l xml:id=”cviil.07″>Between your comrades’ eyes: hold it, <rhyme label=”b”>across</rhyme></l>
<lb/><l xml:id=”cviil.08″>Their bodies’ barricade of blood and <rhyme label=”b”>loss</rhyme>.</l></lg></lg>

<lg type=”stanza” subtype=”quatrain” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”cviis.03″>
<lb/><l xml:id=”cviil.09″>You who live quietly in sunlit <rhyme label=”a”>space</rhyme></l>
<lb/><l xml:id=”cviil.10″>Reading the <rs type= “newspaper”>Herald</rs> after morning <rhyme label=”a”>grace</rhyme></l>
<lb/><l xml:id=”cviil.11″>Can count peace dear, if it has <rhyme label=”b”>driven</rhyme></l>
<lb/><l xml:id=”cviil.12″>Your sons to struggle for this grim, new <rhyme label=”b”>heaven</rhyme>.</l></lg></lg>
</div>
<div xml:id=”rmos” type=”poem”>
<head><emph rend=”italics”>Red Moon Over Spain </emph>Version</head>
<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”rmoss.01″>
<lb/><l xml:id=”rmosl.01″>When the bare branch responds to leaf and <rhyme label=”a”>light</rhyme>,</l>
<lb/><l xml:id=”rmosl.02″>Remember them! It is for this they <rhyme label=”a”>fight</rhyme>.</l>
<lb/><l xml:id=”rmosl.03″>It is for hills uncoiling and the green <rhyme label=”b”>thrust</rhyme></l>
<lb/><l xml:id=”rmosl.04″>Of spring, that they lie choked with battle <rhyme label=”b”>dust</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”rmoss.02″>
<lb/><l xml:id=”rmosl.05″>You who hold beauty at your finger <rhyme label=”a”>tips</rhyme></l>
<lb/><l xml:id=”rmosl.06″>Hold it, because the splintering gunshot <rhyme label=”a”>rips</rhyme></l>
<lb/><l xml:id=”rmosl.07″>Between your comrades’ eyes: hold it, <rhyme label=”b”>across</rhyme></l>
<lb/><l xml:id=”rmosl.08″>Their bodies’ barricade of blood and <rhyme label=”b”>loss</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”rmoss.03″>
<lb/><l xml:id=”rmosl.09″>You who live quietly in sunlit <rhyme label=”a”>space</rhyme></l>
<lb/><l xml:id=”rmosl.10″>Reading the <rs type= “newspaper”><emph rend=”italics”>Herald</emph></rs> after morning <rhyme label=”a”>grace</rhyme>,</l>
<lb/><l xml:id=”rmosl.11″>Can count peace dear, when it has <rhyme label=”b”>driven</rhyme></l>
<lb/><l xml:id=”rmosl.12″>Your sons to struggle for this grim new <rhyme label=”b”>heaven</rhyme>.</l></lg></lg>
</div>
<div xml:id=”sis” type=”poem”>
<head><emph rend=”italics”>Sealed in Struggle </emph>Version</head>
<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”siss.01″>
<lb/><l xml:id=”sisl.01″>When the bare branch responds to leaf and <rhyme label=”a”>light</rhyme></l>
<lb/><l xml:id=”sisl.02″>Remember them: It is for this they <rhyme label=”a”>fight</rhyme>.</l>
<lb/><l xml:id=”sisl.03″>It is for haze-swept hills and the green <rhyme label=”b”>thrust</rhyme></l>
<lb/><l xml:id=”sisl.04″>Of pine, that they lie choked with battle <rhyme label=”b”>dust</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”siss.02″>
<lb/><l xml:id=”sisl.05″>You who hold beauty at your finger-<rhyme label=”a”>tips</rhyme></l>
<lb/><l xml:id=”sisl.06″>Hold it because the splintering gunshot <rhyme label=”a”>rips</rhyme></l>
<lb/><l xml:id=”sisl.07″>Between your comrades’ eyes; hold it <rhyme label=”b”>across</rhyme></l>
<lb/><l xml:id=”sisl.08″>Their bodies’ barricade of blood and <rhyme label=”b”>loss</rhyme>.</l></lg></lg>

<lg type=”stanza” rhyme=”aabb”><lg subtype=”quatrain” xml:id=”siss.03″>
<lb/><l xml:id=”sisl.09″>You who live quietly in sunlit <rhyme label=”a”>space</rhyme></l>
<lb/><l xml:id=”sisl.10″>Reading The <rs type= “newspaper”>Herald</rs> after morning <rhyme label=”a”>grace</rhyme>,</l>
<lb/><l xml:id=”sisl.11″>Can count peace dear, when it has <rhyme label=”b”>driven</rhyme></l>
<lb/><l xml:id=”sisl.12″>Your sons to struggle for this grim, new <rhyme label=”b”>heaven</rhyme>.</l></lg></lg>
</div>
</body>

In the back material I included some basic bibliographic material (which certainly needs to be beefed up) as well as a more complex set of link targets that allow for the parallel structure:

<listBibl>
<bibl corresp=”#nf”>
<author corresp=”#dorothylivesay”>Dorothy Livesay</author>
<title>New Fronier</title>
<date>1937</date>
</bibl>
<bibl corresp=”#mq”>
<author corresp=”#dorothylivesay”>Dorothy Livesay</author>
<title>Marxist Quarterly</title>
<date>1966</date>
</bibl>
<bibl corresp=”#cpts”>
<author corresp=”#dorothylivesay”>Dorothy Livesay</author>
<title>Collected Poems</title>
<date>1972</date>
</bibl>
<bibl corresp=”#cvii”>
<author corresp=”#dorothylivesay”>Dorothy Livesay</author>
<title>CV/II</title>
<date>1976</date>
</bibl>
<bibl corresp=”#rmos”>
<author corresp=”#dorothylivesay”>Dorothy Livesay</author>
<title>Red Moon Over Spain</title>
<date>1988</date>
</bibl>
<bibl corresp=”#sis” >
<author corresp=”#dorothylivesay”>Dorothy Livesay</author>
<title>Sealed in Struggle</title>
<date>1995</date>
</bibl>
</listBibl>

<div>
<linkGrp type=”alignment”>
<link targets=”#nf #mq #cpt #cvii #rmos #sis”/>
<link targets=”#nfs.01 #mqs.01 #cptss.01 #cviis.01 #rmoss.01 #siss.01″/>
<link targets=”#nfs.02 #mqs.02 #cptss.02 #cviis.02 #rmoss.02 #siss.02″/>
<link targets=”#nfs.03 #mqs.03 #cptss.03 #cviis.03 #rmoss.03 #siss.03″/>
<link targets=”#nfl.01 #mql.01 #cptsl.01 #cviil.01 #rmosl.01 #sisl.01″/>
<link targets=”#nfl.02 #mql.02 #cptsl.02 #cviil.02 #rmosl.02 #sisl.02″/>
<link targets=”#nfl.03 #mql.03 #cptsl.03 #cviil.03 #rmosl.03 #sisl.03″/>
<link targets=”#nfl.04 #mql.04 #cptsl.04 #cviil.04 #rmosl.04 #sisl.04″/>
<link targets=”#nfl.05 #mql.05 #cptsl.05 #cviil.05 #rmosl.05 #sisl.05″/>
<link targets=”#nfl.06 #mql.06 #cptsl.06 #cviil.06 #rmosl.06 #sisl.06″/>
<link targets=”#nfl.07 #mql.07 #cptsl.07 #cviil.07 #rmosl.07 #sisl.07″/>
<link targets=”#nfl.08 #mql.08 #cptsl.08 #cviil.08 #rmosl.08 #sisl.08″/>
<link targets=”#nfl.09 #mql.09 #cptsl.09 #cviil.09 #rmosl.09 #sisl.09″/>
<link targets=”#nfl.10 #mql.10 #cptsl.10 #cviil.10 #rmosl.10 #sisl.10″/>
<link targets=”#nfl.11 #mql.11 #cptsl.11 #cviil.11 #rmosl.11 #sisl.11″/>
<link targets=”#nfl.12 #mql.12 #cptsl.12 #cviil.12 #rmosl.12 #sisl.12″/>
</linkGrp>
</div>

“s” stands for stanza and “l” stands for line within the “link targets”

Although not written into the XML file, this parallel structure allows for the POTENTIAL versioning of the poem within a web-based interface. In other words, I think I am creating a non-hierarchical BASE for future application. As I said, I THINK I am creating a non-hierarchical BASE… am I?


June 8, 2010


To infini-TEI and beyond

Jetlag keeps knocking me out before I can write anything on this beautiful new version of the EMiC community site, but I’ve finally managed to get my act together to post something …

Ever since reading about DHSI in the Chronicle of Higher Ed as “Summer Camp for Digital Humanists”, I’ve wanted to come here and hang out with a community of people who not only have the sharp critical intelligence borne of literary and humanistic training, but who can also do neat stuff with machines, and who don’t see an entrenched opposition between humanistic and computational analysis. To be able to attend DHSI with many of the other EMiC-ites makes the experience even richer. Working on Canadian material across the Atlantic, I rarely get the chance to be in the same room with more than two people who have even heard of the writers I study. It’s a rare pleasure to spend a week with people who have not only heard of the obscure authors whose work and lives fascinate me, but who are also enthusiastic about the potential of digital humanities tools to discover new things about this period of literary history that would be harder to find with the conventional analytical tools of literary analysis.

So far, DHSI has delivered on all my expectations and more. By the end of our first day of Text Encoding Fundamentals we’d already started to mark up our texts with XML. I launched merrily into letter #1 from the collection of correspondence I’ve begun to gather from archives around Canada, and immediately ran into half a dozen problems. How do you encode a date when you can’t be sure of the exact year? What if there is a paragraph break in the middle of the address from which the letter was sent? But Julia and Syd sorted most of them out. It’s exciting to finally get the encoding underway, and also reassuring that using Oxygen turns out to be as easy as falling off a log.

This morning I am looking forward to hearing Emily’s paper on the P.K. Page digital edition, and Hannah’s on attempting to unravel the authorship of Martha Ostenso’s works using stylistics analysis. If I had another research life to live over I would be a forensic linguist. (Why aren’t there CSI-style TV shows about forensic linguists? There really should be.)

Side project, if I can stay awake long enough in the evenings: learning Python from the Programming Historian site Dean told us about at TEMiC. Anyone want to join me?


June 7, 2010


Initial Reflections from Day One: Lunch

Here it is, lunchtime on day one of the DHSI.  As I happily munch on lunch with my fellow roommates, I feel a tinge of jealousy that I can’t retake the TEI Fundamentals course.  This year, we are lucky enough to have 14 of the 19 EMiC participants enrolled in that class.  Having that large a group to commiserate with is very helpful at the early stages of learning a new language.  As P.K. Page struggles and goes silent because of the overwhelming nature of learning Portuguese in Brazil, so I too struggled with learning a language of angle brackets and abbreviations that has been a bit suppressed since my last visit to Victoria.

Returning now with a fresh face, I feel re-engaged with the digital tools.  My new course, Transcribing Primary Sources, is much more invested in the bibliographic and social text features of the text.  Matt just spent half an hour talking about all the ways you can describe the scribes who wrote the text and how to mark specific regional geography to “map” the transmission of the text.  How awesome is that?

Because lunch is fast wrapping up, the last piece of news I want to share is about our afternoon project.  I am doing digital mark-up fill in the blank!  This guy definitely understands my abilities.  I get to go hunting for the right information, but I also have the safety blanket of knowing that in this case there is a “right answer” which I can try to find.

Back to work, and I can’t wait to talk (and read!) about your experiences at DEMiC today!