[1.39.11]

Fix problem in *_rules files.  Conditional rules could cause corrupt phoneme strings.
Voice files, "replace" command using an "unstressed" phoneme now ensures the syllable is unstressed.
lang: us, pronunciation changes, use new phonemeeeeeeeee [@/] (at end of words) and [O].
lang: fr, pronunciation changes.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@197 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-10-13 14:47:46 +00:00
parent 72cf85ec8e
commit 64154064cb
22 changed files with 980 additions and 802 deletions
+5 -3
View File
@@ -1832,9 +1832,11 @@ void Translator::MatchRule(char *word[], const char *group, char *rule, MatchRec
if(common_phonemes != NULL)
{
match.phonemes = common_phonemes;
if(*match.phonemes == RULE_CONDITION)
match.phonemes += 2; // skip over condition number
while(((rb = *match.phonemes++) != 0) && (rb != RULE_PHONEMES));
while(((rb = *match.phonemes++) != 0) && (rb != RULE_PHONEMES))
{
if(rb == RULE_CONDITION)
match.phonemes++; // skip over condition number
}
}
else
{