mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 14:47:26 +00:00
Merge branch 'master' into android
This commit is contained in:
@@ -2978,6 +2978,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