git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@164 d46cf337-b52f-0410-862d-fd96e6ae7743master
| @@ -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 | |||
| @@ -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); | |||
| } | |||
| } | |||
| @@ -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); | |||
| } | |||