mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
[1.46.39]
Fixes to speaking characters from foreign alphabets. Allow $textmode and $text to translate between words in different alphabets. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@305 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+5
-5
@@ -464,7 +464,7 @@ void Lexicon_It(int pass)
|
||||
}
|
||||
|
||||
// translate
|
||||
TranslateWord(translator,&word1[1],0, NULL);
|
||||
TranslateWord(translator,&word1[1],0, NULL, NULL);
|
||||
DecodePhonemes(word_phonemes,phonemes);
|
||||
|
||||
stress_posn1 = 0;
|
||||
@@ -487,7 +487,7 @@ void Lexicon_It(int pass)
|
||||
vowel_ix++;
|
||||
}
|
||||
|
||||
TranslateWord(translator,&word2[1],0, NULL);
|
||||
TranslateWord(translator,&word2[1],0, NULL, NULL);
|
||||
DecodePhonemes(word_phonemes,phonemes2);
|
||||
|
||||
vowel_ix = 1;
|
||||
@@ -802,7 +802,7 @@ void Lexicon_De()
|
||||
}
|
||||
|
||||
// translate
|
||||
TranslateWord(translator,&word2[1],0, NULL);
|
||||
TranslateWord(translator,&word2[1],0, NULL, NULL);
|
||||
|
||||
DecodePhonemes2(word_phonemes,phonemes); // also need to change some phoneme names
|
||||
|
||||
@@ -1042,7 +1042,7 @@ void Lexicon_Bg()
|
||||
*pw1 = 0;
|
||||
|
||||
// translate
|
||||
TranslateWord(translator, &word[2],0, NULL);
|
||||
TranslateWord(translator, &word[2],0, NULL, NULL);
|
||||
DecodePhonemes(word_phonemes,phonemes);
|
||||
|
||||
// find the stress position in the translation
|
||||
@@ -1300,7 +1300,7 @@ void Lexicon_Ru()
|
||||
}
|
||||
|
||||
// translate
|
||||
TranslateWord(translator, &word2[1],0, NULL);
|
||||
TranslateWord(translator, &word2[1],0, NULL, NULL);
|
||||
DecodePhonemes(word_phonemes,phonemes);
|
||||
|
||||
// find the stress position in the translation
|
||||
|
||||
Reference in New Issue
Block a user