@polyglot-bundles/be-lang 0.1.3 → 0.1.5
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.js +400 -67
- package/dist/index.js +2 -8
- package/package.json +4 -9
package/dist/characters.js
CHANGED
|
@@ -1,69 +1,402 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/characters.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e.charType === "vowel";
|
|
3
4
|
}
|
|
4
|
-
function e
|
|
5
|
-
|
|
5
|
+
function t(e) {
|
|
6
|
+
return e.charType === "consonant";
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
8
|
+
var n = [
|
|
9
|
+
{
|
|
10
|
+
char: "а",
|
|
11
|
+
id: "a",
|
|
12
|
+
charType: "vowel",
|
|
13
|
+
ipa: "a",
|
|
14
|
+
name: "А",
|
|
15
|
+
length: "short"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
char: "э",
|
|
19
|
+
id: "e",
|
|
20
|
+
charType: "vowel",
|
|
21
|
+
ipa: "ɛ",
|
|
22
|
+
name: "Э",
|
|
23
|
+
length: "short"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
char: "і",
|
|
27
|
+
id: "i",
|
|
28
|
+
charType: "vowel",
|
|
29
|
+
ipa: "i",
|
|
30
|
+
name: "І",
|
|
31
|
+
length: "short"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
char: "о",
|
|
35
|
+
id: "o",
|
|
36
|
+
charType: "vowel",
|
|
37
|
+
ipa: "ɔ",
|
|
38
|
+
name: "О",
|
|
39
|
+
length: "short"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
char: "у",
|
|
43
|
+
id: "u",
|
|
44
|
+
charType: "vowel",
|
|
45
|
+
ipa: "u",
|
|
46
|
+
name: "У",
|
|
47
|
+
length: "short"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
char: "ы",
|
|
51
|
+
id: "y",
|
|
52
|
+
charType: "vowel",
|
|
53
|
+
ipa: "ɨ",
|
|
54
|
+
name: "Ы",
|
|
55
|
+
length: "short"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
char: "ю",
|
|
59
|
+
id: "yu",
|
|
60
|
+
charType: "vowel",
|
|
61
|
+
ipa: "ju",
|
|
62
|
+
name: "Ю",
|
|
63
|
+
length: "short"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
char: "я",
|
|
67
|
+
id: "ya",
|
|
68
|
+
charType: "vowel",
|
|
69
|
+
ipa: "ja",
|
|
70
|
+
name: "Я",
|
|
71
|
+
length: "short"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
char: "е",
|
|
75
|
+
id: "e_short",
|
|
76
|
+
charType: "vowel",
|
|
77
|
+
ipa: "je",
|
|
78
|
+
name: "Е",
|
|
79
|
+
length: "short"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
char: "ё",
|
|
83
|
+
id: "yo",
|
|
84
|
+
charType: "vowel",
|
|
85
|
+
ipa: "jo",
|
|
86
|
+
name: "Ё",
|
|
87
|
+
length: "short"
|
|
88
|
+
}
|
|
89
|
+
], r = [
|
|
90
|
+
{
|
|
91
|
+
char: "б",
|
|
92
|
+
id: "be",
|
|
93
|
+
charType: "consonant",
|
|
94
|
+
ipa: "b",
|
|
95
|
+
name: "Бэ",
|
|
96
|
+
voicing: "voiced",
|
|
97
|
+
articulation: "stop",
|
|
98
|
+
place: "labial"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
char: "п",
|
|
102
|
+
id: "pe",
|
|
103
|
+
charType: "consonant",
|
|
104
|
+
ipa: "p",
|
|
105
|
+
name: "Пэ",
|
|
106
|
+
voicing: "voiceless",
|
|
107
|
+
articulation: "stop",
|
|
108
|
+
place: "labial"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
char: "м",
|
|
112
|
+
id: "me",
|
|
113
|
+
charType: "consonant",
|
|
114
|
+
ipa: "m",
|
|
115
|
+
name: "Мэ",
|
|
116
|
+
voicing: "nasal",
|
|
117
|
+
articulation: "nasal",
|
|
118
|
+
place: "labial"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
char: "в",
|
|
122
|
+
id: "ve",
|
|
123
|
+
charType: "consonant",
|
|
124
|
+
ipa: "v",
|
|
125
|
+
name: "Вэ",
|
|
126
|
+
voicing: "voiced",
|
|
127
|
+
articulation: "fricative",
|
|
128
|
+
place: "labial"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
char: "ф",
|
|
132
|
+
id: "fe",
|
|
133
|
+
charType: "consonant",
|
|
134
|
+
ipa: "f",
|
|
135
|
+
name: "Фэ",
|
|
136
|
+
voicing: "voiceless",
|
|
137
|
+
articulation: "fricative",
|
|
138
|
+
place: "labial"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
char: "д",
|
|
142
|
+
id: "de",
|
|
143
|
+
charType: "consonant",
|
|
144
|
+
ipa: "d",
|
|
145
|
+
name: "Дэ",
|
|
146
|
+
voicing: "voiced",
|
|
147
|
+
articulation: "stop",
|
|
148
|
+
place: "dental"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
char: "т",
|
|
152
|
+
id: "te",
|
|
153
|
+
charType: "consonant",
|
|
154
|
+
ipa: "t",
|
|
155
|
+
name: "Тэ",
|
|
156
|
+
voicing: "voiceless",
|
|
157
|
+
articulation: "stop",
|
|
158
|
+
place: "dental"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
char: "з",
|
|
162
|
+
id: "ze",
|
|
163
|
+
charType: "consonant",
|
|
164
|
+
ipa: "z",
|
|
165
|
+
name: "Зэ",
|
|
166
|
+
voicing: "voiced",
|
|
167
|
+
articulation: "fricative",
|
|
168
|
+
place: "alveolar"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
char: "с",
|
|
172
|
+
id: "se",
|
|
173
|
+
charType: "consonant",
|
|
174
|
+
ipa: "s",
|
|
175
|
+
name: "Сэ",
|
|
176
|
+
voicing: "voiceless",
|
|
177
|
+
articulation: "fricative",
|
|
178
|
+
place: "alveolar"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
char: "н",
|
|
182
|
+
id: "ne",
|
|
183
|
+
charType: "consonant",
|
|
184
|
+
ipa: "n",
|
|
185
|
+
name: "Нэ",
|
|
186
|
+
voicing: "nasal",
|
|
187
|
+
articulation: "nasal",
|
|
188
|
+
place: "alveolar"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
char: "л",
|
|
192
|
+
id: "le",
|
|
193
|
+
charType: "consonant",
|
|
194
|
+
ipa: "l",
|
|
195
|
+
name: "Лэ",
|
|
196
|
+
voicing: "lateral",
|
|
197
|
+
articulation: "lateral",
|
|
198
|
+
place: "alveolar"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
char: "р",
|
|
202
|
+
id: "re",
|
|
203
|
+
charType: "consonant",
|
|
204
|
+
ipa: "r",
|
|
205
|
+
name: "Рэ",
|
|
206
|
+
voicing: "trill",
|
|
207
|
+
articulation: "trill",
|
|
208
|
+
place: "alveolar"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
char: "ц",
|
|
212
|
+
id: "tse",
|
|
213
|
+
charType: "consonant",
|
|
214
|
+
ipa: "ts",
|
|
215
|
+
name: "Цэ",
|
|
216
|
+
voicing: "voiceless",
|
|
217
|
+
articulation: "affricate",
|
|
218
|
+
place: "alveolar"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
char: "ч",
|
|
222
|
+
id: "che",
|
|
223
|
+
charType: "consonant",
|
|
224
|
+
ipa: "tʃ",
|
|
225
|
+
name: "Чэ",
|
|
226
|
+
voicing: "voiceless",
|
|
227
|
+
articulation: "affricate",
|
|
228
|
+
place: "palatal"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
char: "ш",
|
|
232
|
+
id: "sha",
|
|
233
|
+
charType: "consonant",
|
|
234
|
+
ipa: "ʃ",
|
|
235
|
+
name: "Ша",
|
|
236
|
+
voicing: "voiceless",
|
|
237
|
+
articulation: "fricative",
|
|
238
|
+
place: "palatal"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
char: "ж",
|
|
242
|
+
id: "zha",
|
|
243
|
+
charType: "consonant",
|
|
244
|
+
ipa: "ʒ",
|
|
245
|
+
name: "Жа",
|
|
246
|
+
voicing: "voiced",
|
|
247
|
+
articulation: "fricative",
|
|
248
|
+
place: "palatal"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
char: "й",
|
|
252
|
+
id: "y",
|
|
253
|
+
charType: "consonant",
|
|
254
|
+
ipa: "j",
|
|
255
|
+
name: "Й",
|
|
256
|
+
voicing: "voiced",
|
|
257
|
+
articulation: "approximant",
|
|
258
|
+
place: "palatal"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
char: "сь",
|
|
262
|
+
id: "s_soft",
|
|
263
|
+
charType: "consonant",
|
|
264
|
+
ipa: "sʲ",
|
|
265
|
+
name: "Сь",
|
|
266
|
+
voicing: "voiceless",
|
|
267
|
+
articulation: "fricative",
|
|
268
|
+
place: "palatal"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
char: "зь",
|
|
272
|
+
id: "z_soft",
|
|
273
|
+
charType: "consonant",
|
|
274
|
+
ipa: "zʲ",
|
|
275
|
+
name: "Зь",
|
|
276
|
+
voicing: "voiced",
|
|
277
|
+
articulation: "fricative",
|
|
278
|
+
place: "palatal"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
char: "нь",
|
|
282
|
+
id: "n_soft",
|
|
283
|
+
charType: "consonant",
|
|
284
|
+
ipa: "nʲ",
|
|
285
|
+
name: "Нь",
|
|
286
|
+
voicing: "nasal",
|
|
287
|
+
articulation: "nasal",
|
|
288
|
+
place: "palatal"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
char: "ль",
|
|
292
|
+
id: "l_soft",
|
|
293
|
+
charType: "consonant",
|
|
294
|
+
ipa: "lʲ",
|
|
295
|
+
name: "Ль",
|
|
296
|
+
voicing: "lateral",
|
|
297
|
+
articulation: "lateral",
|
|
298
|
+
place: "palatal"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
char: "рь",
|
|
302
|
+
id: "r_soft",
|
|
303
|
+
charType: "consonant",
|
|
304
|
+
ipa: "rʲ",
|
|
305
|
+
name: "Рь",
|
|
306
|
+
voicing: "trill",
|
|
307
|
+
articulation: "trill",
|
|
308
|
+
place: "palatal"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
char: "к",
|
|
312
|
+
id: "ka",
|
|
313
|
+
charType: "consonant",
|
|
314
|
+
ipa: "k",
|
|
315
|
+
name: "Ка",
|
|
316
|
+
voicing: "voiceless",
|
|
317
|
+
articulation: "stop",
|
|
318
|
+
place: "velar"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
char: "г",
|
|
322
|
+
id: "ha",
|
|
323
|
+
charType: "consonant",
|
|
324
|
+
ipa: "ɡ",
|
|
325
|
+
name: "Га",
|
|
326
|
+
voicing: "voiced",
|
|
327
|
+
articulation: "stop",
|
|
328
|
+
place: "velar"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
char: "х",
|
|
332
|
+
id: "kha",
|
|
333
|
+
charType: "consonant",
|
|
334
|
+
ipa: "x",
|
|
335
|
+
name: "Ха",
|
|
336
|
+
voicing: "voiceless",
|
|
337
|
+
articulation: "fricative",
|
|
338
|
+
place: "velar"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
char: "ў",
|
|
342
|
+
id: "u_short",
|
|
343
|
+
charType: "consonant",
|
|
344
|
+
ipa: "w",
|
|
345
|
+
name: "Ў",
|
|
346
|
+
voicing: "approximant",
|
|
347
|
+
articulation: "approximant",
|
|
348
|
+
place: "labial"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
char: "dź",
|
|
352
|
+
id: "d_soft",
|
|
353
|
+
charType: "consonant",
|
|
354
|
+
ipa: "dʲ",
|
|
355
|
+
name: "Дź",
|
|
356
|
+
voicing: "voiced",
|
|
357
|
+
articulation: "stop",
|
|
358
|
+
place: "palatal"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
char: "ć",
|
|
362
|
+
id: "t_soft",
|
|
363
|
+
charType: "consonant",
|
|
364
|
+
ipa: "tʲ",
|
|
365
|
+
name: "Ć",
|
|
366
|
+
voicing: "voiceless",
|
|
367
|
+
articulation: "stop",
|
|
368
|
+
place: "palatal"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
char: "ł",
|
|
372
|
+
id: "l_foreign",
|
|
373
|
+
charType: "consonant",
|
|
374
|
+
ipa: "w",
|
|
375
|
+
name: "Ł (foreign)",
|
|
376
|
+
voicing: "lateral",
|
|
377
|
+
articulation: "lateral",
|
|
378
|
+
place: "labial"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
char: "q",
|
|
382
|
+
id: "q_foreign",
|
|
383
|
+
charType: "consonant",
|
|
384
|
+
ipa: "k",
|
|
385
|
+
name: "Q (foreign)",
|
|
386
|
+
voicing: "voiceless",
|
|
387
|
+
articulation: "stop",
|
|
388
|
+
place: "velar"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
char: "x",
|
|
392
|
+
id: "x_foreign",
|
|
393
|
+
charType: "consonant",
|
|
394
|
+
ipa: "ks",
|
|
395
|
+
name: "X (foreign)",
|
|
396
|
+
voicing: "voiceless",
|
|
397
|
+
articulation: "stop",
|
|
398
|
+
place: "velar"
|
|
399
|
+
}
|
|
400
|
+
], i = [...n, ...r];
|
|
401
|
+
//#endregion
|
|
402
|
+
export { i as belarusianAllCharacters, r as belarusianConsonants, n as belarusianVowels, t as isConsonant, e as isVowel };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import { belarusianAllCharacters as
|
|
2
|
-
export {
|
|
3
|
-
n as belarusianAllCharacters,
|
|
4
|
-
o as belarusianConsonants,
|
|
5
|
-
e as belarusianVowels,
|
|
6
|
-
l as isConsonant,
|
|
7
|
-
r as isVowel
|
|
8
|
-
};
|
|
1
|
+
import { belarusianAllCharacters as e, belarusianConsonants as t, belarusianVowels as n, isConsonant as r, isVowel as i } from "./characters.js";
|
|
2
|
+
export { e as belarusianAllCharacters, t as belarusianConsonants, n as belarusianVowels, r as isConsonant, i as isVowel };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyglot-bundles/be-lang",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -16,13 +16,9 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
|
-
"dependencies": {
|
|
20
|
-
"@polyglot-bundles/content-shared": "0.4.1"
|
|
21
|
-
},
|
|
22
19
|
"devDependencies": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"@polyglot-bundles/lang-tooling": "1.0.0"
|
|
20
|
+
"@polyglot-bundles/lang-tooling": "0.0.0",
|
|
21
|
+
"@polyglot-bundles/content-shared": "0.5.3"
|
|
26
22
|
},
|
|
27
23
|
"repository": {
|
|
28
24
|
"type": "git",
|
|
@@ -30,7 +26,6 @@
|
|
|
30
26
|
"directory": "packages/be/lang"
|
|
31
27
|
},
|
|
32
28
|
"scripts": {
|
|
33
|
-
"build": "vite build"
|
|
34
|
-
"clean": "rm -rf dist"
|
|
29
|
+
"build": "vite build"
|
|
35
30
|
}
|
|
36
31
|
}
|