From f0321bfae7f99ffdcdc40595c07e8afa1965e5d9 Mon Sep 17 00:00:00 2001 From: Valdis Vitolins Date: Thu, 17 May 2018 20:48:01 +0300 Subject: [PATCH] =?UTF-8?q?ru:=20add=20only=20=D0=B8=20to=20Y=20(iotated)?= =?UTF-8?q?=20letter=20group=20for=20Russian=20as=20all=20other=20letters?= =?UTF-8?q?=20are=20already=20there=20from=20Cyrillic.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libespeak-ng/tr_languages.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libespeak-ng/tr_languages.c b/src/libespeak-ng/tr_languages.c index 243ff8a4..2023ab31 100644 --- a/src/libespeak-ng/tr_languages.c +++ b/src/libespeak-ng/tr_languages.c @@ -1565,11 +1565,11 @@ static void Translator_Russian(Translator *tr) { static const unsigned char stress_amps_ru[] = { 16, 16, 18, 18, 20, 24, 24, 22 }; static const short stress_lengths_ru[8] = { 150, 140, 220, 220, 0, 0, 260, 280 }; - static const char ru_ivowels2[] = { 0x2c, 0x15, 0x18, 0x2e, 0x2f, 0 }; // add more vowels to letter group Y (iotated vowels & soft-sign) + static const char ru_ivowels2[] = { 0x18, 0 }; // add и to Y lettergroup (iotated vowels & soft-sign) SetupTranslator(tr, stress_lengths_ru, stress_amps_ru); SetCyrillicLetters(tr); - SetLetterBits(tr, 6, ru_ivowels2); + SetLetterBits(tr, LETTERGP_Y, ru_ivowels2); tr->langopts.param[LOPT_UNPRONOUNCABLE] = 0x432; // [v] don't count this character at start of word tr->langopts.param[LOPT_REGRESSIVE_VOICING] = 1;