[1.37.02] Updates to languages: af, fr, pt, cs

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@176 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-06-05 18:24:41 +00:00
parent 1c0de9e4b8
commit c8eeed7217
17 changed files with 4165 additions and 3894 deletions
+5 -3
View File
@@ -114,8 +114,10 @@ MNEM_TAB mnem_flags[] = {
};
#define LEN_GROUP_NAME 12
typedef struct {
char name[6];
char name[LEN_GROUP_NAME+1];
unsigned int start;
unsigned int length;
} RGROUP;
@@ -632,7 +634,7 @@ char rule_pre[80];
char rule_post[80];
char rule_match[80];
char rule_phonemes[80];
char group_name[12];
char group_name[LEN_GROUP_NAME+1];
#define N_RULES 2000 // max rules for each group
@@ -1338,7 +1340,7 @@ static int compile_dictrules(FILE *f_in, FILE *f_out, char *fname_temp)
p = (unsigned char *)&buf[6];
while((p[0]==' ') || (p[0]=='\t')) p++; // Note: Windows isspace(0xe1) gives TRUE !
ix = 0;
while((*p > ' ') && (ix<12))
while((*p > ' ') && (ix < LEN_GROUP_NAME))
group_name[ix++] = *p++;
group_name[ix]=0;
+1 -1
View File
@@ -62,7 +62,7 @@ static espeak_ERROR push(t_espeak_command* the_command);
static t_espeak_command* pop();
static void init();
static int node_counter=0;
enum {MAX_NODE_COUNTER=200,
enum {MAX_NODE_COUNTER=400,
INACTIVITY_TIMEOUT=50, // in ms, check that the stream is inactive
MAX_INACTIVITY_CHECK=2
};
+1 -1
View File
@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.37 16.Apr.08";
const char *version_string = "1.37.02 05.Jun.08";
const int version_phdata = 0x013400;
int option_device_number = -1;