mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-03 06:12:55 +00:00
[1.40.10]
SSML: Fix bug where <mark> was ignored before some punctuation characters. Lang=fr: Don't stress monosyllables, except at end-of-clause or before phoneme [_;_] git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@217 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -1111,9 +1111,9 @@ void SetWordStress(Translator *tr, char *output, unsigned int &dictionary_flags,
|
||||
|
||||
if((max_stress == 0) && (tr->langopts.stress_flags & 1) && (vowel_count == 2))
|
||||
{
|
||||
// option: don't stress monosyllables except at end-of-clause
|
||||
// option: don't stress monosyllables except at end-of-clause (lang=fr)
|
||||
vowel_stress[1] = 1;
|
||||
dictionary_flags |= FLAG_STRESS_END;
|
||||
dictionary_flags |= FLAG_STRESS_END2;
|
||||
}
|
||||
|
||||
// heavy or light syllables
|
||||
|
||||
Reference in New Issue
Block a user