[1.45.21]

-x command-line option. Fixed possible buffer overflow when writing phoneme output.

Slavic languages, changed behaviour of [v] during voiced/unvoiced propagation.

When looking for a word boundary when breaking long clauses, allow for greater word size (Southern Indian languages have big words 3-byte UTF-8 character codes).

$combine.  Don't combine with the nerxt word if it is translated using a different language.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@262 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2011-04-27 08:48:58 +00:00
parent 191ec1d37e
commit 2c8d45613b
11 changed files with 101 additions and 49 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ static int embedded_read;
unsigned int embedded_list[N_EMBEDDED_LIST];
// the source text of a single clause (UTF8 bytes)
#define N_TR_SOURCE 700
#define N_TR_SOURCE 800
static char source[N_TR_SOURCE+40]; // extra space for embedded command & voice change info at end
int n_replace_phonemes;
@@ -1783,7 +1783,7 @@ static int TranslateWord2(Translator *tr, char *word, WORD_TAB *wtab, int pre_pa
strcpy(ph_buf,word_phonemes);
flags2[0] = TranslateWord(translator, p2+1, 0, wtab+1);
if(flags2[0] & FLAG_WAS_UNPRONOUNCABLE)
if((flags2[0] & FLAG_WAS_UNPRONOUNCABLE) || (word_phonemes[0] == phonSWITCH))
ok = 0;
if(sylimit & 0x100)