mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-19 10:58:30 +00:00
[1.48.14]
Language changes: af, en, eu, fa, hi, hu, id, it, mr, pl, ta. zh (numbers) git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@388 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -34,7 +34,7 @@ consonants 11 119
|
||||
kn 17 149
|
||||
ml 30 152
|
||||
gu 7 151
|
||||
mr 1 149
|
||||
mr 6 151
|
||||
hu 25 124
|
||||
lt 42 139
|
||||
lv 29 127
|
||||
@@ -1132,6 +1132,7 @@ ustop/tr [t] base
|
||||
ustop/ts [ts] consonants
|
||||
[dz] consonants
|
||||
[ts] hu
|
||||
[ts] it
|
||||
[z] zhy
|
||||
[tsh] zh
|
||||
[ts] tn
|
||||
@@ -1140,6 +1141,7 @@ ustop/ts [ts] consonants
|
||||
ustop/ts_ [ts] consonants
|
||||
[dz] consonants
|
||||
[ts] lv
|
||||
[ts] it
|
||||
[ts] tn
|
||||
[ts#] bo
|
||||
[dz#] bo
|
||||
@@ -1157,6 +1159,7 @@ ustop/tsh [tS] base
|
||||
ustop/tsh_ [tS] base
|
||||
[c] hi_base
|
||||
[tS#] bn
|
||||
[tS] mr
|
||||
[c] zhy
|
||||
[tS#] or
|
||||
[tS#] mni
|
||||
@@ -1174,6 +1177,7 @@ ustop/tsh_pzd [tS;h] zh
|
||||
ustop/tsh_pzd_unasp [tS;] zh
|
||||
ustop/tsh_sr [tS] sr
|
||||
ustop/tsh_unasp [c] hi_base
|
||||
[tS] mr
|
||||
[tS] hy
|
||||
[tS`] am
|
||||
ustop/tsh_unasp2 [tS] bn
|
||||
@@ -1352,7 +1356,6 @@ vdiph/ai_8 [aI] ta
|
||||
[aI] dv
|
||||
[aI] si
|
||||
vdiph/aoo [aU] en-us
|
||||
[aU] it
|
||||
vdiph/au [aU] en
|
||||
[aU] af
|
||||
[aU] ta
|
||||
@@ -1369,6 +1372,7 @@ vdiph/au_4 [aU] base2
|
||||
[aU] eo
|
||||
[aU] lt
|
||||
[aU] sk
|
||||
[aU] it
|
||||
[aU] id
|
||||
vdiph/ee-e [E:] hi_base
|
||||
vdiph/eei [EI] base2
|
||||
@@ -1545,6 +1549,7 @@ vnasal/aa_n4 [A~] de
|
||||
[A~] fr
|
||||
[A~] ht
|
||||
vnasal/ai_n [aI~] gu
|
||||
[aI~] mr
|
||||
vnasal/a_n [a~] hi_base
|
||||
vnasal/a#_n [&~] pt
|
||||
vnasal/a#_n2 [&~] pt
|
||||
@@ -1552,6 +1557,7 @@ vnasal/a#u_n [&U~] pt
|
||||
[&U~] pt-pt
|
||||
[o#] vi
|
||||
vnasal/au_n [aU~] gu
|
||||
[aU~] mr
|
||||
vnasal/ee_n [E~] fr-ca
|
||||
vnasal/ee_n2 [a] en-us
|
||||
[E~] hi_base
|
||||
|
||||
+167
-167
@@ -1,167 +1,167 @@
|
||||
|
||||
//====================================================
|
||||
// Basque - based on Base2
|
||||
//====================================================
|
||||
|
||||
phoneme a
|
||||
vowel starttype #a endtype #a
|
||||
length 200
|
||||
FMT(vowel/a_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a2 // delete if the next vowel is 'a'. Used for numbers.
|
||||
vowel starttype #a endtype #a
|
||||
|
||||
length 200
|
||||
|
||||
IF nextPh(#a) THEN
|
||||
ChangePhoneme(NULL) // merge consecutive 'a'
|
||||
ENDIF
|
||||
|
||||
FMT(vowel/a_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme e
|
||||
vowel starttype #e endtype #e
|
||||
length 200
|
||||
FMT(vowel/e_mid2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme i
|
||||
vowel starttype #i endtype #i
|
||||
length 190
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/i)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme o
|
||||
vowel starttype #o endtype #o
|
||||
length 200
|
||||
FMT(vowel/oo)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme u
|
||||
vowel starttype #u endtype #u
|
||||
length 200
|
||||
FMT(vowel/u_bck2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme Y
|
||||
vowel starttype #@ endtype #@
|
||||
length 200
|
||||
FMT(vowel/y#)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme s
|
||||
import_phoneme es/s
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme z
|
||||
vls alv frc sibilant
|
||||
ipa s
|
||||
lengthmod 3
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause) THEN
|
||||
WAV(ufric/z_eu, 60)
|
||||
ENDIF
|
||||
WAV(ufric/z_eu, 90)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme ts
|
||||
vls alv afr sibilant
|
||||
ipa t?
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ufric/ts_eu, 60)
|
||||
ENDIF
|
||||
WAV(ufric/ts_eu, 90)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme tz
|
||||
vls alv afr sibilant
|
||||
ipa ts
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ufric/tz_eu, 90)
|
||||
ENDIF
|
||||
WAV(ufric/tz_eu, 60)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme t
|
||||
vls dnt stop
|
||||
lengthmod 2
|
||||
CALL base2/t
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme r
|
||||
vcd alv flp rhotic
|
||||
brkafter
|
||||
ipa ?
|
||||
lengthmod 3
|
||||
|
||||
IF nextPhW(isVowel) THEN
|
||||
ChangePhoneme(**)
|
||||
ENDIF
|
||||
|
||||
CALL base/*
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme b
|
||||
import_phoneme es/b
|
||||
endphoneme
|
||||
|
||||
phoneme d
|
||||
import_phoneme es/d
|
||||
endphoneme
|
||||
|
||||
phoneme g
|
||||
import_phoneme es/g
|
||||
endphoneme
|
||||
|
||||
phoneme n
|
||||
vcd alv nasal
|
||||
lengthmod 4
|
||||
|
||||
IF prevPhW(#i) AND nextPhW(isVowel) THEN
|
||||
ChangePhoneme(n^)
|
||||
ENDIF
|
||||
|
||||
CALL base/n
|
||||
endphoneme
|
||||
|
||||
phoneme n2 // doesn't palatalise, used for exceptions
|
||||
vcd alv nasal
|
||||
lengthmod 4
|
||||
CALL base/n
|
||||
endphoneme
|
||||
|
||||
phoneme l
|
||||
liquid
|
||||
IF prevPhW(#i) AND nextPhW(isVowel) THEN
|
||||
ChangePhoneme(l^)
|
||||
ENDIF
|
||||
CALL base/l
|
||||
endphoneme
|
||||
|
||||
phoneme l2 // same as l2
|
||||
liquid
|
||||
CALL base/l
|
||||
endphoneme
|
||||
|
||||
//====================================================
|
||||
// Basque - based on Base2
|
||||
//====================================================
|
||||
|
||||
phoneme a
|
||||
vowel starttype #a endtype #a
|
||||
length 200
|
||||
FMT(vowel/a_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a2 // delete if the next vowel is 'a'. Used for numbers.
|
||||
vowel starttype #a endtype #a
|
||||
|
||||
length 200
|
||||
|
||||
IF nextPh(#a) THEN
|
||||
ChangePhoneme(NULL) // merge consecutive 'a'
|
||||
ENDIF
|
||||
|
||||
FMT(vowel/a_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme e
|
||||
vowel starttype #e endtype #e
|
||||
length 200
|
||||
FMT(vowel/e_mid2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme i
|
||||
vowel starttype #i endtype #i
|
||||
length 190
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/i)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme o
|
||||
vowel starttype #o endtype #o
|
||||
length 200
|
||||
FMT(vowel/oo)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme u
|
||||
vowel starttype #u endtype #u
|
||||
length 200
|
||||
FMT(vowel/u_bck2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme Y
|
||||
vowel starttype #@ endtype #@
|
||||
length 200
|
||||
FMT(vowel/y#)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme s
|
||||
CALL es/s
|
||||
ipa s̺
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme z
|
||||
vls alv frc sibilant
|
||||
ipa s̻
|
||||
lengthmod 3
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause) THEN
|
||||
WAV(ufric/z_eu, 60)
|
||||
ENDIF
|
||||
WAV(ufric/z_eu, 90)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme ts
|
||||
vls alv afr sibilant
|
||||
ipa ts̺
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ufric/ts_eu, 60)
|
||||
ENDIF
|
||||
WAV(ufric/ts_eu, 90)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme tz
|
||||
vls alv afr sibilant
|
||||
ipa ts̻
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ufric/tz_eu, 90)
|
||||
ENDIF
|
||||
WAV(ufric/tz_eu, 60)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme t
|
||||
vls dnt stop
|
||||
lengthmod 2
|
||||
CALL base2/t
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme r
|
||||
vcd alv flp rhotic
|
||||
brkafter
|
||||
ipa ɾ
|
||||
lengthmod 3
|
||||
|
||||
IF nextPhW(isVowel) THEN
|
||||
ChangePhoneme(**)
|
||||
ENDIF
|
||||
|
||||
CALL base/*
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme b
|
||||
import_phoneme es/b
|
||||
endphoneme
|
||||
|
||||
phoneme d
|
||||
import_phoneme es/d
|
||||
endphoneme
|
||||
|
||||
phoneme g
|
||||
import_phoneme es/g
|
||||
endphoneme
|
||||
|
||||
phoneme n
|
||||
vcd alv nasal
|
||||
lengthmod 4
|
||||
|
||||
IF prevPhW(#i) AND nextPhW(isVowel) THEN
|
||||
ChangePhoneme(n^)
|
||||
ENDIF
|
||||
|
||||
CALL base/n
|
||||
endphoneme
|
||||
|
||||
phoneme n2 // doesn't palatalise, used for exceptions
|
||||
vcd alv nasal
|
||||
lengthmod 4
|
||||
CALL base/n
|
||||
endphoneme
|
||||
|
||||
phoneme l
|
||||
liquid
|
||||
IF prevPhW(#i) AND nextPhW(isVowel) THEN
|
||||
ChangePhoneme(l^)
|
||||
ENDIF
|
||||
CALL base/l
|
||||
endphoneme
|
||||
phoneme l2 // same as n2
|
||||
liquid
|
||||
CALL base/l
|
||||
endphoneme
|
||||
|
||||
+16
-6
@@ -58,6 +58,10 @@ phoneme i
|
||||
length 140
|
||||
IfNextVowelAppend(;)
|
||||
FMT(vowel/i)
|
||||
|
||||
IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND NOT prevPhW(E) THEN
|
||||
ChangePhoneme(I)
|
||||
ENDIF
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -119,9 +123,9 @@ endphoneme
|
||||
|
||||
|
||||
phoneme aU
|
||||
vowel starttype #a endtype #o
|
||||
length 300
|
||||
FMT(vdiph/aoo)
|
||||
vowel starttype #a endtype #u
|
||||
length 270
|
||||
FMT(vdiph/au_4)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -150,9 +154,15 @@ phoneme l^
|
||||
endphoneme
|
||||
|
||||
phoneme ts
|
||||
import_phoneme consonants/ts
|
||||
voicingswitch s
|
||||
lengthmod 4
|
||||
vls alv afr sibilant
|
||||
voicingswitch dz
|
||||
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
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ustop/ts_)
|
||||
ENDIF
|
||||
WAV(ustop/ts)
|
||||
endphoneme
|
||||
|
||||
phoneme dz
|
||||
|
||||
@@ -4,3 +4,41 @@
|
||||
//====================================================
|
||||
|
||||
|
||||
phoneme c
|
||||
import_phoneme base/c
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme c#
|
||||
CALL base/tS;
|
||||
ipa cU+02B0
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme tS
|
||||
vls pla afr sibilant
|
||||
voicingswitch dZ
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=2300 200 400 f3=-100 80
|
||||
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ustop/tsh_)
|
||||
ENDIF
|
||||
WAV(ustop/tsh_unasp)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
phoneme aI~
|
||||
vowel long starttype #@ endtype #i
|
||||
length 270
|
||||
long
|
||||
FMT(vnasal/ai_n)
|
||||
endphoneme
|
||||
|
||||
phoneme aU~
|
||||
vowel long starttype #a endtype #u
|
||||
length 300
|
||||
long
|
||||
FMT(vnasal/au_n)
|
||||
endphoneme
|
||||
|
||||
@@ -152,6 +152,9 @@ endphoneme
|
||||
|
||||
|
||||
phoneme s# // This is [s] for Brazil, [S] for Portugal
|
||||
IF nextPh(isVoiced) THEN
|
||||
ChangePhoneme(Z)
|
||||
ENDIF
|
||||
CALL base/S
|
||||
ipa ʃ
|
||||
endphoneme
|
||||
|
||||
@@ -200,7 +200,11 @@ phoneme r-
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme s# // This is [s] for Brazi;, [S] for Portugal
|
||||
phoneme s# // This is [s] for Brazil, [S] for Portugal
|
||||
IF nextPh(isVoiced) THEN
|
||||
ChangePhoneme(z)
|
||||
ENDIF
|
||||
|
||||
CALL base/s
|
||||
ipa s
|
||||
endphoneme
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user