<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="../stylesheets/yaps-tei.css"?>
<?oxygen RNGSchema="../schema/yaps.rnc" type="compact"?>
<?oxygen SCHSchema="../schema/yaps.sch"?>
<TEI xmlns="http://www.wwp.brown.edu/ns/yaps/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>Basic Tagging</title>
        <author>Julia Flanders</author>
      </titleStmt>
      <xi:include href="./boilerplate_publicationStmt.xml">
        <xi:fallback>
          <publicationStmt status="restricted">
            <note type="auto">WARNING: XInclude processing failed &#x2014; this file should not be copied or
            used (and is invalid) as a result.</note>
          </publicationStmt>
        </xi:fallback>
      </xi:include>
      <sourceDesc>
        <p>This is the source.</p>
        <p>Based on the same talk at UCLA, <date>2007-05</date>.</p>
      </sourceDesc>
    </fileDesc>
    <revisionDesc>
      <change when="2008-06-18" who="#sbauman.emt">added plain-text
      version of first example; removed numeric character references
      in examples as JF had for UW.</change>
      <change>added encoding showing list example</change>
      <change>automatically converted from
        presentation.odd conforming to yaps.odd conforming using p2y.xslt and
        p2y.perl</change>
      <change>Replaced first slide with an
      example</change>
    </revisionDesc>
  </teiHeader>
  <text>
    <presentation>
      <section>
        <head>A Sample Text Fragment</head>
        <slide>
          <p>
            <eg>&#xA0;&#xA0;&#xA0;&#xA0;<hi rend="class(interest)">Chapter 1: The Manor House</hi>
              
&#xA0;&#xA0;Charles hadn’t visited the manor house since Easter,
1955, and now he remembered why.
              
&#xA0;&#xA0;“Hullo”, he called out as he walked up the drive, and
then, as if to himself, “To be or not to be?, to walk or not to
walk...oh, hang it all!” His meditation on Hamlet was interrupted
as he collided with a peacock. “Sacré bleu!” he exclaimed with
irritation, his sang-froid completely deserting him. It was going
to be a long week. His catalog of irritations included:
&#xA0;&#xA0;1. The weather
&#xA0;&#xA0;2. The peacocks
&#xA0;&#xA0;3. His meagre grasp of French</eg>
          </p>
        </slide>
      </section>
      
      <section>
        <head>Basic Prose Tagging</head>
        <slide>
          <p>Simple, intuitive elements: <eg><![CDATA[<div type="chapter">
  <head>Chapter 1: The Manor House</head>
  <p><name type="person">Charles</name> hadn’t visited the manor
    house since <date when="1955-04-10">Easter, 1955</date>,
    and now he remembered why.</p>
  <p>“Hullo”, he called out as he walked up the drive, and
    then, as if to himself, “To be or not to be?, to walk or 
    not to walk...oh, <emph>hang</emph> it all!” His meditation on Hamlet was
    interrupted as he collided with a peacock. “Sacré bleu!” 
    he exclaimed with irritation, his sang-froid
    completely deserting him. It was going to be a long
    week. His catalog of irritations included:
    <list>
       <item>1. The weather</item>
       <item>2. The peacocks</item>
       <item>3. His meagre grasp of French</item>
    </list>
    </p>
</div>]]></eg>
          </p>
        </slide>
        <lectureNote>
          <p>These are simple, intuitive elements, many of which have direct
            corollaries in HTML</p>
          <list>
            <item><gi>div</gi>: basic structural chunking, can nest recursively
              inside itself</item>
            <item>
              <gi>head</gi>
            </item>
            <item>
              <gi>p</gi>
            </item>
            <item><gi>list</gi>, <gi>item</gi></item>
            <item><gi>name</gi> with <att>type</att></item>
            <item><gi>date</gi> with <att>value</att></item>
            <item><gi>emph</gi> and <gi>hi</gi></item>
          </list>
          <p>Entity references and numeric character references</p>
        </lectureNote>
      </section>
      
      <section>
        <head>More detailed encoding</head>
        <slide>
          <p>
            <eg><![CDATA[<div type="chapter">
  <head>Chapter 1: The Manor House</head>
  <p><name type="person">Charles</name> hadn't visited the manor
    house since <date when="1955-04-10">Easter, 1955</date>,
    and now he remembered why.</p>
  <p>]]><hi rend="class:interest">&lt;said></hi><![CDATA[Hullo]]><hi rend="class:interest">&lt;/said></hi><![CDATA[, he called out as he walked up the drive,
    and then, as if to himself, ]]><hi rend="class:interest">&lt;said></hi><![CDATA[To be or not to be?, to
    walk or not to walk...oh, <emph>hang</emph> it all!]]><hi rend="class:interest">&lt;/said></hi><![CDATA[
    His meditation on Hamlet was interrupted as he collided
    with a peacock. ]]><hi rend="class:interest">&lt;said xml:lang="fr"></hi><![CDATA[Sacré bleu!]]><hi rend="class:interest">&lt;/said></hi><![CDATA[ he
    exclaimed with irritation, his ]]><hi rend="class:interest">&lt;foreign
    xml:lang="fr"></hi><![CDATA[sang-froid]]><hi rend="class:interest">&lt;/foreign></hi><![CDATA[ completely
    deserting him. It was going to be a long week. His catalog of irritations included:
    <list>
       <item><label>1.</label> The weather</item>
       <item><label>2.</label> The peacocks</item>
       <item><label>3.</label> His meagre grasp of French</item>
    </list></p>
</div>]]></eg>
          </p>
        </slide>
      </section>

      <section>
        <head>More elements</head>
        <slide>
          <p>
            <eg>&lt;div type="chapter"&gt;&#xA0;
  &lt;head&gt;Chapter 1: The Manor House&lt;/head&gt;&#xA0;
  <hi rend="class:interest">&lt;epigraph&gt;&#xA0;
    &lt;quote&gt;&lt;p&gt;</hi>Never a dull moment<hi rend="class:interest">&lt;/p&gt;&lt;/quote&gt;&#xA0;
    &lt;bibl&gt;&#xA0;
      &lt;title&gt;</hi>The Falconer<hi rend="class:interest">&lt;/title&gt;</hi>,&#xA0;
      <hi rend="class:interest">&lt;author&gt;</hi>Edgar Swiddlebaum<hi rend="class:interest">&lt;/author&gt;&#xA0;
    &lt;/bibl&gt;&#xA0;
  &lt;/epigraph&gt;</hi>&#xA0;
  &lt;p&gt;&lt;name type="person"&gt;Charles&lt;/name&gt; hadn't visited the manor&#xA0;
    house since &lt;date when="1955-04-10"&gt;Easter, 1955&lt;/date&gt;,&#xA0;
    and now he remembered why.&lt;/p&gt;&#xA0;
  &lt;p&gt;&lt;said&gt;Hullo&lt;/said&gt;, he called out as he walked up the drive, and&#xA0;
    then, as if to himself, &lt;said&gt;<hi rend="class:interest">&lt;quote&gt;</hi>To be or not to be?<hi rend="class:interest">&lt;/quote&gt;</hi>,&#xA0;
    to walk or not to walk&#x2026;oh, &lt;emph&gt;hang&lt;/emph&gt; it all!&lt;/said&gt; His&#xA0;
    meditation on <hi rend="class:interest">&lt;title&gt;</hi>Hamlet<hi rend="class:interest">&lt;/title&gt;</hi> was interrupted as he&#xA0;
    collided with a peacock. &lt;said xml:lang="fr"&gt;Sacré bleu!&lt;/said&gt; he&#xA0;
    exclaimed with irritation, his &lt;foreign&#xA0;
    xml:lang="fr"&gt;sang-froid&lt;/foreign&gt; completely deserting him.&#xA0;
    It was going to be a long week. His catalog of irritations included: 
    &lt;list&gt;
       &lt;item n="1"&gt;The weather&lt;/item&gt;
       &lt;item n="2"&gt;The peacocks&lt;/item&gt;
       &lt;item n="3"&gt;His meagre grasp of French&lt;/item&gt;
       &lt;/list&gt;
    &lt;/p&gt;
&lt;/div&gt;</eg>
          </p>
        </slide>
      </section>

      <section>
        <head>Some detailed phrase-level encoding</head>
        <slide>
          <list>
            <label>names</label>
            <item>
	      <gi>persName</gi>,
	      <gi>placeName</gi>,
	      <gi>orgName</gi>, etc.
	      <eg><![CDATA[<persName>Baron Olivier of Brighton</persName> ]]></eg>
	      <eg><![CDATA[<placeName>New York</placeName>, <placeName>New York</placeName> ]]></eg>
	      <eg><![CDATA[<orgName><soCalled>Lesser</soCalled> Podunk Sewing Club</orgName> ]]></eg>
	    </item>
            <label>linguistic</label>
            <item>
	      <gi>foreign</gi>,
	      <gi>distinct</gi>,
	      <gi>soCalled</gi>,
	      <gi>mentioned</gi>,
	      <gi>term</gi>,
	      <gi>emph</gi>
	      <eg><![CDATA[I <distinct>dinna ken</distinct> why that
<foreign xml:lang="fr">soi-disant</foreign> <soCalled>expert</soCalled>
must be <emph>so</emph> particular about pronouncing
<mentioned xml:lang="cy">Llandaff</mentioned> using a
<term>voiceless lateral fricative</term>.]]></eg></item>
	  </list>
        </slide>
      </section>

      <section>
        <head>The bigger picture</head>
        <slide>
          <eg><![CDATA[<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
  <teiHeader>
    <!-- stuff omitted here -->
  </teiHeader>
  <text>
    <body>
      <div type="essay">
        <head>An Essay on Summer</head>
        <p>Summer school in <date when="1990">1990</date> was never easy; 
          it went by too quickly and left us wanting more.</p>
        <p>But, as my friend <name type="person">Peter</name> said with his 
          inimitable <foreign xml:lang="fr">je ne sais quoi</foreign>, 
          <said>It never pays to think too hard</said>. Or, as I would rather 
          put it, <quote xml:lang="es">Que sera, sera</quote>.</p>
      </div>
      <div type="essay">
        <head>An Essay on Winter</head>
        <p>School in winter was nearly insupportable...</p>
      </div>
    </body>
  </text>
</TEI>]]></eg>
        </slide>
      </section>

      <section>
        <head>Basic document structures</head>
        <slide>
          <eg><![CDATA[<text>
  <front>
    <div type="preface"><!-- ... --></div>
    <div type="introduction"><!-- ... --></div>
  </front>
  <body><!-- Body of text here --></body>
  <back>
    <div type="appendix"><!-- ... --></div>
    <div type="index"><!-- ... --></div>
  </back>
</text> ]]></eg>
        </slide>
      </section>

      <section>
        <head>Using <gi>group</gi></head>
        <slide>
          <eg><![CDATA[<text>
  <front><!-- ... --></front>
  <group>
    <text><!-- ... --></text>
    <text><!-- ... --></text>
    <text><!-- ... --></text>
  </group>
  <back><!-- ... --></back>
</text>]]></eg>
        </slide>
      </section>

      <section>
        <head>Poetry</head>
        <slide>
          <eg><hi rend="class:interest">&lt;lg type="sonnet"></hi><![CDATA[
  ]]><hi rend="class:interest">&lt;head></hi><![CDATA[On First Looking into Chapman's Homer]]><hi rend="class:interest">&lt;/head></hi><![CDATA[
  ]]><hi rend="class:interest">&lt;lg type="quatrain"></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Much have I travell’d in the realms of gold,]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[And many goodly states and kingdoms seen;]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Round many western islands have I been]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Which bards in fealty to ]]><hi rend="class:interest">&lt;persName></hi><![CDATA[Apollo]]><hi rend="class:interest">&lt;/persName></hi><![CDATA[ 
       hold.]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
  ]]><hi rend="class:interest">&lt;/lg></hi><![CDATA[
  ]]><hi rend="class:interest">&lt;lg type="quatrain"></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Oft of one wide expanse had I been told]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[That deep-brow’d ]]><hi rend="class:interest">&lt;persName></hi><![CDATA[Homer]]><hi rend="class:interest">&lt;/persName></hi><![CDATA[ ruled as 
       his demesne;]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Yet did I never breathe its pure serene]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Till I heard ]]><hi rend="class:interest">&lt;persName></hi><![CDATA[Chapman]]><hi rend="class:interest">&lt;/persName></hi><![CDATA[ speak out 
       loud and bold:]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
  ]]><hi rend="class:interest">&lt;/lg></hi><![CDATA[
  ]]><hi rend="class:interest">&lt;lg type="sestet"></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Then felt I like some watcher of the skies]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[When a new planet swims into his ken;]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Or like stout ]]><hi rend="class:interest">&lt;persName></hi><![CDATA[Cortez]]><hi rend="class:interest">&lt;/persName></hi><![CDATA[ when 
       with eagle eyes]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[He star’d at the ]]><hi rend="class:interest">&lt;placeName></hi><![CDATA[Pacific]]><hi rend="class:interest">&lt;/placeName></hi><![CDATA[—and 
       all his men]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Look'd at each other with a wild surmise&mdash;]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
    ]]><hi rend="class:interest">&lt;l></hi><![CDATA[Silent, upon a peak in ]]><hi rend="class:interest">&lt;placeName></hi><![CDATA[Darien]]><hi rend="class:interest">&lt;/placeName></hi><![CDATA[.]]><hi rend="class:interest">&lt;/l></hi><![CDATA[
  ]]><hi rend="class:interest">&lt;/lg></hi><![CDATA[ 
]]><hi rend="class:interest">&lt;/lg></hi></eg>
        </slide>
      </section>

      <section>
        <head>Drama</head>
        <slide>
          <eg><![CDATA[<div type="scene">
  <head>Scene 1</head>
  <stage type="entrance">Enter Fay</stage> 
  <sp>
    <speaker>Fay</speaker>
    <p>I say, Dinah, has anyone seen my gloves?</p>
  </sp>
  <stage type="entrance">Enter Dinah</stage>
  <sp>
    <speaker>Dinah</speaker>
    <p>No, miss, perhaps the parakeet has got them again?</p>
  </sp>
  <stage type="exit">Exit Fay and Dinah</stage>
</div>]]></eg>
        </slide>
      </section>

      <section>
        <head>Letters</head>
        <slide>
          <eg><![CDATA[<div type="letter">
  <opener>
    <dateline>
      <date value="1865-08-05">August the 5th</date>
      <name type="place">Cape Cod</name>
    </dateline>
    <salute>My dear <name type="person">Becky</name></salute>
  </opener>
  <p>How lovely the oysters are this evening!</p>
  <closer>
    <salute>Yours very truly</salute>
    <signed><name type="person">Maria</name></signed>
  </closer>
</div>]]></eg>
        </slide>
      </section>
    </presentation>
  </text>
</TEI>
