mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.39.29]
Allow combining accent characters inside a word (don't cause the word to be spelled). Add command line options: --path --phonout git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@204 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -2520,6 +2520,11 @@ int Translator::TranslateRules(char *p_start, char *phonemes, int ph_size, char
|
||||
|
||||
if(match1.points == 0)
|
||||
{
|
||||
if((wc >= 0x300) && (wc <= 0x36f))
|
||||
{
|
||||
// combining accent inside a word, ignore
|
||||
}
|
||||
else
|
||||
if(IsAlpha(wc))
|
||||
{
|
||||
if((any_alpha > 1) || (p[wc_bytes-1] > ' '))
|
||||
|
||||
Reference in New Issue
Block a user