@polyglot-bundles/be-lang 0.1.3 → 0.1.4

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.
@@ -1,69 +1,402 @@
1
- function n(a) {
2
- return a.charType === "vowel";
1
+ //#region src/characters.ts
2
+ function e(e) {
3
+ return e.charType === "vowel";
3
4
  }
4
- function e(a) {
5
- return a.charType === "consonant";
5
+ function t(e) {
6
+ return e.charType === "consonant";
6
7
  }
7
- const i = [
8
- // Vowels
9
- { char: "а", id: "a", charType: "vowel", ipa: "a", name: "А", length: "short" },
10
- { char: "э", id: "e", charType: "vowel", ipa: "ɛ", name: "Э", length: "short" },
11
- { char: "і", id: "i", charType: "vowel", ipa: "i", name: "І", length: "short" },
12
- { char: "о", id: "o", charType: "vowel", ipa: "ɔ", name: "О", length: "short" },
13
- { char: "у", id: "u", charType: "vowel", ipa: "u", name: "У", length: "short" },
14
- { char: "ы", id: "y", charType: "vowel", ipa: "ɨ", name: "Ы", length: "short" },
15
- { char: "ю", id: "yu", charType: "vowel", ipa: "ju", name: "Ю", length: "short" },
16
- { char: "я", id: "ya", charType: "vowel", ipa: "ja", name: "Я", length: "short" },
17
- // Short vowels
18
- { char: "е", id: "e_short", charType: "vowel", ipa: "je", name: "Е", length: "short" },
19
- { char: "ё", id: "yo", charType: "vowel", ipa: "jo", name: "Ё", length: "short" }
20
- ], c = [
21
- // Bilabial consonants
22
- { char: "б", id: "be", charType: "consonant", ipa: "b", name: "Бэ", voicing: "voiced", articulation: "stop", place: "labial" },
23
- { char: "п", id: "pe", charType: "consonant", ipa: "p", name: "Пэ", voicing: "voiceless", articulation: "stop", place: "labial" },
24
- { char: "м", id: "me", charType: "consonant", ipa: "m", name: "Мэ", voicing: "nasal", articulation: "nasal", place: "labial" },
25
- // Labiodental consonants
26
- { char: "в", id: "ve", charType: "consonant", ipa: "v", name: "Вэ", voicing: "voiced", articulation: "fricative", place: "labial" },
27
- { char: "ф", id: "fe", charType: "consonant", ipa: "f", name: "Фэ", voicing: "voiceless", articulation: "fricative", place: "labial" },
28
- // Dental/Alveolar consonants
29
- { char: "д", id: "de", charType: "consonant", ipa: "d", name: "Дэ", voicing: "voiced", articulation: "stop", place: "dental" },
30
- { char: "т", id: "te", charType: "consonant", ipa: "t", name: "Тэ", voicing: "voiceless", articulation: "stop", place: "dental" },
31
- { char: "з", id: "ze", charType: "consonant", ipa: "z", name: "Зэ", voicing: "voiced", articulation: "fricative", place: "alveolar" },
32
- { char: "с", id: "se", charType: "consonant", ipa: "s", name: "Сэ", voicing: "voiceless", articulation: "fricative", place: "alveolar" },
33
- { char: "н", id: "ne", charType: "consonant", ipa: "n", name: "Нэ", voicing: "nasal", articulation: "nasal", place: "alveolar" },
34
- { char: "л", id: "le", charType: "consonant", ipa: "l", name: "Лэ", voicing: "lateral", articulation: "lateral", place: "alveolar" },
35
- { char: "р", id: "re", charType: "consonant", ipa: "r", name: "Рэ", voicing: "trill", articulation: "trill", place: "alveolar" },
36
- // Palatal consonants
37
- { char: "ц", id: "tse", charType: "consonant", ipa: "ts", name: "Цэ", voicing: "voiceless", articulation: "affricate", place: "alveolar" },
38
- { char: "ч", id: "che", charType: "consonant", ipa: "tʃ", name: "Чэ", voicing: "voiceless", articulation: "affricate", place: "palatal" },
39
- { char: "ш", id: "sha", charType: "consonant", ipa: "ʃ", name: "Ша", voicing: "voiceless", articulation: "fricative", place: "palatal" },
40
- { char: "ж", id: "zha", charType: "consonant", ipa: "ʒ", name: "Жа", voicing: "voiced", articulation: "fricative", place: "palatal" },
41
- { char: "й", id: "y", charType: "consonant", ipa: "j", name: "Й", voicing: "voiced", articulation: "approximant", place: "palatal" },
42
- { char: "сь", id: "s_soft", charType: "consonant", ipa: "sʲ", name: "Сь", voicing: "voiceless", articulation: "fricative", place: "palatal" },
43
- { char: "зь", id: "z_soft", charType: "consonant", ipa: "zʲ", name: "Зь", voicing: "voiced", articulation: "fricative", place: "palatal" },
44
- { char: "нь", id: "n_soft", charType: "consonant", ipa: "", name: "Нь", voicing: "nasal", articulation: "nasal", place: "palatal" },
45
- { char: "ль", id: "l_soft", charType: "consonant", ipa: "lʲ", name: "Ль", voicing: "lateral", articulation: "lateral", place: "palatal" },
46
- { char: "рь", id: "r_soft", charType: "consonant", ipa: "rʲ", name: "Рь", voicing: "trill", articulation: "trill", place: "palatal" },
47
- // Velar consonants
48
- { char: "к", id: "ka", charType: "consonant", ipa: "k", name: "Ка", voicing: "voiceless", articulation: "stop", place: "velar" },
49
- { char: "г", id: "ha", charType: "consonant", ipa: "ɡ", name: "Га", voicing: "voiced", articulation: "stop", place: "velar" },
50
- { char: "х", id: "kha", charType: "consonant", ipa: "x", name: "Ха", voicing: "voiceless", articulation: "fricative", place: "velar" },
51
- // Glottal
52
- { char: "ў", id: "u_short", charType: "consonant", ipa: "w", name: "Ў", voicing: "approximant", articulation: "approximant", place: "labial" },
53
- // Other consonants
54
- { char: "", id: "d_soft", charType: "consonant", ipa: "dʲ", name: "Дź", voicing: "voiced", articulation: "stop", place: "palatal" },
55
- { char: "ć", id: "t_soft", charType: "consonant", ipa: "tʲ", name: "Ć", voicing: "voiceless", articulation: "stop", place: "palatal" },
56
- { char: "ł", id: "l_foreign", charType: "consonant", ipa: "w", name: "Ł (foreign)", voicing: "lateral", articulation: "lateral", place: "labial" },
57
- { char: "q", id: "q_foreign", charType: "consonant", ipa: "k", name: "Q (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" },
58
- { char: "x", id: "x_foreign", charType: "consonant", ipa: "ks", name: "X (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" }
59
- ], o = [
60
- ...i,
61
- ...c
62
- ];
63
- export {
64
- o as belarusianAllCharacters,
65
- c as belarusianConsonants,
66
- i as belarusianVowels,
67
- e as isConsonant,
68
- n as isVowel
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 n, belarusianConsonants as o, belarusianVowels as e, isConsonant as l, isVowel as r } from "./characters.js";
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",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,12 +17,10 @@
17
17
  "access": "public"
18
18
  },
19
19
  "dependencies": {
20
- "@polyglot-bundles/content-shared": "0.4.1"
20
+ "@polyglot-bundles/content-shared": "0.5.1"
21
21
  },
22
22
  "devDependencies": {
23
- "vite": "^5.4.0",
24
- "vite-plugin-dts": "^4.0.0",
25
- "@polyglot-bundles/lang-tooling": "1.0.0"
23
+ "@polyglot-bundles/lang-tooling": "0.0.0"
26
24
  },
27
25
  "repository": {
28
26
  "type": "git",
@@ -30,7 +28,6 @@
30
28
  "directory": "packages/be/lang"
31
29
  },
32
30
  "scripts": {
33
- "build": "vite build",
34
- "clean": "rm -rf dist"
31
+ "build": "vite build"
35
32
  }
36
33
  }