@polyglot-bundles/uk-lang 1.1.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 +5 -0
- package/dist/characters.js +344 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +9 -0
- package/dist/types.d.ts +30 -0
- package/dist/types.js +10 -0
- package/package.json +36 -0
|
@@ -0,0 +1,5 @@
|
|
|
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';
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import { isConsonant as o, isVowel as l } from "./types.js";
|
|
2
|
+
const a = [
|
|
3
|
+
{
|
|
4
|
+
char: "а",
|
|
5
|
+
id: "a",
|
|
6
|
+
charType: "vowel",
|
|
7
|
+
name: "а",
|
|
8
|
+
ipa: "a"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
char: "е",
|
|
12
|
+
id: "e",
|
|
13
|
+
charType: "vowel",
|
|
14
|
+
name: "е",
|
|
15
|
+
ipa: "ɛ"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
char: "и",
|
|
19
|
+
id: "y",
|
|
20
|
+
charType: "vowel",
|
|
21
|
+
name: "и",
|
|
22
|
+
ipa: "ɪ"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
char: "і",
|
|
26
|
+
id: "i",
|
|
27
|
+
charType: "vowel",
|
|
28
|
+
name: "і",
|
|
29
|
+
ipa: "i"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
char: "о",
|
|
33
|
+
id: "o",
|
|
34
|
+
charType: "vowel",
|
|
35
|
+
name: "о",
|
|
36
|
+
ipa: "o"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
char: "у",
|
|
40
|
+
id: "u",
|
|
41
|
+
charType: "vowel",
|
|
42
|
+
name: "у",
|
|
43
|
+
ipa: "u"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
char: "є",
|
|
47
|
+
id: "ye",
|
|
48
|
+
charType: "vowel",
|
|
49
|
+
name: "є",
|
|
50
|
+
ipa: "je"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
char: "ю",
|
|
54
|
+
id: "yu",
|
|
55
|
+
charType: "vowel",
|
|
56
|
+
name: "ю",
|
|
57
|
+
ipa: "ju"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
char: "я",
|
|
61
|
+
id: "ya",
|
|
62
|
+
charType: "vowel",
|
|
63
|
+
name: "я",
|
|
64
|
+
ipa: "ja"
|
|
65
|
+
}
|
|
66
|
+
], i = [
|
|
67
|
+
// Labial consonants
|
|
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
|
+
// Dental consonants
|
|
119
|
+
{
|
|
120
|
+
char: "д",
|
|
121
|
+
id: "de",
|
|
122
|
+
charType: "consonant",
|
|
123
|
+
name: "де",
|
|
124
|
+
ipa: "d",
|
|
125
|
+
voicing: "voiced",
|
|
126
|
+
articulation: "stop",
|
|
127
|
+
place: "dental"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
char: "з",
|
|
131
|
+
id: "ze",
|
|
132
|
+
charType: "consonant",
|
|
133
|
+
name: "зе",
|
|
134
|
+
ipa: "z",
|
|
135
|
+
voicing: "voiced",
|
|
136
|
+
articulation: "fricative",
|
|
137
|
+
place: "alveolar"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
char: "т",
|
|
141
|
+
id: "te",
|
|
142
|
+
charType: "consonant",
|
|
143
|
+
name: "те",
|
|
144
|
+
ipa: "t",
|
|
145
|
+
voicing: "voiceless",
|
|
146
|
+
articulation: "stop",
|
|
147
|
+
place: "dental"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
char: "с",
|
|
151
|
+
id: "se",
|
|
152
|
+
charType: "consonant",
|
|
153
|
+
name: "ес",
|
|
154
|
+
ipa: "s",
|
|
155
|
+
voicing: "voiceless",
|
|
156
|
+
articulation: "fricative",
|
|
157
|
+
place: "alveolar"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
char: "ц",
|
|
161
|
+
id: "tse",
|
|
162
|
+
charType: "consonant",
|
|
163
|
+
name: "це",
|
|
164
|
+
ipa: "ts",
|
|
165
|
+
voicing: "voiceless",
|
|
166
|
+
articulation: "fricative",
|
|
167
|
+
place: "alveolar"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
char: "дз",
|
|
171
|
+
id: "dze",
|
|
172
|
+
charType: "consonant",
|
|
173
|
+
name: "дзе",
|
|
174
|
+
ipa: "dz",
|
|
175
|
+
voicing: "voiced",
|
|
176
|
+
articulation: "fricative",
|
|
177
|
+
place: "alveolar"
|
|
178
|
+
},
|
|
179
|
+
// Alveolar consonants
|
|
180
|
+
{
|
|
181
|
+
char: "л",
|
|
182
|
+
id: "le",
|
|
183
|
+
charType: "consonant",
|
|
184
|
+
name: "ел",
|
|
185
|
+
ipa: "l",
|
|
186
|
+
voicing: "lateral",
|
|
187
|
+
articulation: "lateral",
|
|
188
|
+
place: "alveolar"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
char: "н",
|
|
192
|
+
id: "ne",
|
|
193
|
+
charType: "consonant",
|
|
194
|
+
name: "ен",
|
|
195
|
+
ipa: "n",
|
|
196
|
+
voicing: "nasal",
|
|
197
|
+
articulation: "nasal",
|
|
198
|
+
place: "alveolar"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
char: "р",
|
|
202
|
+
id: "re",
|
|
203
|
+
charType: "consonant",
|
|
204
|
+
name: "ер",
|
|
205
|
+
ipa: "r",
|
|
206
|
+
voicing: "trill",
|
|
207
|
+
articulation: "trill",
|
|
208
|
+
place: "alveolar"
|
|
209
|
+
},
|
|
210
|
+
// Palatal consonants
|
|
211
|
+
{
|
|
212
|
+
char: "є",
|
|
213
|
+
id: "ye_palatal",
|
|
214
|
+
charType: "consonant",
|
|
215
|
+
name: "є (palatalizing)",
|
|
216
|
+
ipa: "j",
|
|
217
|
+
voicing: "voiced",
|
|
218
|
+
articulation: "approximant",
|
|
219
|
+
place: "palatal"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
char: "ю",
|
|
223
|
+
id: "yu_palatal",
|
|
224
|
+
charType: "consonant",
|
|
225
|
+
name: "ю (palatalizing)",
|
|
226
|
+
ipa: "j",
|
|
227
|
+
voicing: "voiced",
|
|
228
|
+
articulation: "approximant",
|
|
229
|
+
place: "palatal"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
char: "я",
|
|
233
|
+
id: "ya_palatal",
|
|
234
|
+
charType: "consonant",
|
|
235
|
+
name: "я (palatalizing)",
|
|
236
|
+
ipa: "j",
|
|
237
|
+
voicing: "voiced",
|
|
238
|
+
articulation: "approximant",
|
|
239
|
+
place: "palatal"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
char: "ї",
|
|
243
|
+
id: "yi",
|
|
244
|
+
charType: "consonant",
|
|
245
|
+
name: "ї",
|
|
246
|
+
ipa: "j",
|
|
247
|
+
voicing: "voiced",
|
|
248
|
+
articulation: "approximant",
|
|
249
|
+
place: "palatal"
|
|
250
|
+
},
|
|
251
|
+
// Velar consonants
|
|
252
|
+
{
|
|
253
|
+
char: "г",
|
|
254
|
+
id: "he",
|
|
255
|
+
charType: "consonant",
|
|
256
|
+
name: "ге",
|
|
257
|
+
ipa: "ɦ",
|
|
258
|
+
voicing: "voiced",
|
|
259
|
+
articulation: "fricative",
|
|
260
|
+
place: "velar"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
char: "к",
|
|
264
|
+
id: "ka",
|
|
265
|
+
charType: "consonant",
|
|
266
|
+
name: "ка",
|
|
267
|
+
ipa: "k",
|
|
268
|
+
voicing: "voiceless",
|
|
269
|
+
articulation: "stop",
|
|
270
|
+
place: "velar"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
char: "ґ",
|
|
274
|
+
id: "ga",
|
|
275
|
+
charType: "consonant",
|
|
276
|
+
name: "ґа",
|
|
277
|
+
ipa: "ɡ",
|
|
278
|
+
voicing: "voiced",
|
|
279
|
+
articulation: "stop",
|
|
280
|
+
place: "velar"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
char: "х",
|
|
284
|
+
id: "kha",
|
|
285
|
+
charType: "consonant",
|
|
286
|
+
name: "ха",
|
|
287
|
+
ipa: "x",
|
|
288
|
+
voicing: "voiceless",
|
|
289
|
+
articulation: "fricative",
|
|
290
|
+
place: "velar"
|
|
291
|
+
},
|
|
292
|
+
// Palatal consonants (soft)
|
|
293
|
+
{
|
|
294
|
+
char: "ч",
|
|
295
|
+
id: "che",
|
|
296
|
+
charType: "consonant",
|
|
297
|
+
name: "че",
|
|
298
|
+
ipa: "tʃ",
|
|
299
|
+
voicing: "voiced",
|
|
300
|
+
articulation: "affricate",
|
|
301
|
+
place: "palatal"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
char: "ш",
|
|
305
|
+
id: "sha",
|
|
306
|
+
charType: "consonant",
|
|
307
|
+
name: "ша",
|
|
308
|
+
ipa: "ʃ",
|
|
309
|
+
voicing: "voiceless",
|
|
310
|
+
articulation: "fricative",
|
|
311
|
+
place: "palatal"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
char: "ж",
|
|
315
|
+
id: "zhe",
|
|
316
|
+
charType: "consonant",
|
|
317
|
+
name: "же",
|
|
318
|
+
ipa: "ʒ",
|
|
319
|
+
voicing: "voiced",
|
|
320
|
+
articulation: "fricative",
|
|
321
|
+
place: "palatal"
|
|
322
|
+
},
|
|
323
|
+
// Glottal consonants
|
|
324
|
+
{
|
|
325
|
+
char: "ґ",
|
|
326
|
+
id: "hard_sign",
|
|
327
|
+
charType: "consonant",
|
|
328
|
+
name: "м'який знак",
|
|
329
|
+
ipa: "",
|
|
330
|
+
voicing: "voiceless",
|
|
331
|
+
articulation: "stop",
|
|
332
|
+
place: "glottal"
|
|
333
|
+
}
|
|
334
|
+
], c = [
|
|
335
|
+
...a,
|
|
336
|
+
...i
|
|
337
|
+
];
|
|
338
|
+
export {
|
|
339
|
+
o as isConsonant,
|
|
340
|
+
l as isVowel,
|
|
341
|
+
c as ukrainianAllCharacters,
|
|
342
|
+
i as ukrainianConsonants,
|
|
343
|
+
a as ukrainianVowels
|
|
344
|
+
};
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ukrainianAllCharacters as o, ukrainianConsonants as r, ukrainianVowels as i } from "./characters.js";
|
|
2
|
+
import { isConsonant as e, isVowel as t } from "./types.js";
|
|
3
|
+
export {
|
|
4
|
+
e as isConsonant,
|
|
5
|
+
t as isVowel,
|
|
6
|
+
o as ukrainianAllCharacters,
|
|
7
|
+
r as ukrainianConsonants,
|
|
8
|
+
i as ukrainianVowels
|
|
9
|
+
};
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
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 {};
|
package/dist/types.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@polyglot-bundles/uk-lang",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "vite build",
|
|
9
|
+
"clean": "rm -rf dist"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@polyglot-bundles/content-shared": "workspace:*"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@polyglot-bundles/lang-tooling": "workspace:*",
|
|
28
|
+
"vite": "catalog:",
|
|
29
|
+
"vite-plugin-dts": "catalog:"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/fustilio/polyglot-bundles.git",
|
|
34
|
+
"directory": "packages/uk/lang"
|
|
35
|
+
}
|
|
36
|
+
}
|