mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 13:54:20 +00:00
[1.48.10]
Language changes: bn, en, it, pt, ta. Rhythm changes: eo, es. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@383 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+5
-6
@@ -2570,12 +2570,6 @@ static void MatchRule(Translator *tr, char *word[], char *word_start, int group_
|
||||
while(*rule++ != 0);
|
||||
}
|
||||
|
||||
if((option_phonemes == 2) && ((word_flags & FLAG_NO_TRACE)==0))
|
||||
{
|
||||
if(group_length <= 1)
|
||||
fprintf(f_trans,"\n");
|
||||
}
|
||||
|
||||
/* advance input data pointer */
|
||||
total_consumed += group_length;
|
||||
if(total_consumed == 0)
|
||||
@@ -2872,6 +2866,11 @@ int TranslateRules(Translator *tr, char *p_start, char *phonemes, int ph_size, c
|
||||
return(0);
|
||||
}
|
||||
|
||||
if((option_phonemes == 2) && ((word_flags & FLAG_NO_TRACE)==0))
|
||||
{
|
||||
fprintf(f_trans,"\n");
|
||||
}
|
||||
|
||||
match1.end_type &= ~SUFX_UNPRON;
|
||||
|
||||
if((match1.end_type != 0) && (end_phonemes != NULL))
|
||||
|
||||
Reference in New Issue
Block a user