[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:
jonsd
2007-06-18 12:12:25 +00:00
parent 37b8323d68
commit 6a325e7781
42 changed files with 517 additions and 187 deletions
-10
View File
@@ -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)
{