mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
[1.47.10a]
Lang=sl, set open/close 'e' and 'o' from syllable stress. Lang=tr, fix 'r'. Lang=te, ml: change [t.#] [d.#] Lang=hi, change [d.#] git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@356 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+17
-11
@@ -1,5 +1,5 @@
|
||||
|
||||
91 phoneme tables
|
||||
89 phoneme tables
|
||||
new total
|
||||
base 109 109
|
||||
consonants 11 119
|
||||
@@ -30,7 +30,7 @@ consonants 11 119
|
||||
pa 15 151
|
||||
ta 24 153
|
||||
kn 17 149
|
||||
ml 26 152
|
||||
ml 27 152
|
||||
hu 25 124
|
||||
lt 44 139
|
||||
lv 29 127
|
||||
@@ -72,7 +72,7 @@ consonants 11 119
|
||||
fa 9 112
|
||||
rw 15 132
|
||||
prs 8 113
|
||||
sl 11 137
|
||||
sl 16 125
|
||||
gd 6 109
|
||||
nso 12 113
|
||||
ht 11 146
|
||||
@@ -81,7 +81,7 @@ consonants 11 119
|
||||
am 15 114
|
||||
wo 18 120
|
||||
dv 14 149
|
||||
te 16 149
|
||||
te 18 149
|
||||
si 24 155
|
||||
tn 27 121
|
||||
mt 32 129
|
||||
@@ -90,8 +90,6 @@ consonants 11 119
|
||||
tt 23 120
|
||||
ko 19 120
|
||||
kl 18 119
|
||||
ar 1 109
|
||||
gu 1 149
|
||||
|
||||
Data file Used by
|
||||
b/b [b] base
|
||||
@@ -156,7 +154,6 @@ d/dr [*] base
|
||||
[d^] et
|
||||
[d] fr
|
||||
[d.] hi
|
||||
[d.#] hi
|
||||
[d] kn
|
||||
[d] hu
|
||||
[d] lt
|
||||
@@ -166,6 +163,8 @@ d/dr [*] base
|
||||
[d] hr
|
||||
[d] sq
|
||||
[d] mt
|
||||
d/dr2 [d.#] hi
|
||||
[d.#] te
|
||||
d/tap [*;] ro
|
||||
d/tap1 [*] base
|
||||
d/tap2 [t#] en
|
||||
@@ -200,6 +199,7 @@ d/xdr [d] fr
|
||||
[d.] hi
|
||||
[d.#] hi
|
||||
[d.#] ml
|
||||
[d.#] te
|
||||
d/xdz [dz] consonants
|
||||
[dz] bo
|
||||
[dz#] bo
|
||||
@@ -987,8 +987,6 @@ ustop/q [q] base
|
||||
ustop/q_u [q] base
|
||||
ustop/t [t] base
|
||||
[t] en-us
|
||||
[d.#] hi
|
||||
[d.#] ml
|
||||
[t] zhy
|
||||
[t] da
|
||||
ustop/t_ [t] base
|
||||
@@ -1019,6 +1017,11 @@ ustop/t_hi [t[] base
|
||||
[t[] vi
|
||||
[t`] am
|
||||
ustop/th_rfx [t.#] hi
|
||||
ustop/th_rfx2 [d.#] hi
|
||||
[d.#] ml
|
||||
[t.#] ml
|
||||
[d.#] te
|
||||
[t.#] te
|
||||
ustop/t_pzd [c] base
|
||||
[t^] et
|
||||
[t;] lt
|
||||
@@ -1683,6 +1686,7 @@ vowel/a#_2 [A] nl
|
||||
[a] sv
|
||||
[a] is
|
||||
[a/] sw
|
||||
[a] tr
|
||||
[a] ka
|
||||
[a] nso
|
||||
[a] te
|
||||
@@ -1731,7 +1735,6 @@ vowel/a#_4 [a:] nl
|
||||
[a] ml
|
||||
[a] bg
|
||||
[a/] it
|
||||
[a] tr
|
||||
vowel/a_5 [a:] hi
|
||||
[a:] ta
|
||||
[a:] ml
|
||||
@@ -1754,6 +1757,7 @@ vowel/a_8 [a] en
|
||||
[a:] vi
|
||||
[A] da
|
||||
[?A] da
|
||||
[a] sl
|
||||
vowel/aa [a:] et
|
||||
[A] fr-ca
|
||||
[A] no
|
||||
@@ -1780,6 +1784,7 @@ vowel/aa_5 [A:] en-n
|
||||
[A@] en-wm
|
||||
vowel/aa_6 [A] de
|
||||
[A:] de
|
||||
[a] tr
|
||||
vowel/aa_8 [0] en-us
|
||||
[A:] en-us
|
||||
[0] ga
|
||||
@@ -1836,7 +1841,6 @@ vowel/e [e] base
|
||||
[?e] da
|
||||
[e] rw
|
||||
[e#] rw
|
||||
[e:] sl
|
||||
[e] wo
|
||||
[e:] wo
|
||||
[e] dv
|
||||
@@ -1944,6 +1948,7 @@ vowel/e_mid [E] en-rp
|
||||
[e] ka
|
||||
[E] prs
|
||||
[E] sl
|
||||
[E#] sl
|
||||
[E] ht
|
||||
[e] si
|
||||
vowel/e_mid2 [E] af
|
||||
@@ -2502,6 +2507,7 @@ vowel/y [y] base2
|
||||
[y] sq
|
||||
[y] da
|
||||
[?y] da
|
||||
[y] sl
|
||||
[y] az
|
||||
[y] mt
|
||||
[y] tt
|
||||
|
||||
Executable
BIN
Binary file not shown.
+2
-3
@@ -430,15 +430,14 @@ phoneme d.#
|
||||
lengthmod 5
|
||||
ipa ɖU+02B0
|
||||
voicingswitch t.#
|
||||
Vowelin f1=1 f2=1800 -300 300 f3=-400 80
|
||||
Vowelin f1=1 f2=1800 -300 300 f3=-150 80
|
||||
Vowelout f1=1 f2=1800 -300 300 f3=-400 80 colr=2
|
||||
|
||||
IF PreVoicing THEN
|
||||
FMT(d/xdr)
|
||||
ENDIF
|
||||
|
||||
FMT(d/dr) addWav(ustop/t)
|
||||
// FMT(d/dr) addWav(ustop/th_rfx)
|
||||
FMT(d/dr2, 50) addWav(ustop/th_rfx2, 80)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
+17
-2
@@ -193,11 +193,26 @@ phoneme d#
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme t.#
|
||||
vls rfx stop
|
||||
lengthmod 2
|
||||
ipa ʈU+02B0
|
||||
voicingswitch d.#
|
||||
Vowelin f1=0 f2=1800 -300 300 f3=-200 80
|
||||
Vowelout f1=0 f2=1800 -300 250 f3=-400 80 rms=20 colr=2
|
||||
|
||||
IF nextPhW(t.#) THEN
|
||||
ChangePhoneme(t.)
|
||||
ENDIF
|
||||
WAV(ustop/th_rfx2, 80)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme d.#
|
||||
vls rfx stop prevoice
|
||||
lengthmod 2
|
||||
ipa ʈU+02B0
|
||||
Vowelin f1=0 f2=1800 -300 300 f3=-400 80
|
||||
Vowelin f1=0 f2=1800 -300 300 f3=-200 80
|
||||
Vowelout f1=0 f2=1800 -300 250 f3=-400 80 rms=20 colr=2
|
||||
|
||||
IF PreVoicing THEN
|
||||
@@ -209,7 +224,7 @@ phoneme d.#
|
||||
ENDIF
|
||||
|
||||
voicingswitch d.#
|
||||
WAV(ustop/t)
|
||||
WAV(ustop/th_rfx2, 80)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
+46
-11
@@ -1,13 +1,20 @@
|
||||
|
||||
|
||||
phoneme : // lengthen previous vowel by "length"
|
||||
virtual
|
||||
length 40 // only a small increase for "long stress" because we probably put the stress on the wrong syllable
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme @ // Schwa, can be stressed
|
||||
vowel starttype #@ endtype #@
|
||||
length 140
|
||||
length 160
|
||||
FMT(vowel/@)
|
||||
endphoneme
|
||||
|
||||
phoneme i
|
||||
vowel starttype #i endtype #i
|
||||
length 140
|
||||
length 160
|
||||
IfNextVowelAppend(;)
|
||||
IF thisPh(isStressed) AND NOT nextPhW(isRhotic) THEN
|
||||
FMT(vowel/ii_6)
|
||||
@@ -17,31 +24,32 @@ endphoneme
|
||||
|
||||
phoneme u
|
||||
vowel starttype #u endtype #u
|
||||
length 140
|
||||
length 160
|
||||
FMT(vowel/u_2)
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
phoneme a
|
||||
vowel starttype #a endtype #a
|
||||
length 170
|
||||
IF thisPh(isUnstressed) THEN
|
||||
FMT(vowel/a_8)
|
||||
ENDIF
|
||||
FMT(vowel/a)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme e
|
||||
vowel starttype #e endtype #e
|
||||
length 160
|
||||
length 170
|
||||
ChangeIfUnstressed(E)
|
||||
FMT(vowel/e_2)
|
||||
endphoneme
|
||||
|
||||
phoneme e:
|
||||
phoneme e+ // doesn't reduce to [e]
|
||||
vowel starttype #e endtype #e
|
||||
length 240
|
||||
FMT(vowel/e)
|
||||
endphoneme
|
||||
|
||||
ChangePhoneme(e)
|
||||
endphoneme
|
||||
|
||||
phoneme E
|
||||
vowel starttype #e endtype #e
|
||||
@@ -49,14 +57,27 @@ phoneme E
|
||||
FMT(vowel/e_mid)
|
||||
endphoneme
|
||||
|
||||
phoneme E#
|
||||
vowel starttype #e endtype #e
|
||||
length 160
|
||||
IF thisPh(isNotStressed) THEN
|
||||
ChangePhoneme(@)
|
||||
ENDIF
|
||||
FMT(vowel/e_mid)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme o
|
||||
vowel starttype #o endtype #o
|
||||
length 160
|
||||
length 170
|
||||
ChangeIfUnstressed(O)
|
||||
FMT(vowel/o_8)
|
||||
endphoneme
|
||||
|
||||
phoneme o+ // doesn't reduce to [O]
|
||||
vowel starttype #o endtype #o
|
||||
ChangePhoneme(o)
|
||||
endphoneme
|
||||
|
||||
phoneme O
|
||||
vowel starttype #o endtype #o
|
||||
@@ -69,3 +90,17 @@ endphoneme
|
||||
phoneme v
|
||||
import_phoneme base/v#
|
||||
endphoneme
|
||||
|
||||
|
||||
// for foreign letters
|
||||
phoneme y
|
||||
vowel starttype #i endtype #i
|
||||
length 170
|
||||
FMT(vowel/y)
|
||||
endphoneme
|
||||
|
||||
phoneme R^ // Czech r-caron
|
||||
import_phoneme sk/R^
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
@@ -104,3 +104,36 @@ endphoneme
|
||||
phoneme r
|
||||
import_phoneme base/R2
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme t.#
|
||||
vls rfx stop
|
||||
lengthmod 2
|
||||
ipa ʈU+02B0
|
||||
voicingswitch d.#
|
||||
Vowelin f1=0 f2=1800 -300 300 f3=-200 80
|
||||
Vowelout f1=0 f2=1800 -300 250 f3=-400 80 rms=20 colr=2
|
||||
|
||||
IF nextPhW(t.#) THEN
|
||||
ChangePhoneme(t.)
|
||||
ENDIF
|
||||
WAV(ustop/th_rfx2, 80)
|
||||
endphoneme
|
||||
|
||||
phoneme d.#
|
||||
vcd rfx stop
|
||||
lengthmod 5
|
||||
ipa ɖU+02B0
|
||||
voicingswitch t.#
|
||||
Vowelin f1=1 f2=1800 -300 300 f3=-150 80
|
||||
Vowelout f1=1 f2=1800 -300 300 f3=-400 80 colr=2
|
||||
|
||||
IF PreVoicing THEN
|
||||
FMT(d/xdr)
|
||||
ENDIF
|
||||
|
||||
FMT(d/dr2, 50) addWav(ustop/th_rfx2, 80)
|
||||
|
||||
endphoneme
|
||||
|
||||
|
||||
|
||||
+9
-8
@@ -92,7 +92,10 @@ endphoneme
|
||||
phoneme a
|
||||
vowel starttype #a endtype #a
|
||||
length 200
|
||||
FMT(vowel/a#_4)
|
||||
IF thisPh(isUnstressed) AND thisPh(isWordEnd) THEN
|
||||
FMT(vowel/a#_2)
|
||||
ENDIF
|
||||
FMT(vowel/aa_6)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -198,13 +201,11 @@ endphoneme
|
||||
|
||||
|
||||
phoneme R
|
||||
vcd alv flp rhotic
|
||||
liquid trill rhotic
|
||||
lengthmod 6
|
||||
IF prevPhW(isVowel) AND nextPhW(isVowel) THEN
|
||||
CALL base/*
|
||||
// ELIF prevPhW(isNotVowel) THEN
|
||||
// CALL base/R
|
||||
ELSE
|
||||
CALL base/r
|
||||
ChangePhoneme(*)
|
||||
ENDIF
|
||||
ipa ɾ
|
||||
CALL base/R
|
||||
endphoneme
|
||||
|
||||
|
||||
+5
-11
@@ -344,7 +344,7 @@ endphoneme
|
||||
|
||||
|
||||
phoneme R
|
||||
liquid
|
||||
liquid rhotic
|
||||
trill
|
||||
lengthmod 6
|
||||
ipa r
|
||||
@@ -357,7 +357,7 @@ phoneme R
|
||||
endphoneme
|
||||
|
||||
phoneme R2 // this is [R] from Slovak/Czech
|
||||
liquid
|
||||
liquid rhotic
|
||||
trill
|
||||
lengthmod 6
|
||||
ipa r
|
||||
@@ -367,7 +367,7 @@ phoneme R2 // this is [R] from Slovak/Czech
|
||||
endphoneme
|
||||
|
||||
phoneme R3 // Afrikaans
|
||||
liquid
|
||||
liquid rhotic
|
||||
trill
|
||||
lengthmod 6
|
||||
length 60
|
||||
@@ -394,7 +394,7 @@ endphoneme
|
||||
|
||||
|
||||
phoneme r" // uvular trill
|
||||
vcd uvl frc
|
||||
vcd uvl frc rhotic
|
||||
ipa ʀ
|
||||
lengthmod 6
|
||||
IF nextPh(isNotVowel) THEN
|
||||
@@ -1892,7 +1892,7 @@ include ph_kinyarwanda
|
||||
phonemetable prs base
|
||||
include ph_dari
|
||||
|
||||
phonemetable sl sk
|
||||
phonemetable sl pl
|
||||
include ph_slovenian
|
||||
|
||||
phonemetable gd base
|
||||
@@ -1947,9 +1947,3 @@ include ph_korean
|
||||
phonemetable kl base
|
||||
include ph_greenlandic
|
||||
|
||||
phonemetable ar base
|
||||
include ph_arabic
|
||||
|
||||
phonemetable gu hi
|
||||
include ph_gujarati
|
||||
|
||||
|
||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user