mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.27.09] Fix for --punct option when used with <say-as>.
lang=hu, shorten "ll". Test: remove differences in vowel lengths depending on the following phoneme. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@64 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ p->pitch1 = p->pitch2 - 20; // post vocalic [r/]
|
||||
end_of_clause = 0;
|
||||
for(p2 = p+1; p2->newword== 0; p2++)
|
||||
{
|
||||
if(p2->type == phVOWEL)
|
||||
if((p2->type == phVOWEL) && !(p2->ph->phflags & phNONSYLLABIC))
|
||||
more_syllables++;
|
||||
}
|
||||
if((p2->newword & 2) && (more_syllables==0))
|
||||
|
||||
Reference in New Issue
Block a user