mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.26.08] Fixed --stdout option in "espeak" program was writing to file "stdout".
Fix to UTF-8/8-bit character set recognition. lang=de, more additions to translation rules, changed phoneme name [OI] to [OY]. lang=it, turned of "syntactic doubling" (temporarily?) git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@51 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-2
@@ -300,7 +300,7 @@ static int GetC(void)
|
||||
if((c2 & 0xc0) != 0x80)
|
||||
{
|
||||
// This is not UTF8. Change to 8-bit characterset.
|
||||
if(n_bytes > 1)
|
||||
if((n_bytes == 2) && (ix == 1))
|
||||
ungot2 = cbuf[2];
|
||||
GetC_unget(c2);
|
||||
break;
|
||||
@@ -502,7 +502,7 @@ int Translator::AnnouncePunctuation(int c1, int c2, char *buf, int bufix)
|
||||
sprintf(p,"\001+10S%s",tone_punct_on);
|
||||
while(punct_count-- > 0)
|
||||
sprintf(buf,"%s %s",buf,punctname);
|
||||
sprintf(p,"%s %s\001S",buf,tone_punct_off);
|
||||
sprintf(p,"%s %s\001-10S",buf,tone_punct_off);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user