mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-13 01:07:47 +00:00
This patch strip out dependency on Russian, as its complicated relationship between spelling and pronunciation overburden rules for Belarusian. The rules themselves are also added. They don't have devoicing at the end of the words for now. Also, gemination of consonants doesn't work as expected, as it seems on the top of this rule some other rules apply. This after-processing is responsible also for the strange behaviour of ending [a].
66 lines
1.0 KiB
Plaintext
66 lines
1.0 KiB
Plaintext
//====================================================
|
|
// Belarusian
|
|
//====================================================
|
|
|
|
phoneme a
|
|
vwl starttype #a endtype #a
|
|
ipa a
|
|
length 180
|
|
FMT(vowel/a)
|
|
endphoneme
|
|
|
|
phoneme i"
|
|
vwl starttype #i endtype #i
|
|
ipa ɨ
|
|
length 180
|
|
FMT(vowel/ii#_2)
|
|
endphoneme
|
|
|
|
phoneme ts
|
|
CALL consonants/ts
|
|
voicingswitch dz
|
|
ipa t̻͡s̪
|
|
endphoneme
|
|
|
|
phoneme ts;
|
|
CALL base1/tS;
|
|
voicingswitch dz;
|
|
ipa t̻͡s̪ʲ
|
|
endphoneme
|
|
|
|
phoneme ts.
|
|
vls pla afr sib
|
|
ipa ʈ͡ʂ
|
|
lengthmod 2
|
|
voicingswitch dz.
|
|
Vowelin f1=0 f2=2300 200 400 f3=-100 80
|
|
WAV(ustop/tsh_sr, 50)
|
|
endphoneme
|
|
|
|
phoneme dz
|
|
CALL consonants/dz
|
|
voicingswitch ts
|
|
ipa d̻͡z̪
|
|
endphoneme
|
|
|
|
phoneme dz;
|
|
CALL base1/dZ;
|
|
voicingswitch ts;
|
|
ipa d̻͡z̪ʲ
|
|
endphoneme
|
|
|
|
phoneme dz.
|
|
vcd pla afr sib
|
|
ipa ɖ͡ʐ
|
|
lengthmod 5
|
|
voicingswitch ts.
|
|
Vowelin f1=2 f2=2300 200 400 f3=100 80
|
|
Vowelout f1=2 f2=2300 250 300 f3=100 80 brk
|
|
|
|
IF PreVoicing THEN
|
|
FMT(dzh/xdzh)
|
|
ENDIF
|
|
|
|
FMT(dzh/dzh) addWav(ufric/sh_pzd2)
|
|
endphoneme
|