mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
Conflicts: dictsource/dict_phonemes phsource/compile_report phsource/ustop/th_rfx.wav
121 lines
1.8 KiB
Plaintext
121 lines
1.8 KiB
Plaintext
|
|
//====================================================
|
|
// Bengali, inherits from Hindi
|
|
//====================================================
|
|
|
|
|
|
phoneme V // inherent vowel, can be [O] or [o]
|
|
vowel flag1 starttype #o endtype #o
|
|
length 200
|
|
|
|
IF thisPh(isWordEnd) AND prevPhW(isNotVowel) AND prev2PhW(isVowel) THEN
|
|
ChangePhoneme(NULL)
|
|
ENDIF
|
|
|
|
IF thisPh(isFirstVowel) THEN
|
|
IF nextVowel(i) OR nextVowel(u) THEN
|
|
ChangePhoneme(o)
|
|
ENDIF
|
|
|
|
IF prevPhW(r) AND nextVowel(isVowel) THEN
|
|
IF nextVowel(isWordEnd) AND nextVowel(V) THEN
|
|
ELSE
|
|
ChangePhoneme(o)
|
|
ENDIF
|
|
ENDIF
|
|
ENDIF
|
|
|
|
ChangePhoneme(O)
|
|
endphoneme
|
|
|
|
|
|
phoneme a
|
|
vowel starttype #a endtype #a
|
|
length 225
|
|
IF thisPh(isWordEnd) AND thisPh(isUnstressed) THEN
|
|
FMT(vowel/a#_2)
|
|
ENDIF
|
|
FMT(vowel/a_3)
|
|
endphoneme
|
|
|
|
|
|
phoneme i
|
|
vowel starttype #i endtype #i
|
|
length 210
|
|
FMT(vowel/i_6)
|
|
endphoneme
|
|
|
|
|
|
phoneme u
|
|
vowel starttype #u endtype #u
|
|
length 210
|
|
FMT(vowel/u)
|
|
endphoneme
|
|
|
|
|
|
phoneme e
|
|
vowel starttype #e endtype #e
|
|
length 210
|
|
FMT(vowel/e)
|
|
endphoneme
|
|
|
|
|
|
phoneme &
|
|
vowel starttype #a endtype #a
|
|
length 210
|
|
FMT(vowel/&_2)
|
|
endphoneme
|
|
|
|
|
|
phoneme o
|
|
vowel starttype #o endtype #o
|
|
length 210
|
|
IF nextPhW(w) THEN
|
|
length 170
|
|
ENDIF
|
|
FMT(vowel/o)
|
|
endphoneme
|
|
|
|
|
|
phoneme O
|
|
vowel starttype #o endtype #o
|
|
length 200
|
|
FMT(vowel/oo_5)
|
|
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_)
|
|
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_asp)
|
|
ENDIF
|
|
WAV(ustop/tsh_asp, 120)
|
|
endphoneme
|
|
|
|
|
|
|
|
|
|
|
|
|
|
phoneme ~
|
|
virtual
|
|
endphoneme
|
|
|