[1.37.14]

language updates: fr


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@186 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-08-20 21:48:04 +00:00
parent caf5ee7497
commit e312283d22
32 changed files with 103 additions and 80 deletions
+1 -1
View File
@@ -1305,7 +1305,7 @@ int Translator::TranslateNumber_1(char *word, char *ph_out, unsigned int *flags,
decimal_count--;
n_digits++;
}
if(decimal_count <= max_decimal_count)
if((decimal_count <= max_decimal_count) && isdigit(word[n_digits]))
{
LookupNum3(atoi(&word[n_digits]),buf1,0,0,0);
strcat(ph_out,buf1);
+1 -1
View File
@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.37.13 18.Aug.08";
const char *version_string = "1.37.14 20.Aug.08";
const int version_phdata = 0x013400;
int option_device_number = -1;
+2 -2
View File
@@ -296,8 +296,8 @@ Translator *SelectTranslator(const char *name)
case L('f','r'): // french
{
static const short stress_lengths_fr[8] = {190, 170, 190, 200, 0, 0, 235, 235};
static const unsigned char stress_amps_fr[8] = {18,16, 20,20, 20,22, 22,22 };
static const short stress_lengths_fr[8] = {190, 170, 190, 200, 0, 0, 235, 240};
static const unsigned char stress_amps_fr[8] = {18,16, 20,20, 20,22, 22,21 };
tr = new Translator();
SetupTranslator(tr,stress_lengths_fr,stress_amps_fr);