mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.46.01]
Improve error detection in *_list files. Lang=hu, remove feature to unstress the second of two capitalized words at end of clause. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@277 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -94,6 +94,9 @@ static const unsigned short punct_chars[] = {',','.','?','!',':',';',
|
||||
0x0b1b, // Arabic ;
|
||||
0x061f, // Arabic ?
|
||||
|
||||
0x0f0d, // Tibet Shad
|
||||
0x0f0e,
|
||||
|
||||
0x1362, // Ethiopic period
|
||||
0x1363,
|
||||
0x1364,
|
||||
@@ -137,6 +140,9 @@ static const unsigned int punct_attributes [] = { 0,
|
||||
CLAUSE_SEMICOLON, // Arabic ;
|
||||
CLAUSE_QUESTION, // Arabic question mark
|
||||
|
||||
CLAUSE_PERIOD+0x8000, // Tibet period
|
||||
CLAUSE_PARAGRAPH,
|
||||
|
||||
CLAUSE_PERIOD, // Ethiopic period
|
||||
CLAUSE_COMMA, // Ethiopic comma
|
||||
CLAUSE_SEMICOLON, // Ethiopic semicolon
|
||||
@@ -2391,6 +2397,9 @@ f_input = f_in; // for GetC etc
|
||||
continue;
|
||||
}
|
||||
|
||||
if(c1 == 0xf0b)
|
||||
c1 = ' '; // Tibet inter-syllabic mark, ?? replace by space ??
|
||||
|
||||
if(iswspace(c1))
|
||||
{
|
||||
char *p_word;
|
||||
|
||||
Reference in New Issue
Block a user