[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:
jonsd
2007-07-12 21:39:42 +00:00
parent 3546b19965
commit 0def252307
28 changed files with 5228 additions and 5150 deletions
+1 -1
View File
@@ -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))