summaryrefslogtreecommitdiff
path: root/lib/voices/finnish/suo_fi_lj_diphone/festvox/suopuhe.dtd
blob: 8eb2d62ace961a0229927602fc686e747787d533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!-- 

  SuoPuhe-project speech synthesizer input XML 

 Copyright (c) 2000-2003 Dept. General Linguistics, University of Helsinki
 All Rights Reserved.

 Author: Nicholas Volk (nvolk@ling.helsinki.fi)

 This program is distributed under Gnu Lesser General Public License (cf. the
 file LICENSE in distribution).
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU Lesser General Public License for more details.

  TODO: different kinds of accents...
        break-types need to be reconsidered
        audio could read stuff from www

  v.0.6.1 -audio tag

  v.0.6.0 -changed "sentence" to "utterance"
          -initial doubling is done with sayas, not with
           "triggers_doubling"
          -token can contain breaks and phrase boundaries
          -added language
 
  v0.5.1 (nv) minor bug fix + modification on breaks
  v0.5.0 replaced sayas with original
         the motivation was that I needed include tags within the tokens:

  <token original="1351"> yksi kolme  <phrase/> viisi yksi  </token>
 

  v0.4.5 (Nicholas Volk 18.6.2002)
  -changed accent from accent            ( yes | no ) "no"
                    to accent            ( yes | neutral | no ) "neutral" >

  
  v. 0.4.1 added list-argument to <TOKEN>
  -sanaluokkatiedot kesken ja muuttuvat varmasti
  -puhuvalle p��lle voi v�litt�� ilme-tiedon ennen sanaa ja sanan j�lkeen,
   ei sanan aikana
  -mitenk�h�n kielen generointi 
  -
-->

<!ELEMENT suopuhe ((speaker|audio)+)>



<!ELEMENT speaker ((utterance, pause?)+)>
<!ATTLIST speaker
   name   CDATA         #IMPLIED 
   gender (male|female) #IMPLIED
   age    (child|youth|adult|aged)       #IMPLIED >

<!-- speaker -->
<!-- if the name refers to an existing voice, try to use that one, -->
<!-- instead of the default voice. Otherwise the voice selection -->
<!-- is primarily based on the sex and secondarily on the age. -->
<!-- Without only 2 Finnish, you don't get much support for these. -->
<!-- Jos nimi viittaa johonkin k�ytett�viss� j�rjestelm�ss� olevaan -->
<!-- ��neen, k�ytet��n sit�, muuten oletus��nt�. -->
<!-- Muuten ��ni valitaan ensisijaisesti sukupuolen ja toissijaisesti -->
<!-- i�n perusteella. Sitten kun toinen ��ni on valmis, -->
<!-- niin t�ll� tagilla on oikeasti v�li�. -->

<!ELEMENT pause EMPTY>
<!ATTLIST pause
   duration CDATA #IMPLIED >

<!-- pause -->
<!-- A long pause between utterances, not a phrase break  -->
<!-- Aito pitk�n hiljainen hetki, ei hapentankkauskatko keskell� -->
<!-- lausetta -->

<!ELEMENT audio EMPTY>
<!ATTLIST audio
   file CDATA #IMPLIED>

<!ELEMENT utterance ((facial?, token, (break|phrase)?)*, token, facial?)>
<!ATTLIST utterance 
    language CDATA "FI"
    type   (declaration|question|exclamation) "declaration"
    manner (normal|whisper|creaky|fast)            "normal"
    tone   (neutral|sarcastic)                "neutral"> 

<!-- utterance -->
<!-- "type" sets the baseline/intonation type -->
<!-- "manner" and "tone" are hard to support in diphone-based synthesis -->
<!-- so they are not really supported yet. -->
<!-- "type" m��r�� lauseen baselinen (fujisakin fraasikomponentin jne.), -->
<!-- "manner" ja "tone" ovat -->
<!-- vaikeasti tuettavissa difonipohjaisessa synteesiss�, mutta ehk� -->
<!-- ne joskus tekev�t jotain... -->


<!ELEMENT facial EMPTY>
<!ATTLIST facial
   expression            CDATA "plain">


<!-- facial -->
<!-- simplistic talking head support  -->
<!-- expression tells what expression to use at the end of that word -->
<!-- expression kertoo millaiseen yleisilmeiseen pit�isi p��ty� sanan -->
<!-- loputtua. Alkeellinen Puhuva p�� -tuki. -->
   
<!ELEMENT token (#PCDATA|break|phrase)*>
<!ATTLIST token
   pos               ( abbr | adjective| adverb | char | conj | foreign | 
                       hybrid | multiword | name | noun | num | punc | 
                       unknown | verb ) "unknown"
   original            CDATA #IMPLIED
   list              ( yes | no ) "no"
   accent  ( yes | neutral | no ) "neutral" >


<!-- token -->
<!-- "token" means any string. Punctuation marks have been separated -->
<!-- from the words they were attached to and now appear as individual -->
<!-- tokens -->
<!-- Lis�ksi ilmoitetaan onko sana painotettu vai ei lausepainon -->
<!-- kannalta. --> 

 
 <!ELEMENT phrase EMPTY>
 
<!-- marks a phrase break thus supporting fujisaki model -->
<!-- uuden fraasin alku, signaloi fujisakin mallille        -->
<!-- phrase-komentoa, voitaneen k�ytt�� my�s potentiaalisen -->
<!-- tauon ilmaisemiseen...                                 --> 


 <!ELEMENT break EMPTY>
 <!ATTLIST break level ( -1 | 0 | 1 | 2 | 3 | 4 ) "1" > 


<!-- -1 no break                                                    -->
<!--  0 no break, phrase boundary; we have a separate phrase though -->
<!--  1+ breaks with phrase boundaries                              -->