mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 14:04:27 +00:00
lang=hr abbreviations, change phonemes [p] [d]
dictionary.cpp: fixed, condition ?3 caused bad 'common' phoneme string git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@13 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -1645,6 +1645,8 @@ 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));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user