This commit is contained in:
Reece Dunn
2011-11-23 22:15:29 +00:00
parent fa131df13e
commit 4eff8623d5
83 changed files with 1302 additions and 7072 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ BINDIR=$(PREFIX)/bin
INCDIR=$(PREFIX)/include/espeak
LIBDIR=$(PREFIX)/lib
RELEASE = 1.45
RELEASE = 1.46
BIN_NAME = speak
BIN2_NAME = espeak
LIB_NAME = libespeak.so
-1
View File
@@ -2573,7 +2573,6 @@ int TranslateRules(Translator *tr, char *p_start, char *phonemes, int ph_size, c
if((match1.points == 0) && ((option_sayas & 0x10) == 0))
{
n = utf8_in(&letter,p-1)-1;
if(tr->letter_bits_offset > 0)
{
// not a Latin alphabet, switch to the default Latin alphabet language
+2 -2
View File
@@ -35,8 +35,8 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.45.49 18.Nov.11";
const int version_phdata = 0x014500;
const char *version_string = "1.46.01 22.Nov.11";
const int version_phdata = 0x014600;
int option_device_number = -1;
FILE *f_logespeak = NULL;
+3 -1
View File
@@ -62,8 +62,9 @@
#define OFFSET_SINHALA 0x0d80
#define OFFSET_TIBET 0x0f00
#define OFFSET_GEORGIAN 0x1080
#define OFFSET_KOREAN 0x1100
#define OFFSET_ETHIOPIC 0x1200
static void Translator_Russian(Translator *tr);
@@ -376,6 +377,7 @@ Translator *SelectTranslator(const char *name)
case L('a','m'): // Amharic, Ethiopia
{
SetupTranslator(tr,stress_lengths_fr,stress_amps_fr);
tr->letter_bits_offset = OFFSET_ETHIOPIC;
tr->langopts.stress_rule = STRESSPOSN_1L;
tr->langopts.stress_flags = 0x0024; // don't use secondary stress
tr->langopts.length_mods0 = tr->langopts.length_mods; // don't lengthen vowels in the last syllable