mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
[1.41.18]
*_list: Changed name to $combine (from $alt2) for the attribute which indicates that a word should combine with the next word. Voices files: Added attribute "speed", which specified a percentage change to the speaking speeds which are used for this voice. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@229 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -1167,6 +1167,17 @@ void SetWordStress(Translator *tr, char *output, unsigned int &dictionary_flags,
|
||||
}
|
||||
break;
|
||||
|
||||
case 10: // penultimate, but final if only 1 or 2 syllables
|
||||
if(stressed_syllable == 0)
|
||||
{
|
||||
if(vowel_count < 4)
|
||||
{
|
||||
vowel_stress[vowel_count - 1] = 4;
|
||||
max_stress = 4;
|
||||
break;
|
||||
}
|
||||
}
|
||||
// drop through to next case
|
||||
case 2:
|
||||
// a language with stress on penultimate vowel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user