mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-03 06:55:44 +00:00
Merge branch 'upstream' into development
Conflicts: dictsource/dict_phonemes phsource/compile_report
This commit is contained in:
@@ -287,6 +287,13 @@ phoneme 0# // [@] in unstressed syllables
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 02 // becomes V in en-us
|
||||
vowel starttype #o endtype #o
|
||||
length 140
|
||||
ChangePhoneme(0)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme V
|
||||
vowel starttype #a endtype #@
|
||||
length 140
|
||||
|
||||
@@ -135,6 +135,13 @@ phoneme 0
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 02 // becomes V in en-us
|
||||
vowel starttype #o endtype #o
|
||||
length 140
|
||||
ChangePhoneme(V)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme V
|
||||
vowel starttype #a endtype #@
|
||||
length 140
|
||||
|
||||
@@ -8,7 +8,7 @@ phoneme 3 // Schwa, used for rhotic schwa in American
|
||||
vowel starttype #@ endtype #@
|
||||
ipa ɚ
|
||||
unstressed
|
||||
length 200
|
||||
length 210
|
||||
IfNextVowelAppend(r-)
|
||||
FMT(vwl_en_us/3_us)
|
||||
endphoneme
|
||||
@@ -125,6 +125,13 @@ phoneme 0
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 02 // becomes V in en-us
|
||||
vowel starttype #o endtype #o
|
||||
length 140
|
||||
ChangePhoneme(V)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme V
|
||||
vowel starttype #a endtype #@
|
||||
length 170
|
||||
|
||||
@@ -65,6 +65,13 @@ phoneme 0
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme 02 // becomes V in en-us
|
||||
vowel starttype #o endtype #o
|
||||
length 140
|
||||
ChangePhoneme(V)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme V
|
||||
vowel starttype #o endtype #o
|
||||
ipa ʊ
|
||||
|
||||
@@ -32,3 +32,49 @@ phoneme aU~
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme V
|
||||
vowel flag1 starttype #@ endtype #@
|
||||
length 140
|
||||
|
||||
IF thisPh(isWordStart) THEN
|
||||
FMT(vowel/V_2)
|
||||
RETURN
|
||||
ENDIF
|
||||
|
||||
IF thisPh(isNotStressed) THEN
|
||||
length 130
|
||||
|
||||
IF thisPh(isWordEnd) AND NOT thisPh(isFirstVowel) THEN
|
||||
ChangePhoneme(NULL)
|
||||
ENDIF
|
||||
|
||||
IF prev2PhW(isVowel) AND NOT nextVowel(isFlag1) THEN
|
||||
IF nextPhW(isNotVowel) AND nextPh(isWordEnd) THEN
|
||||
// don't delete schwa before a word-final consonant
|
||||
ELSE
|
||||
ChangePhoneme(NULL)
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
IF prevPh(isPalatal) AND NOT nextPh(H) THEN
|
||||
ChangePhoneme(@3)
|
||||
ELSEIF prevPh(r) THEN
|
||||
ChangePhoneme(@2)
|
||||
ELSE
|
||||
ChangePhoneme(@)
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
IF prevPh(w) THEN
|
||||
FMT(vowel/V_4)
|
||||
ENDIF
|
||||
|
||||
FMT(vowel/V_2)
|
||||
endphoneme
|
||||
|
||||
phoneme o:
|
||||
vowel long starttype #o endtype #o
|
||||
length 227
|
||||
FMT(vowel/o)
|
||||
endphoneme
|
||||
|
||||
|
||||
Reference in New Issue
Block a user