@polyglot-bundles/gu-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.
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Gujarati Character Types
3
+ *
4
+ * Type definitions for Gujarati characters (Gujarati script).
5
+ * Gujarati has 47 characters: 11 vowels, 36 consonants.
6
+ * Gujarati is an abugida - each consonant has an inherent vowel 'a'.
7
+ */
8
+ /**
9
+ * Base character info
10
+ */
11
+ type GujaratiCharacterBaseInfo = {
12
+ char: string;
13
+ id: string;
14
+ display?: string;
15
+ audio?: string;
16
+ notes?: string;
17
+ };
18
+ /**
19
+ * Gujarati Vowels (Svara)
20
+ */
21
+ export type GujaratiVowelsInfo = {
22
+ charType: "vowel";
23
+ ipa: string;
24
+ name: string;
25
+ length?: "short" | "long";
26
+ } & GujaratiCharacterBaseInfo;
27
+ /**
28
+ * Gujarati Consonants (Vyanjana)
29
+ */
30
+ export type GujaratiConsonantsInfo = {
31
+ charType: "consonant";
32
+ ipa: string;
33
+ name: string;
34
+ articulation: "stop" | "fricative" | "nasal" | "approximant" | "lateral" | "trill";
35
+ voicing: "voiced" | "voiceless" | "nasal" | "lateral" | "approximant" | "trill" | "fricative";
36
+ place: "velar" | "palatal" | "retroflex" | "dental" | "labial" | "glottal";
37
+ } & GujaratiCharacterBaseInfo;
38
+ export type GujaratiCharacter = GujaratiVowelsInfo | GujaratiConsonantsInfo;
39
+ export declare function isVowel(character: GujaratiCharacter): character is GujaratiVowelsInfo;
40
+ export declare function isConsonant(character: GujaratiCharacter): character is GujaratiConsonantsInfo;
41
+ export declare const gujaratiVowels: GujaratiVowelsInfo[];
42
+ export declare const gujaratiConsonants: GujaratiConsonantsInfo[];
43
+ export declare const gujaratiAllCharacters: (GujaratiVowelsInfo | GujaratiConsonantsInfo)[];
44
+ export {};
45
+ //# sourceMappingURL=characters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../src/characters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,KAAK,yBAAyB,GAAG;IAC/B,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;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B,GAAG,yBAAyB,CAAC;AAE9B;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,WAAW,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;IACnF,OAAO,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,WAAW,CAAC;IAC9F,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC5E,GAAG,yBAAyB,CAAC;AAG9B,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAAG,sBAAsB,CAAC;AAG5E,wBAAgB,OAAO,CAAC,SAAS,EAAE,iBAAiB,GAAG,SAAS,IAAI,kBAAkB,CAErF;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,iBAAiB,GAAG,SAAS,IAAI,sBAAsB,CAE7F;AAMD,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAiB9C,CAAC;AAMF,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,EA6CtD,CAAC;AAMF,eAAO,MAAM,qBAAqB,iDAGjC,CAAC"}
@@ -0,0 +1,496 @@
1
+ //#region src/characters.ts
2
+ function e(e) {
3
+ return e.charType === "vowel";
4
+ }
5
+ function t(e) {
6
+ return e.charType === "consonant";
7
+ }
8
+ var n = [
9
+ {
10
+ char: "અ",
11
+ id: "a",
12
+ charType: "vowel",
13
+ ipa: "ə",
14
+ name: "અ",
15
+ length: "short"
16
+ },
17
+ {
18
+ char: "ઋ",
19
+ id: "r",
20
+ charType: "vowel",
21
+ ipa: "rɪ",
22
+ name: "ઋ",
23
+ length: "short"
24
+ },
25
+ {
26
+ char: "અ",
27
+ id: "a_short",
28
+ charType: "vowel",
29
+ ipa: "a",
30
+ name: "અ (short)",
31
+ length: "short"
32
+ },
33
+ {
34
+ char: "ઇ",
35
+ id: "i",
36
+ charType: "vowel",
37
+ ipa: "ɪ",
38
+ name: "ઇ",
39
+ length: "short"
40
+ },
41
+ {
42
+ char: "ઉ",
43
+ id: "u",
44
+ charType: "vowel",
45
+ ipa: "ʊ",
46
+ name: "ઉ",
47
+ length: "short"
48
+ },
49
+ {
50
+ char: "આ",
51
+ id: "aa",
52
+ charType: "vowel",
53
+ ipa: "aː",
54
+ name: "આ",
55
+ length: "long"
56
+ },
57
+ {
58
+ char: "ઈ",
59
+ id: "ii",
60
+ charType: "vowel",
61
+ ipa: "iː",
62
+ name: "ઈ",
63
+ length: "long"
64
+ },
65
+ {
66
+ char: "ઊ",
67
+ id: "uu",
68
+ charType: "vowel",
69
+ ipa: "uː",
70
+ name: "ઊ",
71
+ length: "long"
72
+ },
73
+ {
74
+ char: "એ",
75
+ id: "e",
76
+ charType: "vowel",
77
+ ipa: "ɛː",
78
+ name: "એ",
79
+ length: "long"
80
+ },
81
+ {
82
+ char: "ઓ",
83
+ id: "o",
84
+ charType: "vowel",
85
+ ipa: "ɔː",
86
+ name: "ઓ",
87
+ length: "long"
88
+ },
89
+ {
90
+ char: "ઔ",
91
+ id: "au",
92
+ charType: "vowel",
93
+ ipa: "ɔʊ",
94
+ name: "ઔ",
95
+ length: "short"
96
+ },
97
+ {
98
+ char: "ઐ",
99
+ id: "ai",
100
+ charType: "vowel",
101
+ ipa: "ɛɪ",
102
+ name: "ઐ",
103
+ length: "short"
104
+ },
105
+ {
106
+ char: "અા",
107
+ id: "a_long_mark",
108
+ charType: "vowel",
109
+ ipa: "aː",
110
+ name: "અા (length mark)",
111
+ length: "long"
112
+ }
113
+ ], r = [
114
+ {
115
+ char: "ક",
116
+ id: "ka",
117
+ charType: "consonant",
118
+ ipa: "k",
119
+ name: "ક",
120
+ voicing: "voiceless",
121
+ articulation: "stop",
122
+ place: "velar"
123
+ },
124
+ {
125
+ char: "ખ",
126
+ id: "kha",
127
+ charType: "consonant",
128
+ ipa: "kʰ",
129
+ name: "ખ",
130
+ voicing: "voiceless",
131
+ articulation: "stop",
132
+ place: "velar"
133
+ },
134
+ {
135
+ char: "ગ",
136
+ id: "ga",
137
+ charType: "consonant",
138
+ ipa: "ɡ",
139
+ name: "ગ",
140
+ voicing: "voiced",
141
+ articulation: "stop",
142
+ place: "velar"
143
+ },
144
+ {
145
+ char: "ઘ",
146
+ id: "gha",
147
+ charType: "consonant",
148
+ ipa: "ɡʰ",
149
+ name: "ઘ",
150
+ voicing: "voiced",
151
+ articulation: "stop",
152
+ place: "velar"
153
+ },
154
+ {
155
+ char: "ઙ",
156
+ id: "nga",
157
+ charType: "consonant",
158
+ ipa: "ŋ",
159
+ name: "ઙ",
160
+ voicing: "nasal",
161
+ articulation: "nasal",
162
+ place: "velar"
163
+ },
164
+ {
165
+ char: "ચ",
166
+ id: "cha",
167
+ charType: "consonant",
168
+ ipa: "tʃ",
169
+ name: "ચ",
170
+ voicing: "voiceless",
171
+ articulation: "stop",
172
+ place: "palatal"
173
+ },
174
+ {
175
+ char: "છ",
176
+ id: "chha",
177
+ charType: "consonant",
178
+ ipa: "tʃʰ",
179
+ name: "છ",
180
+ voicing: "voiceless",
181
+ articulation: "stop",
182
+ place: "palatal"
183
+ },
184
+ {
185
+ char: "જ",
186
+ id: "ja",
187
+ charType: "consonant",
188
+ ipa: "dʒ",
189
+ name: "જ",
190
+ voicing: "voiced",
191
+ articulation: "stop",
192
+ place: "palatal"
193
+ },
194
+ {
195
+ char: "ઝ",
196
+ id: "jha",
197
+ charType: "consonant",
198
+ ipa: "dʒʰ",
199
+ name: "ઝ",
200
+ voicing: "voiced",
201
+ articulation: "stop",
202
+ place: "palatal"
203
+ },
204
+ {
205
+ char: "ઙ",
206
+ id: "nya",
207
+ charType: "consonant",
208
+ ipa: "ɲ",
209
+ name: "ઙ",
210
+ voicing: "nasal",
211
+ articulation: "nasal",
212
+ place: "palatal"
213
+ },
214
+ {
215
+ char: "ટ",
216
+ id: "tta",
217
+ charType: "consonant",
218
+ ipa: "ʈ",
219
+ name: "ટ",
220
+ voicing: "voiceless",
221
+ articulation: "stop",
222
+ place: "retroflex"
223
+ },
224
+ {
225
+ char: "ઠ",
226
+ id: "ttha",
227
+ charType: "consonant",
228
+ ipa: "ʈʰ",
229
+ name: "ઠ",
230
+ voicing: "voiceless",
231
+ articulation: "stop",
232
+ place: "retroflex"
233
+ },
234
+ {
235
+ char: "ડ",
236
+ id: "dda",
237
+ charType: "consonant",
238
+ ipa: "ɖ",
239
+ name: "ડ",
240
+ voicing: "voiced",
241
+ articulation: "stop",
242
+ place: "retroflex"
243
+ },
244
+ {
245
+ char: "ઢ",
246
+ id: "ddha",
247
+ charType: "consonant",
248
+ ipa: "ɖʰ",
249
+ name: "ઢ",
250
+ voicing: "voiced",
251
+ articulation: "stop",
252
+ place: "retroflex"
253
+ },
254
+ {
255
+ char: "ણ",
256
+ id: "nna",
257
+ charType: "consonant",
258
+ ipa: "ɳ",
259
+ name: "ણ",
260
+ voicing: "nasal",
261
+ articulation: "nasal",
262
+ place: "retroflex"
263
+ },
264
+ {
265
+ char: "ત",
266
+ id: "ta",
267
+ charType: "consonant",
268
+ ipa: "t",
269
+ name: "ત",
270
+ voicing: "voiceless",
271
+ articulation: "stop",
272
+ place: "dental"
273
+ },
274
+ {
275
+ char: "થ",
276
+ id: "tha",
277
+ charType: "consonant",
278
+ ipa: "tʰ",
279
+ name: "થ",
280
+ voicing: "voiceless",
281
+ articulation: "stop",
282
+ place: "dental"
283
+ },
284
+ {
285
+ char: "દ",
286
+ id: "da",
287
+ charType: "consonant",
288
+ ipa: "d",
289
+ name: "દ",
290
+ voicing: "voiced",
291
+ articulation: "stop",
292
+ place: "dental"
293
+ },
294
+ {
295
+ char: "ધ",
296
+ id: "dha",
297
+ charType: "consonant",
298
+ ipa: "dʰ",
299
+ name: "ધ",
300
+ voicing: "voiced",
301
+ articulation: "stop",
302
+ place: "dental"
303
+ },
304
+ {
305
+ char: "ન",
306
+ id: "na",
307
+ charType: "consonant",
308
+ ipa: "n",
309
+ name: "ન",
310
+ voicing: "nasal",
311
+ articulation: "nasal",
312
+ place: "dental"
313
+ },
314
+ {
315
+ char: "પ",
316
+ id: "pa",
317
+ charType: "consonant",
318
+ ipa: "p",
319
+ name: "પ",
320
+ voicing: "voiceless",
321
+ articulation: "stop",
322
+ place: "labial"
323
+ },
324
+ {
325
+ char: "ફ",
326
+ id: "pha",
327
+ charType: "consonant",
328
+ ipa: "pʰ",
329
+ name: "ફ",
330
+ voicing: "voiceless",
331
+ articulation: "stop",
332
+ place: "labial"
333
+ },
334
+ {
335
+ char: "બ",
336
+ id: "ba",
337
+ charType: "consonant",
338
+ ipa: "b",
339
+ name: "બ",
340
+ voicing: "voiced",
341
+ articulation: "stop",
342
+ place: "labial"
343
+ },
344
+ {
345
+ char: "ભ",
346
+ id: "bha",
347
+ charType: "consonant",
348
+ ipa: "bʰ",
349
+ name: "ભ",
350
+ voicing: "voiced",
351
+ articulation: "stop",
352
+ place: "labial"
353
+ },
354
+ {
355
+ char: "મ",
356
+ id: "ma",
357
+ charType: "consonant",
358
+ ipa: "m",
359
+ name: "મ",
360
+ voicing: "nasal",
361
+ articulation: "nasal",
362
+ place: "labial"
363
+ },
364
+ {
365
+ char: "ય",
366
+ id: "ya",
367
+ charType: "consonant",
368
+ ipa: "j",
369
+ name: "ય",
370
+ voicing: "approximant",
371
+ articulation: "approximant",
372
+ place: "palatal"
373
+ },
374
+ {
375
+ char: "ર",
376
+ id: "ra",
377
+ charType: "consonant",
378
+ ipa: "r",
379
+ name: "ર",
380
+ voicing: "trill",
381
+ articulation: "trill",
382
+ place: "retroflex"
383
+ },
384
+ {
385
+ char: "લ",
386
+ id: "la",
387
+ charType: "consonant",
388
+ ipa: "l",
389
+ name: "લ",
390
+ voicing: "lateral",
391
+ articulation: "lateral",
392
+ place: "dental"
393
+ },
394
+ {
395
+ char: "વ",
396
+ id: "va",
397
+ charType: "consonant",
398
+ ipa: "ʋ",
399
+ name: "વ",
400
+ voicing: "approximant",
401
+ articulation: "approximant",
402
+ place: "labial"
403
+ },
404
+ {
405
+ char: "શ",
406
+ id: "sha",
407
+ charType: "consonant",
408
+ ipa: "ʃ",
409
+ name: "શ",
410
+ voicing: "voiceless",
411
+ articulation: "fricative",
412
+ place: "palatal"
413
+ },
414
+ {
415
+ char: "ષ",
416
+ id: "ssa",
417
+ charType: "consonant",
418
+ ipa: "ʂ",
419
+ name: "ષ",
420
+ voicing: "voiceless",
421
+ articulation: "fricative",
422
+ place: "retroflex"
423
+ },
424
+ {
425
+ char: "સ",
426
+ id: "sa",
427
+ charType: "consonant",
428
+ ipa: "s",
429
+ name: "સ",
430
+ voicing: "voiceless",
431
+ articulation: "fricative",
432
+ place: "dental"
433
+ },
434
+ {
435
+ char: "હ",
436
+ id: "ha",
437
+ charType: "consonant",
438
+ ipa: "h",
439
+ name: "હ",
440
+ voicing: "voiceless",
441
+ articulation: "fricative",
442
+ place: "glottal"
443
+ },
444
+ {
445
+ char: "ળ",
446
+ id: "lla",
447
+ charType: "consonant",
448
+ ipa: "ɭ",
449
+ name: "ળ",
450
+ voicing: "lateral",
451
+ articulation: "lateral",
452
+ place: "retroflex"
453
+ },
454
+ {
455
+ char: "ક્ષ",
456
+ id: "ksha",
457
+ charType: "consonant",
458
+ ipa: "kʃ",
459
+ name: "ક્ષ",
460
+ voicing: "voiceless",
461
+ articulation: "stop",
462
+ place: "velar"
463
+ },
464
+ {
465
+ char: "જ્ઞ",
466
+ id: "gya",
467
+ charType: "consonant",
468
+ ipa: "dʒɲ",
469
+ name: "જ્ઞ",
470
+ voicing: "voiced",
471
+ articulation: "stop",
472
+ place: "palatal"
473
+ },
474
+ {
475
+ char: "ફ",
476
+ id: "fa_foreign",
477
+ charType: "consonant",
478
+ ipa: "f",
479
+ name: "ફ (foreign)",
480
+ voicing: "voiceless",
481
+ articulation: "fricative",
482
+ place: "labial"
483
+ },
484
+ {
485
+ char: "ઝ",
486
+ id: "zha_foreign",
487
+ charType: "consonant",
488
+ ipa: "z",
489
+ name: "ઝ (foreign)",
490
+ voicing: "voiced",
491
+ articulation: "fricative",
492
+ place: "palatal"
493
+ }
494
+ ], i = [...n, ...r];
495
+ //#endregion
496
+ export { i as gujaratiAllCharacters, r as gujaratiConsonants, n as gujaratiVowels, t as isConsonant, e as isVowel };
@@ -0,0 +1,2 @@
1
+ export { gujaratiVowels, gujaratiConsonants, gujaratiAllCharacters, type GujaratiVowelsInfo, type GujaratiConsonantsInfo, type GujaratiCharacter, isVowel, isConsonant, } from './characters.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,OAAO,EACP,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import { gujaratiAllCharacters as e, gujaratiConsonants as t, gujaratiVowels as n, isConsonant as r, isVowel as i } from "./characters.js";
2
+ export { e as gujaratiAllCharacters, t as gujaratiConsonants, n as gujaratiVowels, r as isConsonant, i as isVowel };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { SoundCharacter, LanguageSoundsConfig } from '@polyglot-bundles/content-shared';
2
+ /**
3
+ * Gujarati sound categories for the language-sounds tool.
4
+ *
5
+ * Sourced from Wikipedia's Gujarati phonology article
6
+ * (https://en.wikipedia.org/wiki/Gujarati_phonology). Indic four-way
7
+ * stop contrast (per playbook P3, aspirated and breathy each in their
8
+ * own red category — same pattern as Bengali).
9
+ *
10
+ * 8 oral vowels + 6 nasalized (nasalization phonemic; /e/ and /o/ lack
11
+ * nasalized counterparts).
12
+ */
13
+ export declare const guPlainConsonants: SoundCharacter[];
14
+ export declare const guAspiratedConsonants: SoundCharacter[];
15
+ export declare const guBreathyConsonants: SoundCharacter[];
16
+ export declare const guOralVowels: SoundCharacter[];
17
+ export declare const guNasalizedVowels: SoundCharacter[];
18
+ export declare const gujaratiSoundsConfig: LanguageSoundsConfig;
19
+ //# sourceMappingURL=sounds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sounds.d.ts","sourceRoot":"","sources":["../src/sounds.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAC1B,MAAM,kCAAkC,CAAC;AAE1C;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAsB7C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAAc,EAMjD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,cAAc,EAM/C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAAc,EASxC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAO7C,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,oBAwClC,CAAC"}
package/dist/sounds.js ADDED
@@ -0,0 +1,319 @@
1
+ //#region src/sounds.ts
2
+ var e = [
3
+ {
4
+ char: "પ",
5
+ id: "p",
6
+ charType: "consonant",
7
+ ipa: "p"
8
+ },
9
+ {
10
+ char: "બ",
11
+ id: "b",
12
+ charType: "consonant",
13
+ ipa: "b"
14
+ },
15
+ {
16
+ char: "ત",
17
+ id: "t_dental",
18
+ charType: "consonant",
19
+ ipa: "t"
20
+ },
21
+ {
22
+ char: "દ",
23
+ id: "d_dental",
24
+ charType: "consonant",
25
+ ipa: "d"
26
+ },
27
+ {
28
+ char: "ટ",
29
+ id: "t_retroflex",
30
+ charType: "consonant",
31
+ ipa: "ʈ"
32
+ },
33
+ {
34
+ char: "ડ",
35
+ id: "d_retroflex",
36
+ charType: "consonant",
37
+ ipa: "ɖ"
38
+ },
39
+ {
40
+ char: "ચ",
41
+ id: "ch",
42
+ charType: "consonant",
43
+ ipa: "tʃ"
44
+ },
45
+ {
46
+ char: "જ",
47
+ id: "j",
48
+ charType: "consonant",
49
+ ipa: "dʒ"
50
+ },
51
+ {
52
+ char: "ક",
53
+ id: "k",
54
+ charType: "consonant",
55
+ ipa: "k"
56
+ },
57
+ {
58
+ char: "ગ",
59
+ id: "g",
60
+ charType: "consonant",
61
+ ipa: "ɡ"
62
+ },
63
+ {
64
+ char: "મ",
65
+ id: "m",
66
+ charType: "consonant",
67
+ ipa: "m"
68
+ },
69
+ {
70
+ char: "ન",
71
+ id: "n",
72
+ charType: "consonant",
73
+ ipa: "n"
74
+ },
75
+ {
76
+ char: "ણ",
77
+ id: "n_retroflex",
78
+ charType: "consonant",
79
+ ipa: "ɳ"
80
+ },
81
+ {
82
+ char: "સ",
83
+ id: "s",
84
+ charType: "consonant",
85
+ ipa: "s"
86
+ },
87
+ {
88
+ char: "શ",
89
+ id: "sh",
90
+ charType: "consonant",
91
+ ipa: "ʃ"
92
+ },
93
+ {
94
+ char: "હ",
95
+ id: "h",
96
+ charType: "consonant",
97
+ ipa: "ɦ"
98
+ },
99
+ {
100
+ char: "વ",
101
+ id: "v",
102
+ charType: "consonant",
103
+ ipa: "ʋ"
104
+ },
105
+ {
106
+ char: "લ",
107
+ id: "l",
108
+ charType: "consonant",
109
+ ipa: "l"
110
+ },
111
+ {
112
+ char: "ળ",
113
+ id: "l_retroflex",
114
+ charType: "consonant",
115
+ ipa: "ɭ"
116
+ },
117
+ {
118
+ char: "ય",
119
+ id: "y",
120
+ charType: "consonant",
121
+ ipa: "j"
122
+ },
123
+ {
124
+ char: "ર",
125
+ id: "r",
126
+ charType: "consonant",
127
+ ipa: "ɾ"
128
+ }
129
+ ], t = [
130
+ {
131
+ char: "ફ",
132
+ id: "p_asp",
133
+ charType: "consonant",
134
+ ipa: "pʰ"
135
+ },
136
+ {
137
+ char: "થ",
138
+ id: "t_dental_asp",
139
+ charType: "consonant",
140
+ ipa: "tʰ"
141
+ },
142
+ {
143
+ char: "ઠ",
144
+ id: "t_retroflex_asp",
145
+ charType: "consonant",
146
+ ipa: "ʈʰ"
147
+ },
148
+ {
149
+ char: "છ",
150
+ id: "ch_asp",
151
+ charType: "consonant",
152
+ ipa: "tʃʰ"
153
+ },
154
+ {
155
+ char: "ખ",
156
+ id: "k_asp",
157
+ charType: "consonant",
158
+ ipa: "kʰ"
159
+ }
160
+ ], n = [
161
+ {
162
+ char: "ભ",
163
+ id: "b_breathy",
164
+ charType: "consonant",
165
+ ipa: "bʱ"
166
+ },
167
+ {
168
+ char: "ધ",
169
+ id: "d_dental_breathy",
170
+ charType: "consonant",
171
+ ipa: "dʱ"
172
+ },
173
+ {
174
+ char: "ઢ",
175
+ id: "d_retroflex_breathy",
176
+ charType: "consonant",
177
+ ipa: "ɖʱ"
178
+ },
179
+ {
180
+ char: "ઝ",
181
+ id: "j_breathy",
182
+ charType: "consonant",
183
+ ipa: "dʒʱ"
184
+ },
185
+ {
186
+ char: "ઘ",
187
+ id: "g_breathy",
188
+ charType: "consonant",
189
+ ipa: "ɡʱ"
190
+ }
191
+ ], r = [
192
+ {
193
+ char: "ઇ",
194
+ id: "i",
195
+ charType: "vowel",
196
+ ipa: "i"
197
+ },
198
+ {
199
+ char: "એ",
200
+ id: "e",
201
+ charType: "vowel",
202
+ ipa: "e"
203
+ },
204
+ {
205
+ char: "ઍ",
206
+ id: "ae",
207
+ charType: "vowel",
208
+ ipa: "ɛ"
209
+ },
210
+ {
211
+ char: "અ",
212
+ id: "schwa",
213
+ charType: "vowel",
214
+ ipa: "ə"
215
+ },
216
+ {
217
+ char: "આ",
218
+ id: "a",
219
+ charType: "vowel",
220
+ ipa: "ɑ"
221
+ },
222
+ {
223
+ char: "ઑ",
224
+ id: "open_o",
225
+ charType: "vowel",
226
+ ipa: "ɔ"
227
+ },
228
+ {
229
+ char: "ઓ",
230
+ id: "o",
231
+ charType: "vowel",
232
+ ipa: "o"
233
+ },
234
+ {
235
+ char: "ઉ",
236
+ id: "u",
237
+ charType: "vowel",
238
+ ipa: "u"
239
+ }
240
+ ], i = [
241
+ {
242
+ char: "ઇઁ",
243
+ id: "i_nasal",
244
+ charType: "vowel",
245
+ ipa: "ĩ"
246
+ },
247
+ {
248
+ char: "ઍઁ",
249
+ id: "ae_nasal",
250
+ charType: "vowel",
251
+ ipa: "ɛ̃"
252
+ },
253
+ {
254
+ char: "અઁ",
255
+ id: "schwa_nasal",
256
+ charType: "vowel",
257
+ ipa: "ə̃"
258
+ },
259
+ {
260
+ char: "આઁ",
261
+ id: "a_nasal",
262
+ charType: "vowel",
263
+ ipa: "ɑ̃"
264
+ },
265
+ {
266
+ char: "ઑઁ",
267
+ id: "open_o_nasal",
268
+ charType: "vowel",
269
+ ipa: "ɔ̃"
270
+ },
271
+ {
272
+ char: "ઉઁ",
273
+ id: "u_nasal",
274
+ charType: "vowel",
275
+ ipa: "ũ"
276
+ }
277
+ ], a = {
278
+ categories: [
279
+ {
280
+ id: "consonants",
281
+ label: "Consonants",
282
+ sounds: e,
283
+ charType: "consonant",
284
+ color: "blue"
285
+ },
286
+ {
287
+ id: "aspirated",
288
+ label: "Aspirated Stops",
289
+ sounds: t,
290
+ charType: "consonant",
291
+ color: "red"
292
+ },
293
+ {
294
+ id: "breathy",
295
+ label: "Breathy-Voiced Stops",
296
+ sounds: n,
297
+ charType: "consonant",
298
+ color: "red"
299
+ },
300
+ {
301
+ id: "vowels",
302
+ label: "Oral Vowels",
303
+ sounds: r,
304
+ charType: "vowel",
305
+ color: "green"
306
+ },
307
+ {
308
+ id: "nasalized-vowels",
309
+ label: "Nasalized Vowels",
310
+ sounds: i,
311
+ charType: "vowel",
312
+ color: "red"
313
+ }
314
+ ],
315
+ audioBasePath: "/audio/gujarati",
316
+ audioFilePattern: "{id}.mp3"
317
+ };
318
+ //#endregion
319
+ export { t as guAspiratedConsonants, n as guBreathyConsonants, i as guNasalizedVowels, r as guOralVowels, e as guPlainConsonants, a as gujaratiSoundsConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/gu-lang",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Gujarati language foundation data - characters, sounds, and pronunciation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "vite-plugin-dts": "^4.5.4",
38
38
  "vitest": "^4.1.4",
39
39
  "@polyglot-bundles/lang-tooling": "0.0.0",
40
- "@polyglot-bundles/content-shared": "0.7.0"
40
+ "@polyglot-bundles/content-shared": "0.7.1"
41
41
  },
42
42
  "repository": {
43
43
  "type": "git",