dracor-org / dracor-schema

ODD and schemas for dracor.org files
https://dracor.org/doc/odd
5 stars 2 forks source link

link tei:castItem and tei:person #34

Open ingoboerner opened 2 years ago

ingoboerner commented 2 years ago

Currently, in DraCor in-house corpora we include the tei:castItem in a tei:castList that contains the name of a character and his/her roleDescription ... in addition, to link speech acts to speakers/characters, the files contain a tei:listPerson with tei:person that are identified by an @xml:id. But castItem and corresponding person are not explicitly linked (via an attribute). If one want's to get the "label" of a character as contained in the text, this can only be done via complicated string comparisons and fuzzy matching (?), becausecharacters and corresponding tei:person are not in the same order, so the link between these two elements is not even somehow implicit. Maybe, it should be made explicit (@corresp) to provide for an easier way to retrieve the information from the tei:castItem via the @xml:id of the tei:person in the tei:particDesc

Example of current encoding: goethe-egmont

 <div type="Dramatis_Personae">
        <castList>
          <head>Personen.</head>
  <!-- ... -->
          <castItem>Herzog von Alba</castItem>
<!-- ... -->
</castList>
</div>

and

<particDesc>
        <listPerson>
<!-- ... -->
<person xml:id="alba" sex="MALE">
            <persName>Alba</persName>
          </person>
<!-- ... -->
</listPerson>
</particDesc>