[1.48.11]

Command-line: added options --sep --tie.

API, changed the meaning of the "phonememode" parameter in espeak_SetPhonemeTrace() and espeak_TextToPhonemes().

Language changes to:  en, eu, pt.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@385 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2014-08-31 15:50:07 +00:00
parent 2315736555
commit b27f69bb5a
33 changed files with 1151 additions and 769 deletions
+3 -7
View File
@@ -1980,14 +1980,10 @@ int SpeakNextClause(FILE *f_in, const void *text_in, int control)
CalcPitches(translator, clause_tone);
CalcLengths(translator);
if((option_phonemes > 0) || (phoneme_callback != NULL))
if((option_phonemes & 0xf) || (phoneme_callback != NULL))
{
int phoneme_mode = 0;
if(option_phonemes >= 3)
phoneme_mode = 0x10 + option_phonemes-3; // 0x10=ipa, 0x11=ipa with tie, 0x12=ipa with ZWJ, 0x13=ipa with separators
phon_out = GetTranslatedPhonemeString(phoneme_mode);
if(option_phonemes > 0)
phon_out = GetTranslatedPhonemeString(option_phonemes);
if(option_phonemes & 0xf)
{
fprintf(f_trans,"%s\n",phon_out);
}