[1.40.13]

lang=it, added dictsource/it_listx with corrections for stress position and open/close vowel type.
Changes to allow compilation on WinCE (Windows Mobile), with notes in platforms/windowsMobile.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@219 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2009-04-06 13:02:58 +00:00
parent f105d8d5e1
commit 206026b498
31 changed files with 5392 additions and 704 deletions
+8 -3
View File
@@ -1203,6 +1203,11 @@ strcpy(phonemes2,phonemes);
dictionary_flags[0] |= FLAG_DOT;
}
if((tr->langopts.param[LOPT_ALT] & 2) && ((dictionary_flags[0] & (FLAG_ALT_TRANS | FLAG_ALT2_TRANS)) != 0))
{
ApplySpecialAttribute2(tr,word_phonemes,dictionary_flags[0]);
}
return(dictionary_flags[0]);
} // end of TranslateWord
@@ -1508,7 +1513,7 @@ static int TranslateWord2(Translator *tr, char *word, WORD_TAB *wtab, int pre_pa
if(pre_pause < 1)
pre_pause = 1;
}
if((flags & FLAG_PREPAUSE) && (tr->prepause_timeout == 0))
if((flags & FLAG_PREPAUSE) && ((word_flags && FLAG_LAST_WORD) == 0) && (tr->prepause_timeout == 0))
{
// the word is marked in the dictionary list with $pause
if(pre_pause < 4) pre_pause = 4;
@@ -2296,9 +2301,9 @@ if((c == '/') && (tr->langopts.testing & 2) && IsDigit09(next_in) && IsAlpha(pre
{
c = towlower2(c);
if(tr->langopts.param[LOPT_SYLLABLE_CAPS])
if((j = tr->langopts.param[LOPT_CAPS_IN_WORD]) > 0)
{
if(syllable_marked == 0)
if((j == 2) && (syllable_marked == 0))
{
char_inserted = c;
c = 0x2c8; // stress marker