mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
Language changes to: an, en, gu, it, pt, ta. Superscripts and subscripts are spoken as single letters and numbers during njormal speech, and with "superscript" and "subscript" spoken when spelling. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@367 d46cf337-b52f-0410-862d-fd96e6ae7743
163 lines
2.4 KiB
Plaintext
163 lines
2.4 KiB
Plaintext
//====================================================
|
|
// Italian
|
|
//====================================================
|
|
|
|
phoneme : // Lengthen previous vowel by "length"
|
|
virtual
|
|
length 50
|
|
endphoneme
|
|
|
|
|
|
phoneme a
|
|
vowel starttype #a endtype #a
|
|
length 160
|
|
ChangeIfNotStressed(a/)
|
|
FMT(vowel/a)
|
|
endphoneme
|
|
|
|
|
|
phoneme a/
|
|
vowel starttype #@ endtype #@
|
|
length 140
|
|
IF thisPh(isWordEnd) THEN
|
|
FMT(vowel/a#_4)
|
|
ENDIF
|
|
FMT(vowel/a_5)
|
|
endphoneme
|
|
|
|
|
|
phoneme e
|
|
vowel starttype #e endtype #e
|
|
length 150
|
|
ChangeIfNotStressed(e/)
|
|
FMT(vowel/e_2)
|
|
endphoneme
|
|
|
|
phoneme e/
|
|
vowel starttype #e endtype #e
|
|
length 140
|
|
IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
|
|
FMT(vowel/e_mid2)
|
|
ELSE
|
|
FMT(vowel/e)
|
|
ENDIF
|
|
endphoneme
|
|
|
|
|
|
|
|
phoneme E
|
|
vowel starttype #e endtype #e
|
|
length 145
|
|
ChangeIfUnstressed(e/) // [E] only in stressed syllables ?
|
|
FMT(vowel/e_mid)
|
|
endphoneme
|
|
|
|
|
|
phoneme i
|
|
vowel starttype #i endtype #i
|
|
length 140
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/i)
|
|
endphoneme
|
|
|
|
|
|
phoneme i# // Used for 'gia_' where [i] is only spoken if stressed
|
|
vowel starttype #i endtype #i
|
|
length 145
|
|
ChangeIfNotStressed(NULL)
|
|
ChangePhoneme(i)
|
|
endphoneme
|
|
|
|
|
|
phoneme I
|
|
vowel starttype #i endtype #i
|
|
length 140
|
|
IfNextVowelAppend(;)
|
|
FMT(vowel/i_4)
|
|
endphoneme
|
|
|
|
|
|
|
|
phoneme o
|
|
vowel starttype #o endtype #o
|
|
length 150
|
|
ChangeIfNotStressed(o/)
|
|
FMT(vowel/o)
|
|
endphoneme
|
|
|
|
phoneme o/
|
|
vowel starttype #o endtype #o
|
|
length 140
|
|
IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
|
|
FMT(vowel/oo_1)
|
|
ELSE
|
|
FMT(vowel/o)
|
|
ENDIF
|
|
endphoneme
|
|
|
|
|
|
phoneme O
|
|
vowel starttype #o endtype #o
|
|
length 150
|
|
ChangeIfUnstressed(o/) // [O] only in stressed syllables ?
|
|
FMT(vowel/oo_4)
|
|
endphoneme
|
|
|
|
|
|
phoneme u
|
|
vowel starttype #u endtype #u
|
|
length 150
|
|
ChangeIfNotStressed(U)
|
|
FMT(vowel/u_bck)
|
|
endphoneme
|
|
|
|
phoneme U
|
|
vowel starttype #u endtype #u
|
|
length 140
|
|
FMT(vowel/u_bck)
|
|
endphoneme
|
|
|
|
|
|
phoneme aU
|
|
vowel starttype #a endtype #o
|
|
length 300
|
|
FMT(vdiph/aoo)
|
|
endphoneme
|
|
|
|
|
|
|
|
phoneme aI
|
|
vowel starttype #a endtype #i
|
|
length 250
|
|
FMT(vdiph/ai)
|
|
endphoneme
|
|
|
|
|
|
phoneme oI
|
|
vowel starttype #o endtype #i
|
|
length 230
|
|
FMT(vdiph/oi)
|
|
endphoneme
|
|
|
|
|
|
|
|
// CONSONANTS
|
|
//===========
|
|
|
|
phoneme l^
|
|
import_phoneme base/l^
|
|
Length 130
|
|
endphoneme
|
|
|
|
phoneme ts
|
|
import_phoneme consonants/ts
|
|
voicingswitch ts
|
|
endphoneme
|
|
|
|
phoneme dz
|
|
import_phoneme consonants/dz
|
|
voicingswitch z
|
|
lengthmod 3
|
|
endphoneme
|
|
|