mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 14:47:26 +00:00
[1.26.03] Priority stress [''] reduces other primary stress to secondary not unstressed (except lang=pt).
Add short pause between [*] and a fricative. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@44 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -965,11 +965,11 @@ strcpy(phonemes2,phonemes);
|
||||
{
|
||||
// the word has attribute to stress or unstress when at end of clause
|
||||
if(dictionary_flags & (FLAG_STRESS_END | FLAG_STRESS_END2))
|
||||
ChangeWordStress(word_phonemes,4);
|
||||
ChangeWordStress(this,word_phonemes,4);
|
||||
// SetWordStress(word_phonemes,0,4,prev_last_stress);
|
||||
else
|
||||
if(dictionary_flags & FLAG_UNSTRESS_END)
|
||||
ChangeWordStress(word_phonemes,3);
|
||||
ChangeWordStress(this,word_phonemes,3);
|
||||
// SetWordStress(word_phonemes,0,3,prev_last_stress);
|
||||
}
|
||||
if(wflags & FLAG_STRESSED_WORD)
|
||||
|
||||
Reference in New Issue
Block a user