mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 23:31:26 +00:00
[1.46.32]
Language changes: en, pt, da, an, fa. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@298 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -2974,6 +2974,16 @@ if((c == '/') && (tr->langopts.testing & 2) && IsDigit09(next_in) && IsAlpha(pre
|
||||
single_quoted = 0;
|
||||
}
|
||||
else
|
||||
if((tr->langopts.param[LOPT_APOSTROPHE] & 1) && IsAlpha(next_in))
|
||||
{
|
||||
single_quoted = 0; // apostrophe at start of word is part of the word
|
||||
}
|
||||
else
|
||||
if((tr->langopts.param[LOPT_APOSTROPHE] & 2) && IsAlpha(prev_in))
|
||||
{
|
||||
single_quoted = 0; // apostrophe at end of word is part of the word
|
||||
}
|
||||
else
|
||||
if((wcschr(tr->char_plus_apostrophe,prev_in) != 0) && (prev_out2 == ' '))
|
||||
{
|
||||
// consider single character plus apostrophe as a word
|
||||
|
||||
Reference in New Issue
Block a user