[1.37.07]

Support for mbrola Brazilian voices, br1, br3.
Included epenthetic vowel [i] in Brazilian.
Languages changes: fr, af.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@179 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-07-19 13:08:11 +00:00
parent 1ee78e59a8
commit b1fc16f6c6
31 changed files with 692 additions and 462 deletions
+10 -1
View File
@@ -1170,7 +1170,16 @@ void Translator::SetWordStress(char *output, unsigned int dictionary_flags, int
stressed_syllable = vowel_count - 1;
if(max_stress == 0)
{
vowel_stress[stressed_syllable] = 4;
while(stressed_syllable > 0)
{
if(vowel_stress[stressed_syllable] == 0)
{
vowel_stress[stressed_syllable] = 4;
break;
}
else
stressed_syllable--;
}
}
max_stress = 4;
}
+1 -1
View File
@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.37.04 27.Jun.08";
const char *version_string = "1.37.07 19.Jul.08";
const int version_phdata = 0x013400;
int option_device_number = -1;
+1
View File
@@ -599,6 +599,7 @@ SetLengthMods(tr,3); // all equal
tr->langopts.stress_flags = 0x6 | 0x10 | 0x20000;
tr->langopts.numbers = 0x269 + 0x2000 + NUM_ROMAN;
SetLetterVowel(tr,'y');
SetLetterBits(tr,1,"bcdfgjkmnpqstvxz"); // B hard consonants, excluding h,l,r,w,y
}
break;
+3
View File
@@ -373,6 +373,9 @@ int IsAlpha(unsigned int c)
if((c >= 0x1100) && (c <= 0x11ff))
return(1); //Korean jamo
if((c > 0x3040) && (c <= 0xa700))
return(1); // Chinese/Japanese. Should never get here, but Mac OS 10.4's iswalpha seems to be broken, so just make sure
return(0);
}