mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-11 16:39:15 +00:00
espeak 1.45.48
This commit is contained in:
+4
-1
@@ -1436,9 +1436,11 @@ if(dictionary_flags2[0] & FLAG_ABBREV)
|
||||
dictionary_flags[0] &= ~FLAG_PAUSE1;
|
||||
}
|
||||
|
||||
#ifdef deleted
|
||||
// but it causes problems if these are not a person name
|
||||
if(tr->translator_name == L('h','u'))
|
||||
{
|
||||
// lang=Hungarian, If the last two words of a clause have capital letters (eg. a person name), unstress the last word.
|
||||
// lang=hu, If the last two words of a clause have capital letters (eg. a person name), unstress the last word.
|
||||
if((wflags & (FLAG_LAST_WORD | FLAG_FIRST_UPPER | FLAG_ALL_UPPER | FLAG_FIRST_WORD)) == (FLAG_LAST_WORD | FLAG_FIRST_UPPER))
|
||||
{
|
||||
if(((wtab[-1].flags & (FLAG_FIRST_UPPER | FLAG_ALL_UPPER)) == FLAG_FIRST_UPPER) && ((tr->clause_terminator != 0x90028) || (wflags & FLAG_HAS_DOT)))
|
||||
@@ -1447,6 +1449,7 @@ if(dictionary_flags2[0] & FLAG_ABBREV)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if((wflags & FLAG_HYPHEN) && (tr->langopts.stress_flags & S_HYPEN_UNSTRESS))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user