mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 23:16:21 +00:00
[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:
+5
-3
@@ -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
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user