mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-13 09:14:12 +00:00
[1.26.06] Fixed check for dot in abbreviations, for multibyte characters.
Defined a Revision number macro in speak_lib.h for interface changes. Changes to formant rate smoothing so that it's proportional to frequency. Add phoneme translations for mbrola "it3" "it4" Italian voices. Added rule in *_rules files for "word starts with capital letter". git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@49 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -631,10 +631,6 @@ int Translator::TranslateWord(char *word1, int next_pause, WORD_TAB *wtab)
|
||||
word_length++;
|
||||
}
|
||||
word = word1;
|
||||
//#define DEBUG3
|
||||
#ifdef DEBUG3
|
||||
printf("TR1 wlen=%d, %x %x %x %x %x %x %x %x\n",word_length,word[0],word[1],word[2],word[3],word[4],word[5],word[6],word[7]);
|
||||
#endif
|
||||
|
||||
// try an initial lookup in the dictionary list, we may find a pronunciation specified, or
|
||||
// we may just find some flags
|
||||
@@ -679,9 +675,6 @@ if((wmark > 0) && (wmark < 8))
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG3
|
||||
printf("TR2 spell_word=%d\n",spell_word);
|
||||
#endif
|
||||
if(spell_word > 0)
|
||||
{
|
||||
// Speak as individual letters
|
||||
@@ -714,9 +707,6 @@ printf("TR2 spell_word=%d\n",spell_word);
|
||||
{
|
||||
// This word looks "unpronouncable", so speak letters individually until we
|
||||
// find a remainder that we can pronounce.
|
||||
#ifdef DEBUG3
|
||||
printf("TR3 length=%d\n",length);
|
||||
#endif
|
||||
word += TranslateLetter(word,phonemes,0);
|
||||
if(phonemes[0] == phonSWITCH)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user