From d83f5e654db52cf0992104724cf1db98d46f37c6 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sat, 21 Jul 2018 15:30:46 +0100 Subject: [PATCH] sl: remove the Cyrillic to Latin replacements. These were added in espeak 1.47.11a, but Slovenian uses Latin like Polish and Czech. The earliest form of Slovene (the Freising Manuscripts, between 972-1039) are written in Latin. Some Cyrillic and Cyrillic-like letters were used in addition to Latin in the Dajnko and Metelko alphabets between 1824 and 1838, but these alphabets did not catch on. The modern form is based on the Serbo-Croatian Gaj's Latin alphabet. This is the alphabet represented in the espeak `replace_cyrillic_latin` table. Slovenian does not use the Cyrillic variant of this alphabet. --- dictsource/sl_rules | 36 ------------------------------- tests/language-pronunciation.test | 7 ++---- 2 files changed, 2 insertions(+), 41 deletions(-) diff --git a/dictsource/sl_rules b/dictsource/sl_rules index aa1dc01a..c6bfd356 100644 --- a/dictsource/sl_rules +++ b/dictsource/sl_rules @@ -7,42 +7,6 @@ .L03 a e .L04 l v -.replace -// Cyrl Latn -- Cyrillic to Latin - а a // U+0430 - б b // U+0431 - в v // U+0432 - г g // U+0433 - д d // U+0434 - е e // U+0435 - ж ž // U+0436 - з z // U+0437 - и i // U+0438 - к k // U+043A - л l // U+043B - м m // U+043C - н n // U+043D - о o // U+043E - п p // U+043F - р r // U+0440 - с s // U+0441 - т t // U+0442 - у u // U+0443 - ф f // U+0444 - х h // U+0445 - ц c // U+0446 - ч č // U+0447 - ш š // U+0161 - ђ đ // U+0452 - ѓ đ // U+0453 - ѕ dz // U+0455 - ј j // U+0458 - љ lj // U+0459 - њ nj // U+045A - ћ ć // U+045B - ќ ć // U+045C - џ dž // U+045F - .group a a a: a (X$w_alt3+ 'a diff --git a/tests/language-pronunciation.test b/tests/language-pronunciation.test index 012d157a..62d2713b 100755 --- a/tests/language-pronunciation.test +++ b/tests/language-pronunciation.test @@ -85,11 +85,8 @@ test_phonemes ru "Cyrillic" \ " 'Ab;i ab;'8 'AbjE 'Ab;I 'Abji 'Ap; 'Ab;u\" 'Ab;V" \ "абе абё абє аби абї абь абю абя" -# This uses a pangram for Cyrillic letter coverage. -test_phonemes sl "Cyrillic" \ - " w k O Z'@ 'u: S'@ tsiR'i:litSnil'et@_|St'i:Ri_|S'e:st_|b'@_: 'u: k O Z'@ 'u: S'@ tsiR'i:litSnil'et@_|St'i:Ri_|S'e:st_|b'@_: 'u: xudObn'e:ga f'@ a n'@ tsiR'i:litSnil'et@_|St'i:Ri_|S'e:st_|'E:na_: stOp'i:tslja m'i:zaR" \ - "В кожушчку худобнега фанта стопицља мизар." -test_phonemes sl "Latin" \ +# This uses a pangram for Latin letter coverage. +test_phonemes sl - \ " ukOZ'u:StSku xudObn'e:ga f'a:nta stOp'i:tslja m'i:zaR" \ "V kožuščku hudobnega fanta stopiclja mizar."