[1.45.12]

lang=de: Fix important pronunciation error, "sage".
Change handling of unrecognized phoneme names.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@260 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2011-04-02 00:01:20 +00:00
parent 82b01c0336
commit 750367758e
12 changed files with 74 additions and 53 deletions
+7
View File
@@ -1258,6 +1258,13 @@ strcpy(phonemes2,phonemes);
wordx[-1] = c_temp;
found = LookupDictList(tr, &word1, phonemes, dictionary_flags2, end_flags, wtab); // include prefix, but not suffix
wordx[-1] = ' ';
if(phonemes[0] == phonSWITCH)
{
// change to another language in order to translate this word
memcpy(wordx,word_copy,strlen(word_copy));
strcpy(word_phonemes,phonemes);
return(0);
}
if(dictionary_flags[0]==0)
{
dictionary_flags[0] = dictionary_flags2[0];