[1.48.13]

Changes to:
en, pt,
it,  implement ordinal numbers.
eu, stress positions.
es,  revert change to [t] and [k]
de, change to sounds "pr" and "kr".


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@387 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2014-11-04 10:22:07 +00:00
parent 8165a3029c
commit bfc7790a5a
20 changed files with 315 additions and 167 deletions
+9 -2
View File
@@ -861,6 +861,7 @@ int TranslateWord(Translator *tr, char *word_start, int next_pause, WORD_TAB *wt
int wmark;
int was_unpronouncable = 0;
int loopcount;
int add_suffix_phonemes = 0;
WORD_TAB wtab_null[8];
// translate these to get pronunciations of plural 's' suffix (different forms depending on
@@ -1465,6 +1466,12 @@ if(end_type & SUFX_UNPRON)
/* determine stress pattern for this word */
/******************************************/
add_suffix_phonemes = 0;
if(end_phonemes[0] != 0)
{
add_suffix_phonemes = 2;
}
prefix_stress = 0;
for(p = prefix_phonemes; *p != 0; p++)
{
@@ -1516,9 +1523,9 @@ if(end_type & SUFX_UNPRON)
else
{
if(prefix_phonemes[0] == 0)
SetWordStress(tr, phonemes, dictionary_flags, -1, 0);
SetWordStress(tr, phonemes, dictionary_flags, -1, add_suffix_phonemes);
else
SetWordStress(tr, phonemes, dictionary_flags, -1, 0);
SetWordStress(tr, phonemes, dictionary_flags, -1, add_suffix_phonemes);
#ifdef PLATFORM_WINDOWS
sprintf(word_phonemes, "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes);
#else