mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-04 14:33:31 +00:00
[1.48.03]
Fix bug, use of the command-line "espeakedit --compile" produced phoneme data in which vowels started at full amplitude instead of gradual increase. Fix bug: SSML <break time=""> with values greater than 23 seconds were ignored due to arithmetic overflow. Phoneme definition files: Added new function: ChangeNextPhoneme(). Language changes include: da, en, fa, gu, hu, it, nl, pt, ta Started new language: eu (Basque). *_rules files: Allow $p_alt1, $p_alt2, etc in pre-conditions. The rule matches if the characters before the current point in the word occur as an entry in the *_list file with the corresponding $alt attibute. Added condition $list. This is similar to $p_alt etc, but examines all words in the *_list file which don't have the $only attribute. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@374 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+4
-1
@@ -293,7 +293,7 @@ static keywtab_t keywords[] = {
|
||||
{"Continue", tSTATEMENT, kCONTINUE},
|
||||
|
||||
{"ChangePhoneme", tINSTRN1, i_CHANGE_PHONEME},
|
||||
{"ReplaceNextPhoneme", tINSTRN1, i_REPLACE_NEXT_PHONEME},
|
||||
{"ChangeNextPhoneme", tINSTRN1, i_REPLACE_NEXT_PHONEME},
|
||||
{"InsertPhoneme", tINSTRN1, i_INSERT_PHONEME},
|
||||
{"AppendPhoneme", tINSTRN1, i_APPEND_PHONEME},
|
||||
{"IfNextVowelAppend", tINSTRN1, i_APPEND_IFNEXTVOWEL},
|
||||
@@ -1132,6 +1132,9 @@ static unsigned int StringToWord(const char *string)
|
||||
unsigned char c;
|
||||
unsigned int word;
|
||||
|
||||
if(string==NULL)
|
||||
return(0);
|
||||
|
||||
word = 0;
|
||||
for(ix=0; ix<4; ix++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user