Annex 4: DTD for Layer 3 (Phonological representation of intonation - ToBI scheme)


<!-- DTD for the MATE project Prosody Level based on D2.1 (june 99)
XML 1.0, XLink 1.0 DTD
18/6/99 -->
 

<!-- prlayer3 DOCTYPE contains all the element and attribute declarations
     for the layer 3 of the prosody level -->
 

<!-- Layer 3: phonological representation of intonation; ToBI scheme -->

<!-- ABBREVIATIONS -->

<!ENTITY % id
          'id ID #REQUIRED'
>

<!ENTITY % href
          'href      CDATA #IMPLIED
           xml:link  CDATA #FIXED   "simple"
           show      CDATA #FIXED   "embed"
           actuate   CDATA #FIXED   "auto"'
>

<!ENTITY % start
          'start     CDATA #IMPLIED'
>

<!ENTITY % end
          'end       CDATA #IMPLIED'
>

<!-- the values for the type attribute cannot be written into 
       the DTD because the DTD does not allow all of the characters. 
       But the values can be specified in the XML body. 

       type     (    H*  |   L*  |  L*+H |  L+H* | H+!H* |   L-  |
                     H-  |  !H-  |    L% |    H% |    %H |    *  |
                     *?  |  X*?  |   -   |   -?  |  X-?  |    %  |
                     %?  |  X%?  |  L-L% |  L-H% | H-H%  | H-L%   )
--> 

<!ELEMENT tobitone (#PCDATA)>
<!ATTLIST tobitone
          %id;
          type     CDATA                               #IMPLIED
          class    (pitaccent | phraccent | boundtone) #IMPLIED
          %start;
          %end;
          %href;>
 

<!ELEMENT target (#PCDATA)>
<!ATTLIST target
          %id;
          type     (EarlyF0 | LateF0) #IMPLIED
          %start;
          %end;
          %href;>
 

<!ELEMENT f0range (#PCDATA)>
<!ATTLIST f0range
          %id;
          type     CDATA   #FIXED "HiF0"
          %start;
          %end;
          %href;>
 

<!ELEMENT repair (#PCDATA)>
<!ATTLIST repair
          %id;
          type     CDATA   #FIXED "%r"
          %start;
          %end;
          %href;>

Annex 5: DTD for Layer 4 (Prosodic Phrasing - ToBI scheme))