Browse Source

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.
master
Reece H. Dunn 6 years ago
parent
commit
d83f5e654d
2 changed files with 2 additions and 41 deletions
  1. 0
    36
      dictsource/sl_rules
  2. 2
    5
      tests/language-pronunciation.test

+ 0
- 36
dictsource/sl_rules View File

@@ -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

+ 2
- 5
tests/language-pronunciation.test View File

@@ -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."


Loading…
Cancel
Save