mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
[1.46.34]
Changes to languages: pt, en, vi git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@300 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+27
-15
@@ -5,7 +5,7 @@ consonants 10 118
|
||||
base2 26 125
|
||||
en 54 156
|
||||
en-n 33 156
|
||||
en-us 41 157
|
||||
en-us 40 157
|
||||
en-sc 40 158
|
||||
en-rp 34 156
|
||||
en-wm 31 156
|
||||
@@ -43,15 +43,15 @@ consonants 10 118
|
||||
es-la 1 125
|
||||
ca 11 127
|
||||
an 4 125
|
||||
pt 29 140
|
||||
pt-pt 20 140
|
||||
pt 30 141
|
||||
pt-pt 20 141
|
||||
ro 36 148
|
||||
el 10 125
|
||||
grc 12 129
|
||||
sv 22 129
|
||||
no 28 134
|
||||
is 42 141
|
||||
vi 41 141
|
||||
vi 52 146
|
||||
zhy 41 138
|
||||
zh 64 155
|
||||
sw 9 110
|
||||
@@ -555,6 +555,7 @@ n/n@ [n] base
|
||||
[n#] is
|
||||
[n] zh
|
||||
n/n#_ [n#] is
|
||||
[n] vi
|
||||
n^/n^a [n^] base
|
||||
[n;] lt
|
||||
[n#] ru
|
||||
@@ -817,7 +818,6 @@ ufric/tl# [tl#] is
|
||||
ufric/tlh [K] nso
|
||||
[K] tn
|
||||
ufric/x [x] base
|
||||
[kh] vi
|
||||
ufric/x2 [x2] af
|
||||
[x] ku
|
||||
[X] kk
|
||||
@@ -927,6 +927,7 @@ ustop/p_unasp_ [p-] consonants
|
||||
[p] base2
|
||||
[p] fr
|
||||
[p] lv
|
||||
[p] vi
|
||||
[p] sq
|
||||
ustop/q [q] base
|
||||
ustop/q2 [q] ka
|
||||
@@ -962,6 +963,7 @@ ustop/t_dnt2 [t] base2
|
||||
ustop/t_hi [t[] base
|
||||
[t] et
|
||||
[t^] et
|
||||
[t[] vi
|
||||
[t`] am
|
||||
ustop/t_pzd [c] base
|
||||
[t^] et
|
||||
@@ -1028,6 +1030,7 @@ ustop/ts_sr [tS;] sr
|
||||
ustop/ts_unasp [ts] zh
|
||||
ustop/t_unasp [t-] ko
|
||||
ustop/t_unasp2 [t] el
|
||||
[t[] vi
|
||||
[t] zh
|
||||
vdiph/0i [OI] pt
|
||||
[OI] grc
|
||||
@@ -1045,8 +1048,7 @@ vdiph2/ee@ [e@] en-n
|
||||
vdiph2/ee@_2 [e@] en-rp
|
||||
vdiph2/ei_2 [eI] en-rp
|
||||
vdiph2/ei_3 [i:] en-wm
|
||||
vdiph2/ei_4 [eI] en-us
|
||||
[ei] zh
|
||||
vdiph2/ei_4 [ei] zh
|
||||
[eI] sq
|
||||
vdiph2/eo [eo] ro
|
||||
vdiph2/e_u [e[u] ro
|
||||
@@ -1080,6 +1082,7 @@ vdiph2/iy [iy] fi
|
||||
vdiph2/o@ [o@] af
|
||||
[u@] zh
|
||||
vdiph2/oa [Oa] ro
|
||||
[o@] vi
|
||||
[ua] zh
|
||||
vdiph2/o_oo [o@] en-wi
|
||||
[O:] is
|
||||
@@ -1207,6 +1210,7 @@ vdiph/eei_2 [eI] eo
|
||||
vdiph/eei_3 [eI] lt
|
||||
[eI] sk
|
||||
[eI] ku
|
||||
vdiph/eei_5 [eI] en-us
|
||||
vdiph/eeu [EU] pt
|
||||
[EU] grc
|
||||
[EU] vi
|
||||
@@ -1254,7 +1258,6 @@ vdiph/i@_2 [e@] af
|
||||
vdiph/@i_3 [eI] en-wm
|
||||
[@I] ro
|
||||
[ai] zhy
|
||||
vdiph/&i_3 [aI] vi
|
||||
vdiph/ii [iI] ro
|
||||
vdiph/i#i [yI] ro
|
||||
vdiph/oi [oI] base2
|
||||
@@ -1296,10 +1299,10 @@ vdiph/ou_3 [oU] is
|
||||
[oU:] is
|
||||
vdiph/ou_4 [o:] nl
|
||||
vdiph/@u [u:] en-wm
|
||||
[@U] vi
|
||||
[@:U] vi
|
||||
vdiph/@u_2 [oU] en-rp
|
||||
vdiph/@u_3 [@U] ro
|
||||
[@U] vi
|
||||
[@U] ga
|
||||
vdiph/@u_en [oU] en
|
||||
[@U] id
|
||||
@@ -1322,6 +1325,7 @@ vdiph/Vu [@U] af
|
||||
vdiph/Vu_2 [oU] en-wm
|
||||
vdiph/&y [&y] fi
|
||||
[Wy] nl
|
||||
[aI] vi
|
||||
vdiph/yi [yi] fi
|
||||
[yi] et
|
||||
[yI] grc
|
||||
@@ -1337,6 +1341,13 @@ vdiph/y#y [Yy] fi
|
||||
vdiph/y#y_2 [Yy] af
|
||||
[eoi] zhy
|
||||
vdiph/y#y_3 [Y:] nl
|
||||
vietnam/a [a:] vi
|
||||
vietnam/_c [kh] vi
|
||||
vietnam/ch [c] vi
|
||||
vietnam/dd [d] vi
|
||||
vietnam/oe [o&] vi
|
||||
vietnam/th [t] vi
|
||||
vietnam/tr [cr] vi
|
||||
vnasal/aa_n [a~] hi
|
||||
vnasal/aa_n2 [A~] en
|
||||
vnasal/aa_n3 [A~] af
|
||||
@@ -1346,6 +1357,7 @@ vnasal/aa_n4 [A~] de
|
||||
vnasal/a#_n [&~] pt
|
||||
vnasal/a#u_n [&U~] pt
|
||||
[&U~] pt-pt
|
||||
[o#] vi
|
||||
vnasal/ee_n [E~] fr-ca
|
||||
vnasal/ee_n2 [a] en-us
|
||||
[E~] hi
|
||||
@@ -1368,13 +1380,16 @@ vnasal/oo_n2 [O~] en
|
||||
[O~] nl
|
||||
[o] zh
|
||||
vnasal/oo_n3 [O~] pl
|
||||
vnasal/&u_n [O#] vi
|
||||
vnasal/u_n [U~] hi
|
||||
[u~] hi
|
||||
[u~] pt
|
||||
[u] vi
|
||||
[u] zh
|
||||
vnasal/V_n [V~] hi
|
||||
vnasal/W_n [E~] fr
|
||||
[W~] fr
|
||||
[&2~] pt
|
||||
[E~] ht
|
||||
voc/bh [B] base
|
||||
voc/dh [D] base
|
||||
@@ -1496,8 +1511,7 @@ vowel/0_3 [O:] en-us
|
||||
[A] hu
|
||||
[A] fa
|
||||
[0] tt
|
||||
vowel/@_2 [@] vi
|
||||
[@:] vi
|
||||
vowel/@_2 [@:] vi
|
||||
[@] sq
|
||||
[V] sq
|
||||
[@/] sq
|
||||
@@ -1634,7 +1648,6 @@ vowel/a#_3 [a#] en
|
||||
[a#] ga
|
||||
vowel/a_4 [a] es
|
||||
[a] el
|
||||
[a] vi
|
||||
[a] ga
|
||||
vowel/a#_4 [a:] nl
|
||||
[a] bg
|
||||
@@ -1650,7 +1663,7 @@ vowel/a_5 [a:] ta
|
||||
[a] tn
|
||||
[a] kk
|
||||
vowel/a_6 [a] ca
|
||||
[a:] vi
|
||||
[a] vi
|
||||
[a] am
|
||||
[a:] wo
|
||||
vowel/a_7 [a] fr
|
||||
@@ -2279,7 +2292,6 @@ vowel/u_6 [u] ta
|
||||
[u:] te
|
||||
[u] si
|
||||
[u:] si
|
||||
vowel/u_7 [u] vi
|
||||
vowel/u#_7 [@] tr
|
||||
[@] az
|
||||
vowel/u_bck [u] base2
|
||||
@@ -2355,6 +2367,7 @@ vowel/uu_bck [U] en-wi
|
||||
[U] pa
|
||||
vowel/V [3] en-sc
|
||||
[@] bg
|
||||
[@] vi
|
||||
[W#] da
|
||||
vowel/V_2 [V] en
|
||||
[a] af
|
||||
@@ -2441,7 +2454,6 @@ vwl_en/aU@ [aU@] en
|
||||
[aU@] en-sc
|
||||
[aU@] en-wm
|
||||
vwl_en/@L [@L] en
|
||||
[@L] en-us
|
||||
[@L] af
|
||||
vwl_en/@L_2 [@L] en-sc
|
||||
vwl_en_n/O@ [O@] en-n
|
||||
|
||||
@@ -41,14 +41,6 @@ phoneme @2 // Schwa, changes to I before a vowel
|
||||
FMT(vowel/@_low2)
|
||||
endphoneme
|
||||
|
||||
phoneme @L
|
||||
vowel starttype #@ endtype l
|
||||
ipa əl
|
||||
unstressed
|
||||
length 160
|
||||
FMT(vwl_en/@L)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a
|
||||
vowel starttype #e endtype #@
|
||||
@@ -176,6 +168,7 @@ phoneme 3:
|
||||
vowel starttype #@ endtype #@
|
||||
length 240
|
||||
IfNextVowelAppend(r-)
|
||||
ChangeIfDiminished(3)
|
||||
FMT(vwl_en_us/3_us2)
|
||||
endphoneme
|
||||
|
||||
@@ -265,7 +258,7 @@ endphoneme
|
||||
phoneme eI
|
||||
vowel starttype #e endtype #i
|
||||
length 230
|
||||
FMT(vdiph2/ei_4)
|
||||
FMT(vdiph/eei_5)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@ phoneme &~
|
||||
vowel starttype #@ endtype #@
|
||||
ipa ɐU+0303
|
||||
length 180
|
||||
// ChangeIfNotStressed(&)
|
||||
FMT(vnasal/a#_n)
|
||||
endphoneme
|
||||
|
||||
@@ -225,3 +224,10 @@ phoneme *
|
||||
endphoneme
|
||||
|
||||
|
||||
// TESTING
|
||||
phoneme &2~
|
||||
vowel starttype #@ endtype #@
|
||||
ipa ɐU+0303
|
||||
length 200
|
||||
FMT(vnasal/W_n)
|
||||
endphoneme
|
||||
|
||||
Regular → Executable
+145
-29
@@ -12,13 +12,13 @@ endphoneme
|
||||
|
||||
phoneme 2 // huyền tone: low falling
|
||||
stress
|
||||
Tone(20, 8, envelope/p_fall, NULL)
|
||||
Tone(20, 8, envelope/p_fall, NULL) //20
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 3 // sắc Tone(rising
|
||||
stress
|
||||
Tone(25, 50, envelope/p_rise, NULL)
|
||||
Tone(25, 50, envelope/p_rise, NULL) // 25
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -30,13 +30,13 @@ endphoneme
|
||||
|
||||
phoneme 5 // ngã tone: broken (creaking rising)
|
||||
stress
|
||||
Tone(28, 58, envelope/p_214, envelope/vi_5amp)
|
||||
Tone(28,58, envelope/p_214, envelope/vi_5amp) // 28,58
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 6 // nặng Tone(drop (constricted)
|
||||
stress
|
||||
length 75 // reduce the length of the vowel
|
||||
//length 150 // ignore because it make too short sound 75 // reduce the length of the vowel
|
||||
Tone(40, 20, envelope/p_512, envelope/vi_6amp)
|
||||
endphoneme
|
||||
|
||||
@@ -54,14 +54,14 @@ endphoneme
|
||||
|
||||
phoneme a
|
||||
vowel starttype #@ endtype #@
|
||||
length 130
|
||||
FMT(vowel/a_4)
|
||||
length 120
|
||||
FMT(vowel/a_6) //a_4)
|
||||
endphoneme
|
||||
|
||||
phoneme a:
|
||||
vowel starttype #a endtype #a
|
||||
length 280
|
||||
FMT(vowel/a_6)
|
||||
length 200 //280
|
||||
FMT(vietnam/a) //FMT(vowel/a_6)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -91,26 +91,42 @@ endphoneme
|
||||
|
||||
phoneme O
|
||||
vowel starttype #o endtype #o
|
||||
length 200
|
||||
FMT(vowel/aa_4)
|
||||
IF nextPh(kh) THEN
|
||||
length 95
|
||||
ELSE
|
||||
length 200
|
||||
ENDIF
|
||||
FMT(vowel/aa_4)
|
||||
endphoneme
|
||||
|
||||
phoneme o
|
||||
vowel starttype #o endtype #o
|
||||
length 200
|
||||
IF nextPh(kh) THEN
|
||||
length 95
|
||||
ELSE
|
||||
length 200
|
||||
ENDIF
|
||||
FMT(vowel/o_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme u
|
||||
vowel starttype #u endtype #u
|
||||
length 200
|
||||
FMT(vowel/u_7)
|
||||
IF nextPh(kh) OR nextPh(N) THEN // hear as ung sound
|
||||
length 120
|
||||
ELSE
|
||||
length 200
|
||||
ENDIF
|
||||
FMT(vnasal/u_n) //vowel/u_7)
|
||||
endphoneme
|
||||
|
||||
phoneme y
|
||||
vowel starttype #u endtype #u
|
||||
length 200
|
||||
IF nextPh(kh) OR nextPh(N) THEN
|
||||
length 120
|
||||
ELSE
|
||||
length 200
|
||||
ENDIF
|
||||
FMT(vowel/u#_5)
|
||||
endphoneme
|
||||
|
||||
@@ -118,8 +134,12 @@ endphoneme
|
||||
|
||||
phoneme @
|
||||
vowel starttype #@ endtype #a
|
||||
length 130
|
||||
FMT(vowel/@_2)
|
||||
IF nextPh(kh) OR nextPh(N) THEN
|
||||
length 120
|
||||
ELSE
|
||||
length 170
|
||||
ENDIF
|
||||
FMT(vowel/V) //vowel/@_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -136,28 +156,28 @@ endphoneme
|
||||
|
||||
phoneme aI
|
||||
vowel starttype #a endtype #i
|
||||
length 250
|
||||
FMT(vdiph/&i_3)
|
||||
length 200 //250
|
||||
FMT(vdiph/&y)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme a:I
|
||||
vowel starttype #a endtype #i
|
||||
length 250
|
||||
length 200 //250
|
||||
FMT(vdiph/ai)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme @I
|
||||
vowel starttype #@ endtype #i
|
||||
length 250
|
||||
length 200 //250
|
||||
FMT(vdiph/@i)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme @:I
|
||||
vowel starttype #@ endtype #i
|
||||
length 250
|
||||
length 200 //250
|
||||
FMT(vdiph/@i)
|
||||
endphoneme
|
||||
|
||||
@@ -214,7 +234,7 @@ endphoneme
|
||||
|
||||
phoneme a:U
|
||||
vowel starttype #a endtype #u
|
||||
length 270
|
||||
length 230 //270
|
||||
FMT(vdiph/au)
|
||||
endphoneme
|
||||
|
||||
@@ -241,7 +261,7 @@ endphoneme
|
||||
phoneme @U
|
||||
vowel starttype #@ endtype #u
|
||||
length 200
|
||||
FMT(vdiph/@u)
|
||||
FMT(vdiph/@u_3)
|
||||
endphoneme
|
||||
|
||||
phoneme @:U
|
||||
@@ -270,27 +290,123 @@ phoneme u@
|
||||
FMT(vdiph2/uu@)
|
||||
endphoneme
|
||||
|
||||
// Addition Dipthongs
|
||||
|
||||
phoneme o# // ông
|
||||
vowel starttype #o endtype #o
|
||||
length 200
|
||||
FMT(vnasal/a#u_n)
|
||||
endphoneme
|
||||
|
||||
phoneme O# // ong
|
||||
vowel starttype #o endtype #o
|
||||
length 200
|
||||
FMT(vnasal/&u_n)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme o@
|
||||
vowel starttype #o endtype #o
|
||||
length 160
|
||||
FMT(vdiph2/oa)
|
||||
endphoneme
|
||||
|
||||
phoneme o&
|
||||
vowel starttype #o endtype #o
|
||||
length 160
|
||||
FMT(vietnam/oe)
|
||||
endphoneme
|
||||
|
||||
phoneme kh
|
||||
vls vel frc
|
||||
lengthmod 3
|
||||
Vowelin f1=0 f2=2300 200 400 f3=200 80
|
||||
Vowelout f1=0 f2=2300 300 400 f3=200 80 rms=20
|
||||
WAV(ufric/x, 50)
|
||||
WAV(vietnam/_c,5) //ufric/x, 50)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme l
|
||||
liquid
|
||||
lengthmod 7
|
||||
//IF nextPh(isNotVowel) THEN
|
||||
// ChangePhoneme(l/2)
|
||||
//ENDIF
|
||||
|
||||
IF nextPh(isNotVowel) THEN
|
||||
ChangePhoneme(l/2)
|
||||
ENDIF
|
||||
|
||||
CALL vowelstart_l
|
||||
//CALL vowelstart_l
|
||||
|
||||
FMT(l/l_vi)
|
||||
endphoneme
|
||||
|
||||
phoneme t
|
||||
vls alv stop
|
||||
//voicingswitch d
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20
|
||||
|
||||
WAV(vietnam/th, 50)
|
||||
endphoneme
|
||||
|
||||
phoneme cr
|
||||
vls pla afr sibilant
|
||||
//voicingswitch dZ
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=2300 200 400 f3=-100 80
|
||||
|
||||
|
||||
WAV(vietnam/tr,10)
|
||||
endphoneme
|
||||
|
||||
phoneme d
|
||||
vcd alv stop
|
||||
lengthmod 5
|
||||
|
||||
Vowelin f1=1 f2=1700 -300 300 f3=-100 80
|
||||
Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
|
||||
WAV(vietnam/dd)
|
||||
endphoneme
|
||||
|
||||
phoneme c
|
||||
vls pal stop palatal
|
||||
//voicingswitch J
|
||||
lengthmod 2
|
||||
length 75
|
||||
Vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
|
||||
Vowelout f1=1 f2=2700 400 600 f3=200 70 len=50 colr=1
|
||||
|
||||
|
||||
WAV(vietnam/ch,5)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme p
|
||||
vls blb stop
|
||||
lengthmod 2
|
||||
Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
|
||||
Vowelout f1=0 f2=1000 -500 -350 f3=-300 80 rms=22
|
||||
|
||||
WAV(ustop/p_unasp_,10)
|
||||
|
||||
endphoneme
|
||||
|
||||
phoneme n
|
||||
vcd alv nasal
|
||||
Vowelin f1=0 f2=1000 -50 -100 f3=-200 80 amp=11
|
||||
Vowelout f1=2 f2=1700 -300 250 f3=-100 80 rms=20 brk
|
||||
lengthmod 4
|
||||
FMT(n/n#_)
|
||||
endphoneme
|
||||
|
||||
phoneme t[ // dental variant of /t/
|
||||
vls dnt stop
|
||||
voicingswitch d[
|
||||
lengthmod 2
|
||||
Vowelin f1=1 f2=1500 -250 250 f3=-100 80 amp=16
|
||||
Vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
|
||||
|
||||
IF nextPh(isPause2) THEN
|
||||
WAV(ustop/t_unasp2, 5)
|
||||
ENDIF
|
||||
WAV(ustop/t_hi, 70)
|
||||
endphoneme
|
||||
+1
-1
@@ -1812,7 +1812,7 @@ phonemetable is base
|
||||
include ph_icelandic
|
||||
|
||||
phonemetable vi base
|
||||
include ph_vi
|
||||
include ph_vietnam
|
||||
|
||||
phonemetable zhy base
|
||||
include ph_zh_yue
|
||||
|
||||
Reference in New Issue
Block a user