[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:
jonsd
2009-03-12 12:27:17 +00:00
parent 396c1af678
commit 3869045b19
6 changed files with 27 additions and 11 deletions
+2 -2
View File
@@ -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