Browse Source

Issue #760: improve Uzbek language

master
Valdis Vitolins 5 years ago
parent
commit
9f9a4980a7
7 changed files with 94 additions and 84 deletions
  1. 1
    0
      CHANGELOG.md
  2. 1
    0
      Makefile.am
  3. 48
    48
      dictsource/uz_list
  4. 19
    30
      dictsource/uz_rules
  5. 19
    2
      phsource/ph_uzbek
  6. 2
    4
      phsource/phonemes
  7. 4
    0
      tests/language-pronunciation.test

+ 1
- 0
CHANGELOG.md View File

@@ -19,6 +19,7 @@ updated languages:
* shn (Shan Tay Yai) -- ronaldaug
* tr (Turkish) -- boracasli98
* ur (Urdu) -- Ejaz Shah
* uz (Uzbek) -- boracasli98, Valdis Vitolins
* zh (Chinese) -- Silas S. Brown, Rongcui Dong

new languages:

+ 1
- 0
Makefile.am View File

@@ -394,6 +394,7 @@ phsource/phonemes.stamp: \
phsource/ph_tibetan \
phsource/ph_turkish \
phsource/ph_urdu \
phsource/ph_uzbek \
phsource/ph_vietnam \
phsource/ph_vietnam_hue \
phsource/ph_vietnam_sgn \

+ 48
- 48
dictsource/uz_list View File

@@ -3,59 +3,59 @@

// names of letters

a a
b be
d de
e e
f ef
g ge
h ha
a &
b b'e
d d'e
e 'e
f 'ef
g g'e
h h'a
i i
j je
k ka
l el
m em
n en
o o
p pe
q qa
r er
s es
t te
j dZ'e
k k'a
l 'el
m 'em
n 'en
o A
p p'e
q q'a
r 'e*
s 'es
t t'e
u u
v ve
x xa
y ye
z ze
v v#'e
x X'a
y j'e
z z'e
oʻ o
ga
sh sha
ch che
ng nge
Q"a
sh S'a
ch tS'e
ng N'e

// numbers
_1 bir
_2 ikki
_3 uc
_4 to'rt
_5 besh
_6 olti
_7 etti
_8 sakkiz
_9 to'qqiz
_10 o'n
_20 yigirma
_30 o'ttiz
_40 qirq
_50 ellik
_60 oltmish
_70 etmish
_80 sakson
_90 to'qson
_0C yuz
_1M1 ming
_1M2 million
_1M3 milliard
_1 b'y*
_2 'ykky
_3 'UtS
_4 t'o*t
_5 b'eS
_6 Alt'y
_7 jet:'y
_8 s&k:'yz
_9 toq:'yz
_10 'on
_20 jygyrm'&
_30 ott'yz
_40 q'yrq
_50 ell'yk
_60 Altm'yS
_70 jetm'yS
_80 s&ks'An
_90 toqs'An
_0C j'Uz
_1M1 m'yN
_1M2 milli'on
_1M3 milli'ard

// unstressed words
atrofida $u

+ 19
- 30
dictsource/uz_rules View File

@@ -33,23 +33,22 @@
ғ ǵ
ш š
ч ç
ю ju
ю ju
я ja
ь ʼ
ъ ʼ

// Replace left single quotation mark to modifier letter turned comma
‘ ʻ
ь ʼ
ъ ʼ
‘ ʻ // Replace left single quotation mark to modifier letter turned comma
' ʻ // apostrophe to modifier letter turned comma

.group a
a a
a &

.group b
b b

.group c
c ts
ch tS
c ts
ch tS

.group d
d d
@@ -58,19 +57,20 @@
e e

.group f
f f
f f,

.group g
g g
gʻ Q"

.group h
h h

.group i
i i
i y

.group j
j j
j dZ

.group k
k k
@@ -86,7 +86,8 @@
ng N

.group o
o o
o A
oʻ o

.group p
p p
@@ -95,20 +96,20 @@
q q

.group r
r r
r *

.group s
s s
sh sh
sh S

.group t
t t

.group u
u u
u U

.group v
v v
v v#

.group x
x X
@@ -119,21 +120,9 @@
.group z
z z

.group o
o o
oʻ o

.group g
g g
gʻ g

.group ʼ
ʼ ?

.group
' ?
ʻ ?
ó o:
ǵ J
ǵ Q"
ş S
ç tS

+ 19
- 2
phsource/ph_uzbek View File

@@ -1,2 +1,19 @@
// This file is currently empty and all phonemes are inherited from Turkish language
// i.e. phsource/ph_turkish (and phsource/phonemes files)
phoneme A
import_phoneme fa/A
endphoneme

phoneme u
import_phoneme base2/u
endphoneme

phoneme y
import_phoneme base2/y
endphoneme

phoneme tS
import_phoneme ky/tS
endphoneme

phoneme v
import_phoneme ky/v
endphoneme

+ 2
- 4
phsource/phonemes View File

@@ -2013,9 +2013,6 @@ phonemetable uk ru
phonemetable az tr
include ph_azerbaijani

phonemetable uz tr
include ph_uzbek

phonemetable pt-pt pt
include ph_portugal

@@ -2028,4 +2025,5 @@ include ph_vietnam_sgn
phonemetable sd ur
include ph_sindhi


phonemetable uz kk
include ph_uzbek

+ 4
- 0
tests/language-pronunciation.test View File

@@ -239,6 +239,10 @@ test_phonemes tt "Cyrl" "b0rL'Vq keSel'&r d'& 0z'0t h'&m 'yz 0brujLAr'V h'&m xoq
test_phonemes ur "Arab" "t.#'Vnd. m'e~
'e:k q'VH@t z'Vda ga:'o:n se: g'Vz@Rte: v'aqt 'e:k c'[email protected]:
b'a:s@R 'o: f'a:RIQ S'axs. k'o: b'a:z J'Vl p'VRi n'Uma: 'aZ@dHe: naz.'aR 'a:e:" "ٹھنڈ میں، ایک قحط زدہ گاؤں سے گذرتے وقت ایک چڑچڑے، باأثر و فارغ شخص کو بعض جل پری نما اژدہے نظر آئے۔"
test_phonemes uz "Latn" "ozb'ektS&
'ozbek t'yLy" "O‘zbekcha, o‘zbek tili"
test_phonemes uz "Cyrl" "o:zb'ektS&
'o:zbek t'yLy" "Ўзбекча, ўзбек тили"
test_phonemes vi "Latn" "t['@3t[_| k'a:4_| m,O6j_| N'y@2j_| s'i1n^_| z'a:1_| d_'e2w_| d_,y@6c_| t['y6_| z'O1_| v,a:2_| _b'i2n^_| d_'a4N_| v'e2_| n^'@1n_| f'@4m_| v,a:2_| kw'iE2n_| l'@:6j_|
m,O6j_| k,O1n_| N'y@2j_| d_'e2w_| d_,y@6c_| t['a:6w_| hw'a:3_| _b'a:1n_| tS,O1_| l'i3_| tS'i3_| v,a:2_| l'y@1N_| t['@1m_| v,a:2_| k'@2n_| f,a:4j_| d_'o3j_| s'y4_| v,@:3j_| n^'a1w_| tS'O#1N_| t['i2n^_| 'e-1n^_| 'E7m_|" "Tất cả mọi người sinh ra đều được tự do và bình đẳng về nhân phẩm và quyền lợi. Mọi con người đều được tạo hóa ban cho lý trí và lương tâm và cần phải đối xử với nhau trong tình anh em."


Loading…
Cancel
Save