mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 07:23:52 +00:00
[1.40.11]
lang=fr: removed unstressed monosyllable option. lang=pt,it: fixed crash when speaking some numbers. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@218 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -1670,21 +1670,6 @@ static int TranslateWord2(Translator *tr, char *word, WORD_TAB *wtab, int pre_pa
|
||||
}
|
||||
else
|
||||
{
|
||||
if(ph_code == phonPAUSE_CLAUSE)
|
||||
{
|
||||
int j;
|
||||
for(j = n_ph_list2-1; j > 0; j--)
|
||||
{
|
||||
if(ph_list2[j].synthflags & SFLAG_PROMOTE_STRESS)
|
||||
{
|
||||
// lang=fr: stress monosyllables before conjunctions 'et' 'qui' etc
|
||||
ph_list2[j].stress = 4;
|
||||
}
|
||||
if(ph_list2[j].sourceix != 0)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(first_phoneme && tr->langopts.param[LOPT_IT_DOUBLING])
|
||||
{
|
||||
if(((tr->prev_dict_flags & FLAG_DOUBLING) && (tr->langopts.param[LOPT_IT_DOUBLING] & 1)) ||
|
||||
|
||||
Reference in New Issue
Block a user