I'm afraid my German isn't up to understanding your example text very
well, so it's hard to give an exact TEI recommendation. You seem to be
associating with some segments of the text a "function", a "who" and an
"object" -- from what theory do these properties derive? and how should
they be understood?
The TEI provides two ways of recording generic interpretations and
associating them with a text: using <span> (which points into the text)
and using <interp> (which the text points to). Which one is appropriate
for depends largely on convenience -- if you want to associate an
interpretation with most parts of your text, span is probably easier; if
your interpretations are fewer in number then <interp> may be easier.
<interp> also gives you greater delicacy of analysis.
you define an <interp> and point to it from the text.
So you might start by declaring
<interp xml:id="description">[explanation of the term
<interp xml:id="statement">[explanation of the term "statement"]</interp>
<interp xml:id="action">[explanation of the term "action"]</interp>
and then in the text annotate every stretch which you consider to be an
<s ana="#action">hits him on the nose</s>
("ana" is short for "analysis" rather than "annotate", but it means much
the same thing!)
If your analysis applies to a whole section of the text which is already
tagged, say a whole paragraph, then of course you don't need to add the
<s> to delimit it:
<p ana="#statement"> a whole paragraph which is a statement</p>
The same analysis can be applied to multiple paragraphs, of course.
<p ana="#descriptive"> a descriptive paragraph </p>
<p > not a descriptive paragraph</p>
<p ana="#descriptive"> another descriptive paragraph</p>
<span> is mostly useful where you have larger arbitrary sections to
<p xml:id="p1"> a descriptive paragraph </p>
<p xml:id="p2"> another descriptive paragraph</p>
<p xml:id="p3"> yet another descriptive paragraph</p>
<span from="#p1" to="#p3">descriptive stuff</span>
Both <span> and <interp> can be grouped together to form hierarchic
Have a look at http://www.tei-c.org/release/doc/tei-p5-doc/html/AI.html#AISP
for more details, but I hope this very general discussion is enough to
get you started...
Amélie Zöllner-Weber wrote:
> Dear Sirs,
> I have a small corpus of literary texts that I want to encode
> by the TEI. I am especially interessed in encoding text sections
> that are important for literary analysis. It would be very nice
> if I can mark sections according to descriptions or statements
> of literary characters, their actions and speeches. For analysing
> reasons it is also important to include information about the
> relations of the characters, like which character acts in relation to
> another. Here is an example of what I want to encode:
> <l><s function="statement" who="narrator"
> object="Mephistopheles">Er ist's!</s> am Baum hervor, aus Moos und
> <l><s function="description" who="narrator"
> object="Mephistopheles">Mit seiner Augen finsterem Geloder</s>,</l>
> <l><s function="action" who="Mephistopheles">Der
> Teufel blickt gewärtig und bereit</s>,</l>
> <l><s function="action" who="Mephistopheles"
> object="Faust">Und streckt sein Haupt in Faustens Einsamkeit</s>.</ l></lg>
> So, I want to ask if someone might have suggestions how to encode this.
> There might be completely different ways to encode the texts as well,
> by for instance by using feature structures. It would be very
> interesting to know how other projects have encoded texts for literary
> Yours sincerely,
> Amélie Zöllner-Weber