@polyglot-bundles/uk-lang 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/characters.d.ts +6 -0
- package/dist/characters.d.ts.map +1 -0
- package/dist/characters.js +330 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.test.d.ts +2 -0
- package/dist/index.test.d.ts.map +1 -0
- package/dist/sounds.d.ts +11 -0
- package/dist/sounds.d.ts.map +1 -0
- package/dist/sounds.js +255 -0
- package/dist/types.d.ts +31 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +9 -0
- package/package.json +2 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UkrainianConsonantsInfo, UkrainianVowelsInfo } from './types';
|
|
2
|
+
export declare const ukrainianVowels: UkrainianVowelsInfo[];
|
|
3
|
+
export declare const ukrainianConsonants: UkrainianConsonantsInfo[];
|
|
4
|
+
export declare const ukrainianAllCharacters: (UkrainianVowelsInfo | UkrainianConsonantsInfo)[];
|
|
5
|
+
export { isVowel, isConsonant, type UkrainianCharacter } from './types.js';
|
|
6
|
+
//# sourceMappingURL=characters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../src/characters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,eAAe,EAAE,mBAAmB,EAgEhD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,uBAAuB,EA4QxD,CAAC;AAEF,eAAO,MAAM,sBAAsB,mDAGlC,CAAC;AAGF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { isConsonant as e, isVowel as t } from "./types.js";
|
|
2
|
+
//#region src/characters.ts
|
|
3
|
+
var n = [
|
|
4
|
+
{
|
|
5
|
+
char: "а",
|
|
6
|
+
id: "a",
|
|
7
|
+
charType: "vowel",
|
|
8
|
+
name: "а",
|
|
9
|
+
ipa: "a"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
char: "е",
|
|
13
|
+
id: "e",
|
|
14
|
+
charType: "vowel",
|
|
15
|
+
name: "е",
|
|
16
|
+
ipa: "ɛ"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
char: "и",
|
|
20
|
+
id: "y",
|
|
21
|
+
charType: "vowel",
|
|
22
|
+
name: "и",
|
|
23
|
+
ipa: "ɪ"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
char: "і",
|
|
27
|
+
id: "i",
|
|
28
|
+
charType: "vowel",
|
|
29
|
+
name: "і",
|
|
30
|
+
ipa: "i"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
char: "о",
|
|
34
|
+
id: "o",
|
|
35
|
+
charType: "vowel",
|
|
36
|
+
name: "о",
|
|
37
|
+
ipa: "o"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
char: "у",
|
|
41
|
+
id: "u",
|
|
42
|
+
charType: "vowel",
|
|
43
|
+
name: "у",
|
|
44
|
+
ipa: "u"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
char: "є",
|
|
48
|
+
id: "ye",
|
|
49
|
+
charType: "vowel",
|
|
50
|
+
name: "є",
|
|
51
|
+
ipa: "je"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
char: "ю",
|
|
55
|
+
id: "yu",
|
|
56
|
+
charType: "vowel",
|
|
57
|
+
name: "ю",
|
|
58
|
+
ipa: "ju"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
char: "я",
|
|
62
|
+
id: "ya",
|
|
63
|
+
charType: "vowel",
|
|
64
|
+
name: "я",
|
|
65
|
+
ipa: "ja"
|
|
66
|
+
}
|
|
67
|
+
], r = [
|
|
68
|
+
{
|
|
69
|
+
char: "б",
|
|
70
|
+
id: "be",
|
|
71
|
+
charType: "consonant",
|
|
72
|
+
name: "бе",
|
|
73
|
+
ipa: "b",
|
|
74
|
+
voicing: "voiced",
|
|
75
|
+
articulation: "stop",
|
|
76
|
+
place: "labial"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
char: "в",
|
|
80
|
+
id: "ve",
|
|
81
|
+
charType: "consonant",
|
|
82
|
+
name: "ве",
|
|
83
|
+
ipa: "v",
|
|
84
|
+
voicing: "voiced",
|
|
85
|
+
articulation: "fricative",
|
|
86
|
+
place: "labial"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
char: "м",
|
|
90
|
+
id: "me",
|
|
91
|
+
charType: "consonant",
|
|
92
|
+
name: "еме",
|
|
93
|
+
ipa: "m",
|
|
94
|
+
voicing: "nasal",
|
|
95
|
+
articulation: "nasal",
|
|
96
|
+
place: "labial"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
char: "п",
|
|
100
|
+
id: "pe",
|
|
101
|
+
charType: "consonant",
|
|
102
|
+
name: "пе",
|
|
103
|
+
ipa: "p",
|
|
104
|
+
voicing: "voiceless",
|
|
105
|
+
articulation: "stop",
|
|
106
|
+
place: "labial"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
char: "ф",
|
|
110
|
+
id: "fe",
|
|
111
|
+
charType: "consonant",
|
|
112
|
+
name: "еф",
|
|
113
|
+
ipa: "f",
|
|
114
|
+
voicing: "voiceless",
|
|
115
|
+
articulation: "fricative",
|
|
116
|
+
place: "labial"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
char: "д",
|
|
120
|
+
id: "de",
|
|
121
|
+
charType: "consonant",
|
|
122
|
+
name: "де",
|
|
123
|
+
ipa: "d",
|
|
124
|
+
voicing: "voiced",
|
|
125
|
+
articulation: "stop",
|
|
126
|
+
place: "dental"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
char: "з",
|
|
130
|
+
id: "ze",
|
|
131
|
+
charType: "consonant",
|
|
132
|
+
name: "зе",
|
|
133
|
+
ipa: "z",
|
|
134
|
+
voicing: "voiced",
|
|
135
|
+
articulation: "fricative",
|
|
136
|
+
place: "alveolar"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
char: "т",
|
|
140
|
+
id: "te",
|
|
141
|
+
charType: "consonant",
|
|
142
|
+
name: "те",
|
|
143
|
+
ipa: "t",
|
|
144
|
+
voicing: "voiceless",
|
|
145
|
+
articulation: "stop",
|
|
146
|
+
place: "dental"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
char: "с",
|
|
150
|
+
id: "se",
|
|
151
|
+
charType: "consonant",
|
|
152
|
+
name: "ес",
|
|
153
|
+
ipa: "s",
|
|
154
|
+
voicing: "voiceless",
|
|
155
|
+
articulation: "fricative",
|
|
156
|
+
place: "alveolar"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
char: "ц",
|
|
160
|
+
id: "tse",
|
|
161
|
+
charType: "consonant",
|
|
162
|
+
name: "це",
|
|
163
|
+
ipa: "ts",
|
|
164
|
+
voicing: "voiceless",
|
|
165
|
+
articulation: "fricative",
|
|
166
|
+
place: "alveolar"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
char: "дз",
|
|
170
|
+
id: "dze",
|
|
171
|
+
charType: "consonant",
|
|
172
|
+
name: "дзе",
|
|
173
|
+
ipa: "dz",
|
|
174
|
+
voicing: "voiced",
|
|
175
|
+
articulation: "fricative",
|
|
176
|
+
place: "alveolar"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
char: "л",
|
|
180
|
+
id: "le",
|
|
181
|
+
charType: "consonant",
|
|
182
|
+
name: "ел",
|
|
183
|
+
ipa: "l",
|
|
184
|
+
voicing: "lateral",
|
|
185
|
+
articulation: "lateral",
|
|
186
|
+
place: "alveolar"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
char: "н",
|
|
190
|
+
id: "ne",
|
|
191
|
+
charType: "consonant",
|
|
192
|
+
name: "ен",
|
|
193
|
+
ipa: "n",
|
|
194
|
+
voicing: "nasal",
|
|
195
|
+
articulation: "nasal",
|
|
196
|
+
place: "alveolar"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
char: "р",
|
|
200
|
+
id: "re",
|
|
201
|
+
charType: "consonant",
|
|
202
|
+
name: "ер",
|
|
203
|
+
ipa: "r",
|
|
204
|
+
voicing: "trill",
|
|
205
|
+
articulation: "trill",
|
|
206
|
+
place: "alveolar"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
char: "є",
|
|
210
|
+
id: "ye_palatal",
|
|
211
|
+
charType: "consonant",
|
|
212
|
+
name: "є (palatalizing)",
|
|
213
|
+
ipa: "j",
|
|
214
|
+
voicing: "voiced",
|
|
215
|
+
articulation: "approximant",
|
|
216
|
+
place: "palatal"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
char: "ю",
|
|
220
|
+
id: "yu_palatal",
|
|
221
|
+
charType: "consonant",
|
|
222
|
+
name: "ю (palatalizing)",
|
|
223
|
+
ipa: "j",
|
|
224
|
+
voicing: "voiced",
|
|
225
|
+
articulation: "approximant",
|
|
226
|
+
place: "palatal"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
char: "я",
|
|
230
|
+
id: "ya_palatal",
|
|
231
|
+
charType: "consonant",
|
|
232
|
+
name: "я (palatalizing)",
|
|
233
|
+
ipa: "j",
|
|
234
|
+
voicing: "voiced",
|
|
235
|
+
articulation: "approximant",
|
|
236
|
+
place: "palatal"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
char: "ї",
|
|
240
|
+
id: "yi",
|
|
241
|
+
charType: "consonant",
|
|
242
|
+
name: "ї",
|
|
243
|
+
ipa: "j",
|
|
244
|
+
voicing: "voiced",
|
|
245
|
+
articulation: "approximant",
|
|
246
|
+
place: "palatal"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
char: "г",
|
|
250
|
+
id: "he",
|
|
251
|
+
charType: "consonant",
|
|
252
|
+
name: "ге",
|
|
253
|
+
ipa: "ɦ",
|
|
254
|
+
voicing: "voiced",
|
|
255
|
+
articulation: "fricative",
|
|
256
|
+
place: "velar"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
char: "к",
|
|
260
|
+
id: "ka",
|
|
261
|
+
charType: "consonant",
|
|
262
|
+
name: "ка",
|
|
263
|
+
ipa: "k",
|
|
264
|
+
voicing: "voiceless",
|
|
265
|
+
articulation: "stop",
|
|
266
|
+
place: "velar"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
char: "ґ",
|
|
270
|
+
id: "ga",
|
|
271
|
+
charType: "consonant",
|
|
272
|
+
name: "ґа",
|
|
273
|
+
ipa: "ɡ",
|
|
274
|
+
voicing: "voiced",
|
|
275
|
+
articulation: "stop",
|
|
276
|
+
place: "velar"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
char: "х",
|
|
280
|
+
id: "kha",
|
|
281
|
+
charType: "consonant",
|
|
282
|
+
name: "ха",
|
|
283
|
+
ipa: "x",
|
|
284
|
+
voicing: "voiceless",
|
|
285
|
+
articulation: "fricative",
|
|
286
|
+
place: "velar"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
char: "ч",
|
|
290
|
+
id: "che",
|
|
291
|
+
charType: "consonant",
|
|
292
|
+
name: "че",
|
|
293
|
+
ipa: "tʃ",
|
|
294
|
+
voicing: "voiced",
|
|
295
|
+
articulation: "affricate",
|
|
296
|
+
place: "palatal"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
char: "ш",
|
|
300
|
+
id: "sha",
|
|
301
|
+
charType: "consonant",
|
|
302
|
+
name: "ша",
|
|
303
|
+
ipa: "ʃ",
|
|
304
|
+
voicing: "voiceless",
|
|
305
|
+
articulation: "fricative",
|
|
306
|
+
place: "palatal"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
char: "ж",
|
|
310
|
+
id: "zhe",
|
|
311
|
+
charType: "consonant",
|
|
312
|
+
name: "же",
|
|
313
|
+
ipa: "ʒ",
|
|
314
|
+
voicing: "voiced",
|
|
315
|
+
articulation: "fricative",
|
|
316
|
+
place: "palatal"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
char: "ґ",
|
|
320
|
+
id: "hard_sign",
|
|
321
|
+
charType: "consonant",
|
|
322
|
+
name: "м'який знак",
|
|
323
|
+
ipa: "",
|
|
324
|
+
voicing: "voiceless",
|
|
325
|
+
articulation: "stop",
|
|
326
|
+
place: "glottal"
|
|
327
|
+
}
|
|
328
|
+
], i = [...n, ...r];
|
|
329
|
+
//#endregion
|
|
330
|
+
export { e as isConsonant, t as isVowel, i as ukrainianAllCharacters, r as ukrainianConsonants, n as ukrainianVowels };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,OAAO,EACP,WAAW,GACZ,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { isConsonant as e, isVowel as t } from "./types.js";
|
|
2
|
+
import { ukrainianAllCharacters as n, ukrainianConsonants as r, ukrainianVowels as i } from "./characters.js";
|
|
3
|
+
export { e as isConsonant, t as isVowel, n as ukrainianAllCharacters, r as ukrainianConsonants, i as ukrainianVowels };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
|
package/dist/sounds.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SoundCharacter, LanguageSoundsConfig } from '@polyglot-bundles/content-shared';
|
|
2
|
+
/**
|
|
3
|
+
* Ukrainian — Wikipedia Ukrainian_phonology.
|
|
4
|
+
* Hard/soft palatalization. 6 vowels including ɪ. /ɦ/ (not /g/) is the
|
|
5
|
+
* canonical Ukrainian voiced glottal — distinctive vs Russian.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ukHardConsonants: SoundCharacter[];
|
|
8
|
+
export declare const ukSoftConsonants: SoundCharacter[];
|
|
9
|
+
export declare const ukVowels: SoundCharacter[];
|
|
10
|
+
export declare const ukrainianSoundsConfig: LanguageSoundsConfig;
|
|
11
|
+
//# sourceMappingURL=sounds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sounds.d.ts","sourceRoot":"","sources":["../src/sounds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAElG;;;;GAIG;AAEH,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAuB5C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAU5C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,cAAc,EAOpC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,oBAQnC,CAAC"}
|
package/dist/sounds.js
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
//#region src/sounds.ts
|
|
2
|
+
var e = [
|
|
3
|
+
{
|
|
4
|
+
char: "м",
|
|
5
|
+
id: "m",
|
|
6
|
+
charType: "consonant",
|
|
7
|
+
ipa: "m"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
char: "н",
|
|
11
|
+
id: "n",
|
|
12
|
+
charType: "consonant",
|
|
13
|
+
ipa: "n"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
char: "п",
|
|
17
|
+
id: "p",
|
|
18
|
+
charType: "consonant",
|
|
19
|
+
ipa: "p"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
char: "б",
|
|
23
|
+
id: "b",
|
|
24
|
+
charType: "consonant",
|
|
25
|
+
ipa: "b"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
char: "т",
|
|
29
|
+
id: "t",
|
|
30
|
+
charType: "consonant",
|
|
31
|
+
ipa: "t"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
char: "д",
|
|
35
|
+
id: "d",
|
|
36
|
+
charType: "consonant",
|
|
37
|
+
ipa: "d"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
char: "к",
|
|
41
|
+
id: "k",
|
|
42
|
+
charType: "consonant",
|
|
43
|
+
ipa: "k"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
char: "ґ",
|
|
47
|
+
id: "g",
|
|
48
|
+
charType: "consonant",
|
|
49
|
+
ipa: "ɡ"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
char: "г",
|
|
53
|
+
id: "h_voiced",
|
|
54
|
+
charType: "consonant",
|
|
55
|
+
ipa: "ɦ"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
char: "ц",
|
|
59
|
+
id: "ts",
|
|
60
|
+
charType: "consonant",
|
|
61
|
+
ipa: "ts"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
char: "дз",
|
|
65
|
+
id: "dz",
|
|
66
|
+
charType: "consonant",
|
|
67
|
+
ipa: "dz"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
char: "ч",
|
|
71
|
+
id: "ch",
|
|
72
|
+
charType: "consonant",
|
|
73
|
+
ipa: "tʃ"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
char: "дж",
|
|
77
|
+
id: "dzh",
|
|
78
|
+
charType: "consonant",
|
|
79
|
+
ipa: "dʒ"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
char: "ф",
|
|
83
|
+
id: "f",
|
|
84
|
+
charType: "consonant",
|
|
85
|
+
ipa: "f"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
char: "в",
|
|
89
|
+
id: "v",
|
|
90
|
+
charType: "consonant",
|
|
91
|
+
ipa: "ʋ"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
char: "с",
|
|
95
|
+
id: "s",
|
|
96
|
+
charType: "consonant",
|
|
97
|
+
ipa: "s"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
char: "з",
|
|
101
|
+
id: "z",
|
|
102
|
+
charType: "consonant",
|
|
103
|
+
ipa: "z"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
char: "ш",
|
|
107
|
+
id: "sh",
|
|
108
|
+
charType: "consonant",
|
|
109
|
+
ipa: "ʃ"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
char: "ж",
|
|
113
|
+
id: "zh",
|
|
114
|
+
charType: "consonant",
|
|
115
|
+
ipa: "ʒ"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
char: "х",
|
|
119
|
+
id: "kh",
|
|
120
|
+
charType: "consonant",
|
|
121
|
+
ipa: "x"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
char: "л",
|
|
125
|
+
id: "l",
|
|
126
|
+
charType: "consonant",
|
|
127
|
+
ipa: "l"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
char: "р",
|
|
131
|
+
id: "r",
|
|
132
|
+
charType: "consonant",
|
|
133
|
+
ipa: "r"
|
|
134
|
+
}
|
|
135
|
+
], t = [
|
|
136
|
+
{
|
|
137
|
+
char: "нь",
|
|
138
|
+
id: "n_soft",
|
|
139
|
+
charType: "consonant",
|
|
140
|
+
ipa: "nʲ"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
char: "ть",
|
|
144
|
+
id: "t_soft",
|
|
145
|
+
charType: "consonant",
|
|
146
|
+
ipa: "tʲ"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
char: "дь",
|
|
150
|
+
id: "d_soft",
|
|
151
|
+
charType: "consonant",
|
|
152
|
+
ipa: "dʲ"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
char: "ць",
|
|
156
|
+
id: "ts_soft",
|
|
157
|
+
charType: "consonant",
|
|
158
|
+
ipa: "tsʲ"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
char: "сь",
|
|
162
|
+
id: "s_soft",
|
|
163
|
+
charType: "consonant",
|
|
164
|
+
ipa: "sʲ"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
char: "зь",
|
|
168
|
+
id: "z_soft",
|
|
169
|
+
charType: "consonant",
|
|
170
|
+
ipa: "zʲ"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
char: "ль",
|
|
174
|
+
id: "l_soft",
|
|
175
|
+
charType: "consonant",
|
|
176
|
+
ipa: "lʲ"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
char: "рь",
|
|
180
|
+
id: "r_soft",
|
|
181
|
+
charType: "consonant",
|
|
182
|
+
ipa: "rʲ"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
char: "й",
|
|
186
|
+
id: "j",
|
|
187
|
+
charType: "consonant",
|
|
188
|
+
ipa: "j"
|
|
189
|
+
}
|
|
190
|
+
], n = [
|
|
191
|
+
{
|
|
192
|
+
char: "і",
|
|
193
|
+
id: "i",
|
|
194
|
+
charType: "vowel",
|
|
195
|
+
ipa: "i"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
char: "и",
|
|
199
|
+
id: "y_lax",
|
|
200
|
+
charType: "vowel",
|
|
201
|
+
ipa: "ɪ"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
char: "е",
|
|
205
|
+
id: "e",
|
|
206
|
+
charType: "vowel",
|
|
207
|
+
ipa: "ɛ"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
char: "а",
|
|
211
|
+
id: "a",
|
|
212
|
+
charType: "vowel",
|
|
213
|
+
ipa: "a"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
char: "о",
|
|
217
|
+
id: "o",
|
|
218
|
+
charType: "vowel",
|
|
219
|
+
ipa: "ɔ"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
char: "у",
|
|
223
|
+
id: "u",
|
|
224
|
+
charType: "vowel",
|
|
225
|
+
ipa: "u"
|
|
226
|
+
}
|
|
227
|
+
], r = {
|
|
228
|
+
categories: [
|
|
229
|
+
{
|
|
230
|
+
id: "hard-consonants",
|
|
231
|
+
label: "Hard Consonants",
|
|
232
|
+
sounds: e,
|
|
233
|
+
charType: "consonant",
|
|
234
|
+
color: "blue"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
id: "soft-consonants",
|
|
238
|
+
label: "Soft (Palatalized) Consonants",
|
|
239
|
+
sounds: t,
|
|
240
|
+
charType: "consonant",
|
|
241
|
+
color: "red"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
id: "vowels",
|
|
245
|
+
label: "Vowels (6)",
|
|
246
|
+
sounds: n,
|
|
247
|
+
charType: "vowel",
|
|
248
|
+
color: "green"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
audioBasePath: "/audio/ukrainian",
|
|
252
|
+
audioFilePattern: "{id}.mp3"
|
|
253
|
+
};
|
|
254
|
+
//#endregion
|
|
255
|
+
export { e as ukHardConsonants, t as ukSoftConsonants, n as ukVowels, r as ukrainianSoundsConfig };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ukrainian Character Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for Ukrainian characters (Cyrillic script).
|
|
5
|
+
* Ukrainian has 38 letters: 6 vowels and 32 consonants.
|
|
6
|
+
*/
|
|
7
|
+
type UkrainianCharacterBaseInfo = {
|
|
8
|
+
char: string;
|
|
9
|
+
id: string;
|
|
10
|
+
display?: string;
|
|
11
|
+
audio?: string;
|
|
12
|
+
notes?: string;
|
|
13
|
+
};
|
|
14
|
+
export type UkrainianVowelsInfo = {
|
|
15
|
+
charType: "vowel";
|
|
16
|
+
name: string;
|
|
17
|
+
ipa: string;
|
|
18
|
+
} & UkrainianCharacterBaseInfo;
|
|
19
|
+
export type UkrainianConsonantsInfo = {
|
|
20
|
+
charType: "consonant";
|
|
21
|
+
name: string;
|
|
22
|
+
ipa: string;
|
|
23
|
+
articulation: "stop" | "fricative" | "nasal" | "approximant" | "lateral" | "trill" | "affricate";
|
|
24
|
+
voicing: "voiced" | "voiceless" | "nasal" | "lateral" | "approximant" | "trill" | "fricative";
|
|
25
|
+
place: "velar" | "palatal" | "alveolar" | "dental" | "labial" | "glottal";
|
|
26
|
+
} & UkrainianCharacterBaseInfo;
|
|
27
|
+
export type UkrainianCharacter = UkrainianVowelsInfo | UkrainianConsonantsInfo;
|
|
28
|
+
export declare function isVowel(character: UkrainianCharacter): character is UkrainianVowelsInfo;
|
|
29
|
+
export declare function isConsonant(character: UkrainianCharacter): character is UkrainianConsonantsInfo;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,0BAA0B,CAAC;AAE/B,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,WAAW,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;IACjG,OAAO,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,WAAW,CAAC;IAC9F,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC3E,GAAG,0BAA0B,CAAC;AAG/B,MAAM,MAAM,kBAAkB,GAC1B,mBAAmB,GACnB,uBAAuB,CAAC;AAG5B,wBAAgB,OAAO,CAAC,SAAS,EAAE,kBAAkB,GAAG,SAAS,IAAI,mBAAmB,CAEvF;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,kBAAkB,GAAG,SAAS,IAAI,uBAAuB,CAE/F"}
|
package/dist/types.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyglot-bundles/uk-lang",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Ukrainian language foundation data - characters, sounds, and pronunciation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"vite-plugin-dts": "^4.5.4",
|
|
42
42
|
"vitest": "^4.1.4",
|
|
43
|
-
"@polyglot-bundles/content-shared": "0.7.
|
|
43
|
+
"@polyglot-bundles/content-shared": "0.7.1",
|
|
44
44
|
"@polyglot-bundles/lang-tooling": "0.0.0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|