Browse Source

Merge branch 'espeak-italian'

master
Reece H. Dunn 9 years ago
parent
commit
ac04c20dea
4 changed files with 39 additions and 29 deletions
  1. 11
    4
      dictsource/it_list
  2. 3
    3
      dictsource/it_listx
  3. 4
    3
      dictsource/it_rules
  4. 21
    19
      phsource/ph_italian

+ 11
- 4
dictsource/it_list View File


// This file is UTF-8 encoded // This file is UTF-8 encoded
// Updated 2015 December 10 by Chris, Christian Leo M, <[email protected]>
// Updated 2015 December 23 by Chris, Christian Leo M, <[email protected]>


// $alt change [e] or [o] in the stressed syllable to [E] or [O] // $alt change [e] or [o] in the stressed syllable to [E] or [O]
// $alt2 change [E] or [O] in the stressed syllable to [e] or [o] // $alt2 change [E] or [O] in the stressed syllable to [e] or [o]


abajour abaZ'u@-* abajour abaZ'u@-*
account ak:'aw2nt account ak:'aw2nt
adobe ad'Ob@ $only
after $1 after $1
amnesty 'amn@stI amnesty 'amn@stI
anonymous an'OnimUs anonymous an'OnimUs
blues bl'u:z blues bl'u:z
boiler $1 boiler $1
bonjour b,O:_Z'u:r bonjour b,O:_Z'u:r
brioche b@-*I'oS
boogie b'ugi boogie b'ugi
boom bum boom bum
bordeaux _^_FR bordeaux _^_FR
drive _^_EN drive _^_EN
driver _^_EN driver _^_EN
ebook 'i:b,Uk ebook 'i:b,Uk
edition ed'iSon $only
edition ed'iSon $onlys
editor 'Edito@-* $onlys editor 'Edito@-* $onlys
l'editor l'Edito@-* $only l'editor l'Edito@-* $only
eloquence _^_EN eloquence _^_EN
andersson 'a:nde@-*son andersson 'a:nde@-*son
anderson $1 anderson $1
andromeda $2 andromeda $2
angelis $1 $only
anita $2 anita $2
annamaria $4 annamaria $4
annapaola $3 annapaola $3
fahrenheit f'aRenaIt fahrenheit f'aRenaIt
federic $3 federic $3
felicita $2 felicita $2
fenice $2
ferrer $2 $alt2 ferrer $2 $alt2
françois f@-*,a/NsU'a françois f@-*,a/NsU'a
francisco f@-*ans'isko francisco f@-*ans'isko
conversano $2 conversano $2
conversino $2 conversino $2
convoc $1 convoc $1
convochi $1
convochino $1 convochino $1
convogliano $2 convogliano $2
coordin $2 coordin $2
dammene $1 dammene $1
deciditi $2 deciditi $2
dedical $1 dedical $1
digitalo $1
digital $1
digliel $1 digliel $1
digliene $1 digliene $1
dimmelo $1 dimmelo $1
saran $2 $only saran $2 $only
tender $1 tender $1
tener $2 $alt2 $only tener $2 $alt2 $only



+ 3
- 3
dictsource/it_listx View File


abazia $3 abazia $3
abbadia $3 abbadia $3
abbain ab:a'i:n abbain ab:a'i:n
debit $1 $alt2 debit $1 $alt2
debole $1 debole $1
dec $alt dec $alt
decameron $2
decameron $2 $only
decapoli $2 decapoli $2
decebal $2 $alt decebal $2 $alt
decenni $alt decenni $alt
pos $alt pos $alt
posillip $2 posillip $2
post $alt2 post $alt2
posta $alt
posta p'O:sta/
poste $alt poste $alt
posteri $1 posteri $1
posteriori $alt2 posteriori $alt2

+ 4
- 3
dictsource/it_rules View File



// Italian translation rules // Italian translation rules
// This file is UTF-8 encoded // This file is UTF-8 encoded
// Last update: 2015 November 20 by Chris <[email protected]>
// Last update: 2015 December 23 by Chris <[email protected]>
// letter groups // letter groups
// A any vowel // A any vowel
// C any consonant // C any consonant
ai (_ 'aj ai (_ 'aj
ai (C aI ai (C aI
au a|%U au a|%U
@C) a (_S1q a // lookup it_list without suffix
@C) a (_S1q a/ // lookup it_list without suffix
@i) a (_S1q a // lookup it_list without suffix @i) a (_S1q a // lookup it_list without suffix
C) a (cY_ 'a C) a (cY_ 'a
@) a (co_ =a @) a (co_ =a
@d) ei (_ 'eI @d) ei (_ 'eI
@t) ei (_ 'eI @t) ei (_ 'eI
@) ey (_ =eI @) ey (_ =eI
@C) e (_S1q e // lookup it_list without suffix
@C) e (_S1q e/ // lookup it_list without suffix
e (C_ E e (C_ E
e (A E e (A E
e (C%A_ E e (C%A_ E
A_) - (_D _ A_) - (_D _
C_) - (_D _ C_) - (_D _
§ pa*'ag@-*afO § pa*'ag@-*afO


+ 21
- 19
phsource/ph_italian View File


//==================================================== //====================================================
// Italian
// Italian, last update 23 dec 2015 by Chris <[email protected]>
//==================================================== //====================================================


phoneme : // Lengthen previous vowel by "length" phoneme : // Lengthen previous vowel by "length"
vowel starttype #a endtype #a vowel starttype #a endtype #a
length 160 length 160
ChangeIfNotStressed(a/) ChangeIfNotStressed(a/)
FMT(vowel/a)
FMT(vowel/a, 80)
endphoneme endphoneme




phoneme a/ phoneme a/
vowel starttype #@ endtype #@
vowel starttype #a endtype #a
length 140 length 140
IF thisPh(isWordEnd) THEN IF thisPh(isWordEnd) THEN
FMT(vowel/a#_4)
FMT(vowel/a#_4, 65)
ENDIF ENDIF
FMT(vowel/a_5)
FMT(vowel/a_7)
endphoneme endphoneme




vowel starttype #e endtype #e vowel starttype #e endtype #e
length 150 length 150
ChangeIfNotStressed(e/) ChangeIfNotStressed(e/)
FMT(vowel/e_2)
FMT(vowel/e_2, 80)
endphoneme endphoneme


phoneme e/ phoneme e/
IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
FMT(vowel/e_mid2) FMT(vowel/e_mid2)
ELSE ELSE
FMT(vowel/e)
FMT(vowel/e, 65)
ENDIF ENDIF
endphoneme endphoneme




phoneme i phoneme i
vowel starttype #i endtype #i vowel starttype #i endtype #i
length 140
length 145
IfNextVowelAppend(;) IfNextVowelAppend(;)
FMT(vowel/i)


IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND NOT prevPhW(E) THEN IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND NOT prevPhW(E) THEN
ChangePhoneme(I) ChangePhoneme(I)
ENDIF ENDIF
FMT(vowel/i)
endphoneme endphoneme




endphoneme endphoneme





phoneme o phoneme o
vowel starttype #o endtype #o vowel starttype #o endtype #o
length 150 length 150
vowel starttype #o endtype #o vowel starttype #o endtype #o
length 140 length 140
IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
FMT(vowel/oo_1)
FMT(vowel/o_2)
ELSE ELSE
FMT(vowel/o)
FMT(vowel/o, 66)
ENDIF ENDIF
endphoneme endphoneme




phoneme u phoneme u
vowel starttype #u endtype #u vowel starttype #u endtype #u
length 150
length 160
ChangeIfNotStressed(U) ChangeIfNotStressed(U)
FMT(vowel/u_bck)
FMT(vowel/u_bck, 120)
endphoneme endphoneme


phoneme U phoneme U
vowel starttype #u endtype #u vowel starttype #u endtype #u
length 140 length 140
FMT(vowel/u_bck)
FMT(vowel/u_bck2)
endphoneme endphoneme




vls alv afr sibilant vls alv afr sibilant
voicingswitch dz voicingswitch dz
lengthmod 2 lengthmod 2
Vowelin f1=1 f2=1700 -300 300 f3=-100 70 len=60
Vowelout f1=2 f2=1700 -300 250 f3=-100 70 rms=14
Vowelin f1=0 f2=1700 -300 300 f3=-100 60 len=60
Vowelout f1=0 f2=1700 -300 250 f3=-100 70 rms=14
IF nextPh(isPause2) THEN IF nextPh(isPause2) THEN
WAV(ustop/ts_)
WAV(ustop/ts)
ENDIF ENDIF
WAV(ustop/ts)
WAV(ustop/ts, 80)
endphoneme endphoneme


phoneme dz phoneme dz
voicingswitch z voicingswitch z
lengthmod 3 lengthmod 3
endphoneme endphoneme



Loading…
Cancel
Save