mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 07:48:47 +00:00
Merge branch 'upstream' into development
Conflicts: dictsource/dict_phonemes dictsource/ne_list dictsource/ne_rules phsource/compile_report
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@
|
||||
#include "translate.h"
|
||||
#include "wave.h"
|
||||
|
||||
const char *version_string = "1.46.20 15.Jul.12";
|
||||
const char *version_string = "1.46.21 25.Jul.12";
|
||||
const int version_phdata = 0x014600;
|
||||
|
||||
int option_device_number = -1;
|
||||
|
||||
@@ -2797,6 +2797,20 @@ if((c == '/') && (tr->langopts.testing & 2) && IsDigit09(next_in) && IsAlpha(pre
|
||||
|
||||
letter_count++;
|
||||
|
||||
if(tr->letter_bits_offset > 0)
|
||||
{
|
||||
if(((c < 0x250) && (prev_out >= tr->letter_bits_offset)) ||
|
||||
((c >= tr->letter_bits_offset) && (letter_count > 1) && (prev_out < 0x250)))
|
||||
{
|
||||
// Don't mix native and Latin characters in the same word
|
||||
// Break into separate words
|
||||
c = ' ';
|
||||
space_inserted = 1;
|
||||
word_flags |= FLAG_HYPHEN_AFTER;
|
||||
next_word_flags |= FLAG_HYPHEN;
|
||||
}
|
||||
}
|
||||
|
||||
if(iswupper(c))
|
||||
{
|
||||
c = towlower2(c);
|
||||
|
||||
Reference in New Issue
Block a user