mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
vi: modify length of phoneme i relatively to final consonants
This commit is contained in:
@@ -1003,6 +1003,7 @@ ỵ ỵ
|
||||
u u
|
||||
u (A w
|
||||
A) u w
|
||||
gi) u u
|
||||
ui uI
|
||||
uì uI2
|
||||
uí uI3
|
||||
|
||||
+18
-4
@@ -111,15 +111,29 @@ phoneme i
|
||||
IF prevPhW(w) THEN
|
||||
VowelStart(w/wi)
|
||||
ENDIF
|
||||
IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
|
||||
IF nextPhW(p) THEN
|
||||
length 131
|
||||
ELIF nextPhW(t) THEN
|
||||
length 113
|
||||
ELIF nextPhW(c) OR nextPhW(n^) THEN
|
||||
length 72
|
||||
ELIF nextPhW(m) THEN
|
||||
length 120
|
||||
ELIF nextPhW(n) THEN
|
||||
length 128
|
||||
ELIF nextPhW(N) THEN
|
||||
length 97
|
||||
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
|
||||
length 240
|
||||
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
|
||||
length 240
|
||||
ELSE
|
||||
length 180
|
||||
ENDIF
|
||||
IF nextPh(n^) OR nextPh(c) THEN
|
||||
length 100
|
||||
FMT(vnasal/ii_n)
|
||||
ELSE
|
||||
length 180
|
||||
FMT(vowel/i_4)
|
||||
FMT(vowel/i_4)
|
||||
ENDIF
|
||||
endphoneme
|
||||
|
||||
|
||||
Reference in New Issue
Block a user