[1.25.18] Adjusted [la], [wi]

Added mechanism to reduce [t] before unstressed vowels (for en-us)
Fixed X (no vowels) operator in pre-rules in *_rules files.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@35 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-06-06 16:03:52 +00:00
parent 0fa20438c1
commit bc7ef71556
29 changed files with 465 additions and 205 deletions
+10 -10
View File
@@ -408,16 +408,16 @@ void Translator::MakePhonemeList(int post_pause, int start_sentence)
}
}
#ifdef deleted
// experimenting with [t] glottaling
if((ph->mnemonic == 't') && ((prev->type == phVOWEL) || (prev->mnemonic == 'n')))
{
if(((plist2+1)->sourceix != 0) || ((plist2-1)->stress == 4) && (next->type == phVOWEL))
{
ph = phoneme_tab[phonGLOTTALSTOP];
}
}
#endif
if(langopts.param[LOPT_REDUCE_T])
{
if((ph->mnemonic == 't') && (plist2->sourceix == 0) && ((prev->type == phVOWEL) || (prev->mnemonic == 'n')))
{
if(((plist2+1)->sourceix == 0) && ((plist2+1)->stress < 4) && (next->type == phVOWEL))
{
ph = phoneme_tab[phonT_REDUCED];
}
}
}
if((ph->reduce_to != 0) && (ph->type != phVOWEL) && !(plist2->synthflags & SFLAG_DICTIONARY))
{