gos/data/corpus/schema/trans-14.dtd
2022-07-06 21:35:05 +02:00

99 lines
2.0 KiB
DTD

<?xml encoding="UTF-8"?>
<!ELEMENT Trans ((Speakers|Topics)*,Episode)>
<!ATTLIST Trans
audio_filename CDATA #IMPLIED
scribe CDATA #IMPLIED
xml:lang NMTOKEN #IMPLIED
version NMTOKEN #IMPLIED
version_date CDATA #IMPLIED
elapsed_time CDATA "0"
>
<!ELEMENT Episode (Section*)>
<!ATTLIST Episode
program CDATA #IMPLIED
air_date CDATA #IMPLIED
>
<!ELEMENT Section (Turn*)>
<!ATTLIST Section
type (report | nontrans | filler) #REQUIRED
topic IDREF #IMPLIED
startTime CDATA #REQUIRED
endTime CDATA #REQUIRED
>
<!ELEMENT Turn (#PCDATA|Sync|Background|Comment|Who|Vocal|Event)*>
<!ATTLIST Turn
speaker IDREFS #IMPLIED
startTime CDATA #REQUIRED
endTime CDATA #REQUIRED
mode (spontaneous|planned) #IMPLIED
fidelity (high|medium|low) #IMPLIED
channel (telephone|studio) #IMPLIED
>
<!ELEMENT Sync EMPTY>
<!ATTLIST Sync
time CDATA #REQUIRED
>
<!ELEMENT Background EMPTY>
<!ATTLIST Background
time CDATA #REQUIRED
type NMTOKENS #REQUIRED
level NMTOKENS #IMPLIED
>
<!ELEMENT Who EMPTY>
<!ATTLIST Who
nb NMTOKEN #REQUIRED
>
<!-- **** Speech/non speech events, comments **** -->
<!ELEMENT Vocal EMPTY>
<!ATTLIST Vocal
desc CDATA #REQUIRED
>
<!ELEMENT Event EMPTY>
<!ATTLIST Event
type (noise|lexical|pronounce|language|entities) "noise"
extent (begin|end|previous|next|instantaneous) "instantaneous"
desc CDATA #REQUIRED
>
<!ELEMENT Comment EMPTY>
<!ATTLIST Comment
desc CDATA #REQUIRED
>
<!-- ********** List of Speakers ************** -->
<!ELEMENT Speakers (Speaker*)>
<!ATTLIST Speakers>
<!ELEMENT Speaker EMPTY>
<!ATTLIST Speaker
id ID #REQUIRED
name CDATA #REQUIRED
check (yes|no) #IMPLIED
type (male|female|child|unknown) #IMPLIED
dialect (native|nonnative) #IMPLIED
accent CDATA #IMPLIED
scope (local|global) #IMPLIED
>
<!-- ********** List of Topics ************** -->
<!ELEMENT Topics (Topic*)>
<!ATTLIST Topics>
<!ELEMENT Topic EMPTY>
<!ATTLIST Topic
id ID #REQUIRED
desc CDATA #REQUIRED
>