Lang: en-us  pronunciation rule changes, adjust some phonemes.
Lang: pl, fr  phoneme adjustments.
espeakedit: Fix generation of file "dict_phonemes" (.replace could cause phonemes to be missed).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@189 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-09-08 21:55:51 +00:00
parent b7a6f479ef
commit b8460630f4
37 changed files with 582 additions and 577 deletions
+13
View File
@@ -376,6 +376,7 @@ void FindPhonemesUsed(void)
{//========================
int hash;
char *p;
unsigned int *pw;
char *start;
char *next;
unsigned char c;
@@ -397,6 +398,18 @@ void FindPhonemesUsed(void)
}
if(*p == RULE_GROUP_START)
{
if(p[1] == RULE_REPLACEMENTS)
{
p++;
pw = (unsigned int *)(((long)p+4) & ~3); // advance to next word boundary
while(pw[0] != 0)
{
pw += 2; // find the end of the replacement list, each entry is 2 words.
}
p = (char *)(pw+1);
continue;
}
if(p[1] == RULE_LETTERGP2)
{
while(*p != RULE_GROUP_END) p++;