mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 21:58:52 +00:00
[1.47.06]
Language changes: da, en. nl, pt. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@343 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -3523,9 +3523,9 @@ int LookupFlags(Translator *tr, const char *word)
|
||||
{//==============================================
|
||||
char buf[100];
|
||||
static unsigned int flags[2];
|
||||
char *word1 = (char *)word;
|
||||
|
||||
flags[0] = flags[1] = 0;
|
||||
char *word1 = (char *)word;
|
||||
LookupDictList(tr, &word1, buf, flags, 0, NULL);
|
||||
return(flags[0]);
|
||||
}
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
#include "translate.h"
|
||||
#include "wave.h"
|
||||
|
||||
const char *version_string = "1.47.05a 10.Apr.13";
|
||||
const char *version_string = "1.47.06 15.Apr.13";
|
||||
const int version_phdata = 0x014701;
|
||||
|
||||
int option_device_number = -1;
|
||||
|
||||
+5
-5
@@ -192,23 +192,23 @@ typedef struct {
|
||||
|
||||
// a clause translated into phoneme codes (first stage)
|
||||
typedef struct {
|
||||
unsigned short synthflags; // NOTE Put shorts on 32bit boundaries, because of RISC OS compiler bug?
|
||||
unsigned char phcode;
|
||||
unsigned char stresslevel;
|
||||
unsigned char wordstress;
|
||||
unsigned char tone_ph; // tone phoneme to use with this vowel
|
||||
unsigned short synthflags;
|
||||
unsigned short sourceix; // ix into the original source text string, only set at the start of a word
|
||||
unsigned char wordstress; // the highest level stress in this word
|
||||
unsigned char tone_ph; // tone phoneme to use with this vowel
|
||||
} PHONEME_LIST2;
|
||||
|
||||
|
||||
typedef struct {
|
||||
// The first section is a copy of PHONEME_LIST2
|
||||
unsigned short synthflags;
|
||||
unsigned char phcode;
|
||||
unsigned char stresslevel;
|
||||
unsigned short sourceix; // ix into the original source text string, only set at the start of a word
|
||||
unsigned char wordstress; // the highest level stress in this word
|
||||
unsigned char tone_ph; // tone phoneme to use with this vowel
|
||||
unsigned short synthflags;
|
||||
unsigned short sourceix; // ix into the original source text string, only set at the start of a word
|
||||
|
||||
PHONEME_TAB *ph;
|
||||
short length; // length_mod
|
||||
|
||||
+1
-1
@@ -247,9 +247,9 @@ typedef struct {
|
||||
typedef struct{
|
||||
unsigned int flags;
|
||||
unsigned short start;
|
||||
unsigned short sourceix;
|
||||
unsigned char pre_pause;
|
||||
unsigned char wmark;
|
||||
unsigned short sourceix;
|
||||
unsigned char length;
|
||||
} WORD_TAB;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user