<!-- Dialogue:  Base tag set for Transcribed Dialogues                  -->
<!-- Centre for Cognitive Science (CCS)					-->
<!-- Roskilde University, bldg. 3.1.5					-->
<!-- P.O.Box 260							-->
<!-- DK-4000 Roskilde, Danmark						-->
<!-- email: cog@ruc.dk, dybkjaer@cog.ruc.dk (Hans Dybkjær)		-->
<!-- Copyright (c) 1995 CCS. Permission to copy	in any form is granted,	-->
<!-- provided this notice is included in all copies.			-->
<!-- These materials intend to be a TEI conformant extension		-->
<!-- as specified in th Guidelines in chapter "Modifying the TEI DTD"	-->
<!-- by the Text Encoding Initiative ((c) ACH, ACL, ALLC).		-->
<!-- These materials subject to revision. Current versions		-->
<!-- are available from CCS.						-->

     <!--  The following declarations define new extensions    -->
     <!--    (element and attlist specifications for new tags  -->
     <!--    introduced in part 3 of the ent file go here)     -->

<!ENTITY %  keyed 'INCLUDE' >
<![ %keyed; [
<!ELEMENT %n.keyed;         - -  ((%phrase | %m.comp.spoken)+)		>
<!ATTLIST %n.keyed;          %a.global;
          which              IDREF               %INHERITED
          TEIform            CDATA               'keyed'		>
]]>

<!ENTITY %  scenario 'INCLUDE' >
<![ %scenario; [
<!ELEMENT %n.scenario;         - o  EMPTY		>
<!ATTLIST %n.scenario;       
          representation     (G | T)             #IMPLIED
          group              NUMBER              %INHERITED
          scenario           NUMBER              %INHERITED
          variation          CDATA               'a'
          TEIform            CDATA               'scenario'		>
]]>

<!ENTITY %  recognised 'INCLUDE' >
<![ %recognised; [
<!ELEMENT %n.recognised;         - -  ((%phrase)+)		>
<!ATTLIST %n.recognised;              %a.global;
          which              IDREF               %INHERITED
          grammar            CDATA               %INHERITED
          score              CDATA               %INHERITED
          TEIform            CDATA               'recognised'		>
]]>

<!ENTITY %  parse 'INCLUDE' >
<![ %parse; [
<!ELEMENT %n.parse;         - -   (#PCDATA)		>
<!ATTLIST %n.parse;              %a.global;
          which              IDREF               %INHERITED
          TEIform            CDATA               'parse'		>
]]>

<!ENTITY %  database 'INCLUDE' >
<![ %database; [
<!ELEMENT %n.database;         - -  (#PCDATA)		>
<!ATTLIST %n.database;                   %a.global;
          type               (query | answer)    #IMPLIED
          modifier           CDATA               %INHERITED
          TEIform            CDATA               'database'		>
]]>

<!-- Tokens -->
<!ENTITY %  t 'INCLUDE' >
<![ %t; [
<!ELEMENT %n.t;         - -  (#PCDATA)		>
<!ATTLIST %n.t;                   %a.global;
          type               (airport | month | week-day | name |
                              cardinal | ordinal | false-start)    #IMPLIED
          value              CDATA               %INHERITED
          TEIform            CDATA               't'		>
]]>

<!-- Properties -->

<!ENTITY %  properties 'INCLUDE' >
<![ %properties; [
<!ELEMENT %n.properties;         - -  ((tokens | types)*)		>
<!ATTLIST %n.properties;                   %a.global;
          type               (utterance | dialogue | task | all)    #IMPLIED
          which              IDREF               %INHERITED
          TEIform            CDATA               'properties'		>
]]>

<!ENTITY %  tokens 'INCLUDE' >
<![ %tokens; [
<!ELEMENT %n.tokens;         - O  EMPTY		>
<!ATTLIST %n.tokens;              
          value              NUMBER              #IMPLIED  
          per.utterance      NUMBER              #IMPLIED 
          per.dialogue       NUMBER              #IMPLIED 
          per.task           NUMBER              #IMPLIED         
          who                IDREF               %INHERITED
          TEIform            CDATA               'tokens'		>
]]>

<!ENTITY %  types 'INCLUDE' >
<![ %types; [
<!ELEMENT %n.types;         - O  EMPTY		>
<!ATTLIST %n.types;              
          value              NUMBER              #IMPLIED  
          per.utterance      NUMBER              #IMPLIED 
          per.dialogue       NUMBER              #IMPLIED 
          per.task           NUMBER              #IMPLIED         
          who                IDREF               %INHERITED
          TEIform            CDATA               'types'		>
]]>

     <!--  The following declarations define revised tags      -->
     <!--    (element and attlist specifications for tags      -->
     <!--    mentioned in part 4 of the ent file go here       -->
<!ENTITY % newu 'INCLUDE' >
<![ %newu; [
<!ELEMENT %n.u;         - -  ((%phrase | %m.comp.spoken)+)      >
<!ATTLIST %n.u;              %a.global;
                             %a.timed;
          trans              (smooth | latching | overlap | 
                             pause)              smooth
          who                IDREF               %INHERITED
          topic              CDATA               %INHERITED
          TEIform            CDATA               'u'            >
]]>

<!ENTITY % newbody 'INCLUDE' >
<![ %newbody; [
<!ELEMENT %n.body;      - O  ((%n.div; | %n.scenario;)+) >
<!ATTLIST %n.body;           %a.global;
                             %a.declaring;
          TEIform            CDATA               'body'         >
]]>

<!-- (end of Dialogue)							-->
