Browse Source

[1.35] continued

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@164 d46cf337-b52f-0410-862d-fd96e6ae7743
master
jonsd 17 years ago
parent
commit
357f54e8f6
3 changed files with 4 additions and 2 deletions
  1. 1
    1
      src/Makefile
  2. 1
    1
      src/numbers.cpp
  3. 2
    0
      src/translate.cpp

+ 1
- 1
src/Makefile View File

@@ -6,7 +6,7 @@ INCDIR=$(PREFIX)/usr/include/espeak
LIBDIR=$(PREFIX)/usr/lib
DATADIR=$(PREFIX)/usr/share/espeak-data

RELEASE = 1.34
RELEASE = 1.35
BIN_NAME = speak
BIN2_NAME = espeak
LIB_NAME = libespeak.so

+ 1
- 1
src/numbers.cpp View File

@@ -633,7 +633,7 @@ int Translator::TranslateLetter(char *word, char *phonemes, int control, int wor
SelectPhonemeTable(voice->phoneme_tab_ix); // revert to original phoneme table
if(ph_buf[0] != 0)
{
sprintf(phonemes,"%c",phonSWITCH);
sprintf(phonemes,"%cen",phonSWITCH);
return(0);
}
}

+ 2
- 0
src/translate.cpp View File

@@ -787,6 +787,8 @@ if((wmark > 0) && (wmark < 8))
{
// change to another language in order to translate this word
strcpy(word_phonemes,phonemes);
if(strcmp(&phonemes[1],"en")==0)
return(FLAG_SPELLWORD); // _^_en must have been set in TranslateLetter(), not *_rules
return(0);
}


Loading…
Cancel
Save