mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
[1.29.29] Add inital draft of language "ta", Tamil
lang=en: Don't treat "Mc" prefix as a separate word, combine it with the following word. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@113 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+11
-8
@@ -88,8 +88,8 @@ static int embedded_ix;
|
||||
static int embedded_read;
|
||||
unsigned int embedded_list[N_EMBEDDED_LIST];
|
||||
|
||||
// the source text of a single clause
|
||||
#define N_TR_SOURCE 350
|
||||
// the source text of a single clause (UTF8 bytes)
|
||||
#define N_TR_SOURCE 700
|
||||
static char source[N_TR_SOURCE+40]; // extra space for embedded command & voice change info at end
|
||||
|
||||
int n_replace_phonemes;
|
||||
@@ -339,12 +339,12 @@ unsigned char *length_mod_tabs[6] = {
|
||||
};
|
||||
|
||||
|
||||
/* index by 0=. 1=, 2=?, 3=! 4=none */
|
||||
static unsigned char punctuation_to_tone[4][5] = {
|
||||
{0,1,2,3,4},
|
||||
{5,6,2,0,4},
|
||||
{0,1,2,3,0},
|
||||
{0,1,2,3,0} };
|
||||
/* index by 0=. 1=, 2=?, 3=! 4=none, 5=emphasized */
|
||||
static unsigned char punctuation_to_tone[4][6] = {
|
||||
{0,1,2,3,0,4},
|
||||
{5,6,2,0,0,4},
|
||||
{0,1,2,3,0,0},
|
||||
{0,1,2,3,0,0} };
|
||||
|
||||
|
||||
void SetLengthMods(Translator *tr, int value)
|
||||
@@ -369,6 +369,9 @@ int IsAlpha(unsigned int c)
|
||||
if((c >= 0x901) && (c <= 0x957))
|
||||
return(1); // Devanagari vowel signs and other signs
|
||||
|
||||
if((c >= 0xb81) && (c <= 0xbe5))
|
||||
return(1); // Devanagari vowel signs and other signs
|
||||
|
||||
if((c >= 0x300) && (c <= 0x36f))
|
||||
return(1); // combining accents
|
||||
|
||||
|
||||
Reference in New Issue
Block a user