[1.46.40]

Command line option --ipa can have option to include Tie or ZWJ characters to disabmiguate multi-letter phoneme names.
Recognize and ignore UTF8-BOM byte sequence at the start of phoneme definition files.
Languages changes: ta, nl, pt.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@306 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2013-03-03 12:27:43 +00:00
parent 3eb5cb58d7
commit 83bc87a000
21 changed files with 475 additions and 222 deletions
+15 -11
View File
@@ -3309,17 +3309,21 @@ if((c == '/') && (tr->langopts.testing & 2) && IsDigit09(next_in) && IsAlpha(pre
*pn++ = tr->langopts.thousands_sep;
}
*pn++ = ' ';
if(tr->langopts.break_numbers & (1 << (nx-1)))
{
// the next group only has 1 digits (i.e. NUM2_10000), make it three
*pn++ = '0';
*pn++ = '0';
}
if(tr->langopts.break_numbers & (1 << (nx-2)))
{
// the next group only has 2 digits (i.e. NUM2_10000), make it three
*pn++ = '0';
}
if((words[ix].flags & FLAG_INDIVIDUAL_DIGITS) == 0)
{
if(tr->langopts.break_numbers & (1 << (nx-1)))
{
// the next group only has 1 digits, make it three
*pn++ = '0';
*pn++ = '0';
}
if(tr->langopts.break_numbers & (1 << (nx-2)))
{
// the next group only has 2 digits (eg. Indian languages), make it three
*pn++ = '0';
}
}
}
}
pw--;