TEI

Time

DH 190: Scholarly Text Encoding

Week 4 // February 2, 2016

Prof. Mackenzie Brooks

What is the TEI?

"a markup language for representing the structural, renditional, and conceptual features of texts. They focus (though not exclusively) on the encoding of documents in the humanities and social sciences, and in particular on the representation of primary source materials for research and analysis."

http://www.tei-c.org/Guidelines/

Poughkeepsie Principles (1987)

  • Provide a standard format for data interchange;
  • Provide guidance for encoding of texts in this format;
  • Support the encoding of all kinds of features of all kinds of texts studied by researchers;
  • Allow the rigorous definition and efficient processing of texts;
  • Provide for user-defined extensions;
  • Be application independent;
  • Be simple, clear, and concrete;
  • Be simple for researchers to use without specialized software.

21 modules

 

503 elements

1 The TEI Infrastructure
2 The TEI Header
3 Elements Available in All TEI Documents
4 Default Text Structure
5 Characters, Glyphs, and Writing Modes
6 Verse
7 Performance Texts
8 Transcriptions of Speech
9 Dictionaries
10 Manuscript Description
11 Representation of Primary Sources
12 Critical Apparatus
13 Names, Dates, People, and Places
14 Tables, Formulæ, Graphics and Notated Music
15 Language Corpora
16 Linking, Segmentation, and Alignment
17 Simple Analytic Mechanisms
18 Feature Structures
19 Graphs, Networks, and Trees
20 Non-hierarchical Structures
21 Certainty, Precision, and Responsibility
22 Documentation Elements
23 Using the TEI

TEI

Modules

Also

The Text Encoding Initiative is a consortium of organizations and a community of users.

Why do we need the TEI?

  • To store information for the long term
  • To analyze information
  • To share information

Why the TEI?

  1. All texts are encoded.
  2. Texts need to be decoded by human beings.
  3. Texts need to be re-encoded using an unambiguous code that is shared by humans and machines.

Or...

Basic document structure

<TEI>
    <teiHeader>
        <!---...-->
    </teiHeader>
    <text>
        <!--...-->
    </text>
</TEI>

Activity #1

  1. Pick a text.
  2. Download the XML and open it Oxygen.
  3. From the menu, follow Window > Show View > Outline. What does this tell you about how your document in structured?
  4. From the menu, follow Window > Show View > Model. How can this window aid your work?
  5. What TEI modules are at work in your document?
  6. Start identifying elements in your document. Why are they there?

Then the king begins to work his jaw again, and says how him and his nieces would be glad if a few of the main principal friends of the family would take supper here with them this evening, and help set up with the ashes of the diseased; and says if his poor brother laying yonder could speak he knows who he would name, for they was names that was very dear to him, and mentioned often in his letters; and so he will name the same, to wit, as follows, vizz.:—Rev. Mr. Hobson, and Deacon Lot Hovey, and Mr. Ben Rucker, and Abner Shackleford, and Levi Bell, and Dr. Robinson, and their wives, and the widow Bartley.

  1. Encode this text as a paragraph of prose.
  2. Indicate that this paragraph is written in English
  3. Indicate that this is paragraph no. 9
  4. Encode 'Mr.' and 'Dr.' as abbreviations with their corresponding expansions
  5. Encode all the names with the appropriate tag and @type attribute
  6. Add a footnote to the paragraph quoting the bibliographical information given in the bibliography further on.

How do I love thee?
How do I love thee? Let me count the ways.
I love thee to the depth and breadth and height
My soul can reach, when feeling out of sight
For the ends of Being and ideal Grace.

 I love thee to the level of everyday's
Most quiet need, by sun and candle-light.
I love thee freely, as men strive for Right;
I love thee purely, as they turn from Praise.

 I love thee with a passion put to use
In my old griefs, and with my childhood's faith.
I love thee with a love I seemed to lose
With my lost saints, --- I love thee with the breath,
Smiles, tears, of all my life! --- and, if God choose,
I shall but love thee better after death.

 
  1. Structure the lines into lines and line groups
  2. Indicate the rhyming words
  3. Indicate the rhyme patterns
  4. Indicate enjambements and caesurae
  5. Perform a metrical analysis

Assignments

  • Finish any in-class exercises and email XML to Prof. Brooks by 8am on 2/8

 

  • Start working on manuscript analysis, due 2/11. This is a group assignment. Prof. McCormick can help you with manuscript analysis. Prof. Brooks can help you with the research.

DH 190 Week 4

By Mackenzie Brooks

DH 190 Week 4

Introduction to the TEI

  • 1,316