mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.25.14] Added feature to define collections of letter sequences in *_rules files for use in rules.
lang=pt Reduce phoneme [&~] to [&] in unstressed syllables. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@30 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+4
-2
@@ -532,13 +532,15 @@ int Compile::NextItem(int type)
|
||||
{
|
||||
item_string[ix++] = c;
|
||||
c = fgetc(f_in);
|
||||
if(feof(f_in))
|
||||
break;
|
||||
if(item_string[ix-1] == '=')
|
||||
break;
|
||||
}
|
||||
ungetc(c,f_in);
|
||||
item_string[ix] = 0;
|
||||
|
||||
if(feof(f_in)) return(-1);
|
||||
if(!feof(f_in))
|
||||
ungetc(c,f_in);
|
||||
|
||||
keyword = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user