Skip to content

Commit

Permalink
ba: add initial support for Bashkir language
Browse files Browse the repository at this point in the history
  • Loading branch information
valdisvi committed Sep 5, 2019
1 parent e9c66a4 commit f4c4cd3
Show file tree
Hide file tree
Showing 7 changed files with 388 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ emoji:

new languages:

* ba (Bashkir) -- tc-dl, Valdis Vitolins
* hak (Hakka Chinese) -- Chen Chien-ting
* ht (Haitian Creole) -- Valdis Vitolins
* kk (Kazakh) -- boracasli14, Valdis Vitolins
Expand Down
4 changes: 4 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ dictionaries: \
espeak-ng-data/ar_dict \
espeak-ng-data/as_dict \
espeak-ng-data/az_dict \
espeak-ng-data/ba_dict \
espeak-ng-data/bg_dict \
espeak-ng-data/bn_dict \
espeak-ng-data/bpy_dict \
Expand Down Expand Up @@ -564,6 +565,9 @@ espeak-ng-data/as_dict: dictsource/as_list dictsource/as_rules dictsource/as_ext
az: espeak-ng-data/az_dict
espeak-ng-data/az_dict: dictsource/az_list dictsource/az_rules dictsource/az_extra dictsource/az_emoji

ba: espeak-ng-data/ba_dict
espeak-ng-data/ba_dict: dictsource/ba_list dictsource/ba_rules

bg: espeak-ng-data/bg_dict
espeak-ng-data/bg_dict: dictsource/bg_list dictsource/bg_listx dictsource/bg_rules dictsource/bg_extra dictsource/bg_emoji

Expand Down
82 changes: 82 additions & 0 deletions dictsource/ba_list
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
// This file is UTF8 encoded
// Spelling-to-phoneme rules for Bashkir

// Letters
б be
в we
г ge
д de
е je
ё jo
ж Ze
җ Z;e
з ze
и i
й kVsk,A'i
к kA
л el
м em
н en
ң eN
о o:
ө W:
п pe
р er
с es
т te
у u
ү y
ф ef
х xA
һ he
ц tse
ч S;e
ш SA
щ SS;A
ъ kAlVnl,Vqbilges'e
ы V:
ь neS;k&l,ekbilges'e
э e|:
ю ju
я jA


// Numbers
_0 n'ul?
_1 b'er
_2 ik'e
_3 'WS;
_4 d'yrt
_5 b'iS
_6 Alt'V
_7 Z;id'e
_8 sig'ez
_9 tug'Vz
_10 'un
_11 unb'er
_12 unik'e
_13 un'WS;
_14 und'yrt
_15 unb'iS
_16 unAlt'V
_17 unZ;id'e
_18 unsig'ez
_19 untug'Vz
_2X egerm'e
_3X ut'Vz
_4X kVr'Vk
_5X ill'e
_6X Altm'VS
_7X Z;itm'eS
_8X siks'&n
_9X tuks'An
_0C j'Wz
_0M1 m'eN
_0M2 milli'on
_1M2 milli'on
_0M3 milli'Ard
_1M3 milli'Ard
_0M4 billi'on
_1M4 billi'on

_dpt _bWt,en
133 changes: 133 additions & 0 deletions dictsource/ba_rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
// This file is UTF8 encoded
// Spelling-to-phoneme rules for Bashkir

.group а
а A

.group ә
ә &
әе e: // 'әнкәен'

.group б
б b

.group в
в w // [v] in Russian words

.group г
г g // changes to [Q] or [Q"]

.group д
д d

.group е
_) е je2 // changes to [je] or [jV]
е e

.group ё
ё jo

.group ж
ж Z

.group җ
җ Z;

.group з
з z

.group и
и i
A) и j

.group й
й j
K) й (K I // not next to a vowel

.group к
к k

.group л
л l

.group м
м m

.group н
н n
// н (к N
н (г N
н (х N

.group ң
ң N

.group о
о o

.group ө
ө W

.group п
п p

.group р
р r

.group с
с s

.group т
т t

.group у
у u // or w
A) у w

.group ү
ү y // or w
A) ү w

.group ф
ф f

.group х
х x

.group һ
һ h

.group ц
ц ts

.group ч
ч S;

.group ш
ш S

.group щ
щ SS;

.group ъ
ъ ?

.group ы
ы V
ый Vj // need a diphthong phoneme ??

.group ь
ь ?

.group э
э e

.group ю
ю ju2 // changes to ju or jy

.group я
я ja // changes to jA or j&

.group
$ dolAR

2 changes: 2 additions & 0 deletions espeak-ng-data/lang/trk/ba
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name Bashkir
language ba
Loading

0 comments on commit f4c4cd3

Please sign in to comment.