mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Fixed crash on re-initializing libespeak. lang=hu, experimental, if the last two words of a clause (before punctuation) both have capital letters, then make the last word unstressed. This is useful for people names, but may be wrong for other cases. lang=en-us, distinguish phonemes [aI@] and [aI3] (compare "diet", "tired"). lang=de, fix automatic devoicing of word-final 'b', 'd', 'g'. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@276 d46cf337-b52f-0410-862d-fd96e6ae7743
260 lines
3.5 KiB
Plaintext
260 lines
3.5 KiB
Plaintext
|
||
phoneme N
|
||
vcd vel nasal
|
||
lengthmod 8 // longer than 'n'
|
||
IfNextVowelAppend(g-)
|
||
CALL base/N
|
||
endphoneme
|
||
|
||
|
||
|
||
|
||
//*******************************************************************
|
||
// VOWELS
|
||
//*******************************************************************
|
||
|
||
|
||
|
||
|
||
phoneme a
|
||
vowel starttype #a endtype #a
|
||
length 160
|
||
ChangeIfDiminished(a#)
|
||
FMT(vowel/a)
|
||
endphoneme
|
||
|
||
|
||
phoneme E
|
||
vowel starttype #e endtype #e
|
||
length 150
|
||
ChangeIfDiminished(I2)
|
||
FMT(vowel/e)
|
||
endphoneme
|
||
|
||
|
||
phoneme I
|
||
vowel starttype #i endtype #i
|
||
length 140
|
||
IfNextVowelAppend(;)
|
||
IF nextPh(l) OR nextPh(l/2) THEN
|
||
FMT(vowel/ii)
|
||
ENDIF
|
||
FMT(vowel/ii_6)
|
||
endphoneme
|
||
|
||
|
||
phoneme I2
|
||
import_phoneme I
|
||
unstressed
|
||
endphoneme
|
||
|
||
|
||
phoneme i // optional variant of [I] for end of words
|
||
vowel starttype #i endtype #i
|
||
length 220
|
||
IfNextVowelAppend(;)
|
||
FMT(vowel/i)
|
||
endphoneme
|
||
|
||
|
||
phoneme 0
|
||
vowel starttype #o endtype #o
|
||
length 140
|
||
ChangeIfDiminished(@)
|
||
FMT(vowel/oo_4)
|
||
endphoneme
|
||
|
||
|
||
phoneme V
|
||
vowel starttype #o endtype #o
|
||
ipa ʊ
|
||
length 140
|
||
ChangeIfDiminished(@)
|
||
FMT(vowel/o-_2)
|
||
endphoneme
|
||
|
||
|
||
phoneme U
|
||
vowel starttype #u endtype #u
|
||
length 150
|
||
IfNextVowelAppend(_|)
|
||
FMT(vowel/uu)
|
||
endphoneme
|
||
|
||
|
||
phoneme a#
|
||
vowel starttype #@ endtype #@
|
||
ipa ɐ
|
||
unstressed
|
||
length 140
|
||
FMT(vowel/a#_3)
|
||
endphoneme
|
||
|
||
|
||
phoneme A:
|
||
vowel starttype #a endtype #a
|
||
length 240
|
||
IfNextVowelAppend(r-)
|
||
FMT(vowel/aa_5)
|
||
endphoneme
|
||
|
||
|
||
phoneme A@
|
||
vowel starttype #a endtype #a
|
||
ipa ɑː
|
||
length 240
|
||
IfNextVowelAppend(r-)
|
||
FMT(vowel/aa_5)
|
||
endphoneme
|
||
|
||
|
||
phoneme aa // 'bath' etc.
|
||
vowel starttype #a endtype #a
|
||
ipa a
|
||
length 160
|
||
FMT(vowel/a)
|
||
endphoneme
|
||
|
||
|
||
phoneme 3:
|
||
vowel starttype #@ endtype #@
|
||
length 250
|
||
ChangeIfDiminished(@)
|
||
IfNextVowelAppend(r-)
|
||
FMT(vowel/y#)
|
||
endphoneme
|
||
|
||
|
||
phoneme i:
|
||
vowel starttype #e endtype #i
|
||
ipa ei
|
||
length 220
|
||
IfNextVowelAppend(;)
|
||
FMT(vdiph2/ei_3)
|
||
endphoneme
|
||
|
||
|
||
phoneme O:
|
||
vowel starttype #o endtype #o
|
||
length 240
|
||
ChangeIfDiminished(@)
|
||
IfNextVowelAppend(r-)
|
||
FMT(vowel/oo_1)
|
||
endphoneme
|
||
|
||
|
||
phoneme O@
|
||
vowel starttype #o endtype #@
|
||
ipa ɔː
|
||
length 240
|
||
IfNextVowelAppend(r-)
|
||
FMT(vowel/oo_1)
|
||
endphoneme
|
||
|
||
|
||
phoneme O
|
||
vowel starttype #o endtype #o
|
||
length 150
|
||
ChangeIfDiminished(@)
|
||
FMT(vowel/oo_1)
|
||
endphoneme
|
||
|
||
|
||
phoneme u:
|
||
vowel starttype #u endtype #u
|
||
ipa əu
|
||
length 200
|
||
FMT(vdiph/@u)
|
||
endphoneme
|
||
|
||
|
||
phoneme aU
|
||
vowel starttype #a endtype #u
|
||
ipa æʊ
|
||
length 230
|
||
FMT(vdiph/eeu_3)
|
||
endphoneme
|
||
|
||
|
||
phoneme oU
|
||
vowel starttype #@ endtype #u
|
||
ipa ʌʊ
|
||
length 220
|
||
FMT(vdiph/Vu_2)
|
||
endphoneme
|
||
|
||
|
||
phoneme aI
|
||
vowel starttype #o endtype #i
|
||
ipa ɔɪ
|
||
length 240
|
||
FMT(vdiph/ooi_3)
|
||
endphoneme
|
||
|
||
|
||
phoneme eI
|
||
vowel starttype #@ endtype #i
|
||
ipa eː
|
||
length 240
|
||
FMT(vdiph/@i_3)
|
||
endphoneme
|
||
|
||
|
||
phoneme OI
|
||
vowel starttype #o endtype #i
|
||
ipa oɪ
|
||
length 230
|
||
FMT(vdiph/oi)
|
||
endphoneme
|
||
|
||
|
||
phoneme e@
|
||
vowel starttype #@ endtype #@
|
||
ipa ɜː
|
||
length 240
|
||
IfNextVowelAppend(r-)
|
||
FMT(vowel/3_en)
|
||
endphoneme
|
||
|
||
|
||
phoneme i@
|
||
vowel starttype #i endtype #@
|
||
length 240
|
||
IfNextVowelAppend(r-)
|
||
FMT(vdiph2/i@_2)
|
||
endphoneme
|
||
|
||
|
||
phoneme U@
|
||
vowel starttype #u endtype #@
|
||
length 200
|
||
IfNextVowelAppend(r-)
|
||
FMT(vdiph2/uu@)
|
||
endphoneme
|
||
|
||
|
||
phoneme aI@
|
||
vowel starttype #a endtype #@
|
||
length 280
|
||
IfNextVowelAppend(r-)
|
||
FMT(vwl_en/ooi@)
|
||
endphoneme
|
||
|
||
|
||
phoneme aI3
|
||
vowel starttype #a endtype #@
|
||
length 280
|
||
ChangePhoneme(aI@)
|
||
endphoneme
|
||
|
||
|
||
|
||
phoneme aU@
|
||
vowel starttype #a endtype #@
|
||
length 280
|
||
IfNextVowelAppend(r-)
|
||
FMT(vwl_en/aU@)
|
||
endphoneme
|
||
|
||
|