mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 14:04:27 +00:00
Merge branch 'development'
This commit is contained in:
+5
-6
@@ -2575,12 +2575,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)
|
||||
@@ -2877,6 +2871,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