[1.46.20]

Added language "lt" Lithuanian.

Changes to languages: pt, ta, ka.

Allow ZLNJ character (U+200C) to appear as an alphabetic character (lang=fa).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@285 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2012-07-16 12:48:25 +00:00
parent 084584ee16
commit ad5201d53f
24 changed files with 4641 additions and 106 deletions
+19
View File
@@ -392,6 +392,9 @@ int IsAlpha(unsigned int c)
return(0);
}
if(c == 0x0605)
return(1);
if((c >= 0x64b) && (c <= 0x65e))
return(1); // arabic vowel marks
@@ -467,6 +470,22 @@ int lookupwchar(const unsigned short *list,int c)
return(0);
}
int lookupwchar2(const unsigned short *list,int c)
{//==============================================
// Replace character c by another character.
// Returns 0 = not found, 1 = delete character
int ix;
for(ix=0; list[ix] != 0; ix+=2)
{
if(list[ix] == c)
return(list[ix+1]);
}
return(0);
}
int IsBracket(int c)
{//=================
if((c >= 0x2014) && (c <= 0x201f))