@polyglot-bundles/ne-lang 0.5.0 → 0.5.2

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,44 @@
1
+ /**
2
+ * Nepali Character Types
3
+ *
4
+ * Type definitions for Nepali characters (Devanagari script).
5
+ * Nepali has 47 characters: 11 vowels, 36 consonants.
6
+ */
7
+ /**
8
+ * Base character info
9
+ */
10
+ type NepaliCharacterBaseInfo = {
11
+ char: string;
12
+ id: string;
13
+ display?: string;
14
+ audio?: string;
15
+ notes?: string;
16
+ };
17
+ /**
18
+ * Nepali Vowels (Swaraku)
19
+ */
20
+ export type NepaliVowelsInfo = {
21
+ charType: "vowel";
22
+ ipa: string;
23
+ name: string;
24
+ length?: "short" | "long";
25
+ } & NepaliCharacterBaseInfo;
26
+ /**
27
+ * Nepali Consonants (Vyanjanaku)
28
+ */
29
+ export type NepaliConsonantsInfo = {
30
+ charType: "consonant";
31
+ ipa: string;
32
+ name: string;
33
+ articulation: "stop" | "fricative" | "nasal" | "approximant" | "lateral" | "trill";
34
+ voicing: "voiced" | "voiceless" | "nasal" | "lateral" | "approximant" | "trill" | "fricative";
35
+ place: "velar" | "palatal" | "retroflex" | "dental" | "labial" | "glottal";
36
+ } & NepaliCharacterBaseInfo;
37
+ export type NepaliCharacter = NepaliVowelsInfo | NepaliConsonantsInfo;
38
+ export declare function isVowel(character: NepaliCharacter): character is NepaliVowelsInfo;
39
+ export declare function isConsonant(character: NepaliCharacter): character is NepaliConsonantsInfo;
40
+ export declare const nepaliVowels: NepaliVowelsInfo[];
41
+ export declare const nepaliConsonants: NepaliConsonantsInfo[];
42
+ export declare const nepaliAllCharacters: (NepaliVowelsInfo | NepaliConsonantsInfo)[];
43
+ export {};
44
+ //# sourceMappingURL=characters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../src/characters.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,KAAK,uBAAuB,GAAG;IAC7B,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,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B,GAAG,uBAAuB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,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,uBAAuB,CAAC;AAG5B,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAGtE,wBAAgB,OAAO,CAAC,SAAS,EAAE,eAAe,GAAG,SAAS,IAAI,gBAAgB,CAEjF;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,eAAe,GAAG,SAAS,IAAI,oBAAoB,CAEzF;AAMD,eAAO,MAAM,YAAY,EAAE,gBAAgB,EAuB1C,CAAC;AAMF,eAAO,MAAM,gBAAgB,EAAE,oBAAoB,EAqDlD,CAAC;AAMF,eAAO,MAAM,mBAAmB,6CAG/B,CAAC"}
@@ -0,0 +1,614 @@
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: "i",
20
+ charType: "vowel",
21
+ ipa: "ɪ",
22
+ name: "इ",
23
+ length: "short"
24
+ },
25
+ {
26
+ char: "उ",
27
+ id: "u",
28
+ charType: "vowel",
29
+ ipa: "ʊ",
30
+ name: "उ",
31
+ length: "short"
32
+ },
33
+ {
34
+ char: "आ",
35
+ id: "aa",
36
+ charType: "vowel",
37
+ ipa: "aː",
38
+ name: "आ",
39
+ length: "long"
40
+ },
41
+ {
42
+ char: "ई",
43
+ id: "ii",
44
+ charType: "vowel",
45
+ ipa: "iː",
46
+ name: "ई",
47
+ length: "long"
48
+ },
49
+ {
50
+ char: "ऊ",
51
+ id: "uu",
52
+ charType: "vowel",
53
+ ipa: "uː",
54
+ name: "ऊ",
55
+ length: "long"
56
+ },
57
+ {
58
+ char: "ए",
59
+ id: "e",
60
+ charType: "vowel",
61
+ ipa: "ɛ",
62
+ name: "ए",
63
+ length: "short"
64
+ },
65
+ {
66
+ char: "ओ",
67
+ id: "o",
68
+ charType: "vowel",
69
+ ipa: "ɔ",
70
+ name: "ओ",
71
+ length: "short"
72
+ },
73
+ {
74
+ char: "औ",
75
+ id: "au",
76
+ charType: "vowel",
77
+ ipa: "ɔʊ",
78
+ name: "औ",
79
+ length: "short"
80
+ },
81
+ {
82
+ char: "ऐ",
83
+ id: "ai",
84
+ charType: "vowel",
85
+ ipa: "ɛɪ",
86
+ name: "ऐ",
87
+ length: "short"
88
+ },
89
+ {
90
+ char: "ा",
91
+ id: "aa_matra",
92
+ charType: "vowel",
93
+ ipa: "aː",
94
+ name: "ा (aa matra)",
95
+ length: "long"
96
+ },
97
+ {
98
+ char: "ि",
99
+ id: "i_matra",
100
+ charType: "vowel",
101
+ ipa: "i",
102
+ name: "ि (i matra)",
103
+ length: "short"
104
+ },
105
+ {
106
+ char: "ी",
107
+ id: "ii_matra",
108
+ charType: "vowel",
109
+ ipa: "iː",
110
+ name: "ी (ii matra)",
111
+ length: "long"
112
+ },
113
+ {
114
+ char: "ु",
115
+ id: "u_matra",
116
+ charType: "vowel",
117
+ ipa: "u",
118
+ name: "ु (u matra)",
119
+ length: "short"
120
+ },
121
+ {
122
+ char: "ू",
123
+ id: "uu_matra",
124
+ charType: "vowel",
125
+ ipa: "uː",
126
+ name: "ू (uu matra)",
127
+ length: "long"
128
+ },
129
+ {
130
+ char: "े",
131
+ id: "e_matra",
132
+ charType: "vowel",
133
+ ipa: "ɛ",
134
+ name: "े (e matra)",
135
+ length: "short"
136
+ },
137
+ {
138
+ char: "ो",
139
+ id: "o_matra",
140
+ charType: "vowel",
141
+ ipa: "ɔ",
142
+ name: "ो (o matra)",
143
+ length: "short"
144
+ },
145
+ {
146
+ char: "ौ",
147
+ id: "au_matra",
148
+ charType: "vowel",
149
+ ipa: "ɔʊ",
150
+ name: "ौ (au matra)",
151
+ length: "short"
152
+ },
153
+ {
154
+ char: "ै",
155
+ id: "ai_matra",
156
+ charType: "vowel",
157
+ ipa: "ɛɪ",
158
+ name: "ै (ai matra)",
159
+ length: "short"
160
+ }
161
+ ], r = [
162
+ {
163
+ char: "क",
164
+ id: "ka",
165
+ charType: "consonant",
166
+ ipa: "k",
167
+ name: "क",
168
+ voicing: "voiceless",
169
+ articulation: "stop",
170
+ place: "velar"
171
+ },
172
+ {
173
+ char: "ख",
174
+ id: "kha",
175
+ charType: "consonant",
176
+ ipa: "kʰ",
177
+ name: "ख",
178
+ voicing: "voiceless",
179
+ articulation: "stop",
180
+ place: "velar"
181
+ },
182
+ {
183
+ char: "ग",
184
+ id: "ga",
185
+ charType: "consonant",
186
+ ipa: "ɡ",
187
+ name: "ग",
188
+ voicing: "voiced",
189
+ articulation: "stop",
190
+ place: "velar"
191
+ },
192
+ {
193
+ char: "घ",
194
+ id: "gha",
195
+ charType: "consonant",
196
+ ipa: "ɡʰ",
197
+ name: "घ",
198
+ voicing: "voiced",
199
+ articulation: "stop",
200
+ place: "velar"
201
+ },
202
+ {
203
+ char: "ङ",
204
+ id: "nga",
205
+ charType: "consonant",
206
+ ipa: "ŋ",
207
+ name: "ङ",
208
+ voicing: "nasal",
209
+ articulation: "nasal",
210
+ place: "velar"
211
+ },
212
+ {
213
+ char: "च",
214
+ id: "cha",
215
+ charType: "consonant",
216
+ ipa: "tʃ",
217
+ name: "च",
218
+ voicing: "voiceless",
219
+ articulation: "stop",
220
+ place: "palatal"
221
+ },
222
+ {
223
+ char: "छ",
224
+ id: "chha",
225
+ charType: "consonant",
226
+ ipa: "tʃʰ",
227
+ name: "छ",
228
+ voicing: "voiceless",
229
+ articulation: "stop",
230
+ place: "palatal"
231
+ },
232
+ {
233
+ char: "ज",
234
+ id: "ja",
235
+ charType: "consonant",
236
+ ipa: "dʒ",
237
+ name: "ज",
238
+ voicing: "voiced",
239
+ articulation: "stop",
240
+ place: "palatal"
241
+ },
242
+ {
243
+ char: "झ",
244
+ id: "jha",
245
+ charType: "consonant",
246
+ ipa: "dʒʰ",
247
+ name: "झ",
248
+ voicing: "voiced",
249
+ articulation: "stop",
250
+ place: "palatal"
251
+ },
252
+ {
253
+ char: "ञ",
254
+ id: "nya",
255
+ charType: "consonant",
256
+ ipa: "ɲ",
257
+ name: "ञ",
258
+ voicing: "nasal",
259
+ articulation: "nasal",
260
+ place: "palatal"
261
+ },
262
+ {
263
+ char: "ट",
264
+ id: "tta",
265
+ charType: "consonant",
266
+ ipa: "ʈ",
267
+ name: "ट",
268
+ voicing: "voiceless",
269
+ articulation: "stop",
270
+ place: "retroflex"
271
+ },
272
+ {
273
+ char: "ठ",
274
+ id: "ttha",
275
+ charType: "consonant",
276
+ ipa: "ʈʰ",
277
+ name: "ठ",
278
+ voicing: "voiceless",
279
+ articulation: "stop",
280
+ place: "retroflex"
281
+ },
282
+ {
283
+ char: "ड",
284
+ id: "dda",
285
+ charType: "consonant",
286
+ ipa: "ɖ",
287
+ name: "ड",
288
+ voicing: "voiced",
289
+ articulation: "stop",
290
+ place: "retroflex"
291
+ },
292
+ {
293
+ char: "ढ",
294
+ id: "ddha",
295
+ charType: "consonant",
296
+ ipa: "ɖʰ",
297
+ name: "ढ",
298
+ voicing: "voiced",
299
+ articulation: "stop",
300
+ place: "retroflex"
301
+ },
302
+ {
303
+ char: "ण",
304
+ id: "nna",
305
+ charType: "consonant",
306
+ ipa: "ɳ",
307
+ name: "ण",
308
+ voicing: "nasal",
309
+ articulation: "nasal",
310
+ place: "retroflex"
311
+ },
312
+ {
313
+ char: "त",
314
+ id: "ta",
315
+ charType: "consonant",
316
+ ipa: "t",
317
+ name: "त",
318
+ voicing: "voiceless",
319
+ articulation: "stop",
320
+ place: "dental"
321
+ },
322
+ {
323
+ char: "थ",
324
+ id: "tha",
325
+ charType: "consonant",
326
+ ipa: "tʰ",
327
+ name: "थ",
328
+ voicing: "voiceless",
329
+ articulation: "stop",
330
+ place: "dental"
331
+ },
332
+ {
333
+ char: "द",
334
+ id: "da",
335
+ charType: "consonant",
336
+ ipa: "d",
337
+ name: "द",
338
+ voicing: "voiced",
339
+ articulation: "stop",
340
+ place: "dental"
341
+ },
342
+ {
343
+ char: "ध",
344
+ id: "dha",
345
+ charType: "consonant",
346
+ ipa: "dʰ",
347
+ name: "ध",
348
+ voicing: "voiced",
349
+ articulation: "stop",
350
+ place: "dental"
351
+ },
352
+ {
353
+ char: "न",
354
+ id: "na",
355
+ charType: "consonant",
356
+ ipa: "n",
357
+ name: "न",
358
+ voicing: "nasal",
359
+ articulation: "nasal",
360
+ place: "dental"
361
+ },
362
+ {
363
+ char: "प",
364
+ id: "pa",
365
+ charType: "consonant",
366
+ ipa: "p",
367
+ name: "प",
368
+ voicing: "voiceless",
369
+ articulation: "stop",
370
+ place: "labial"
371
+ },
372
+ {
373
+ char: "फ",
374
+ id: "pha",
375
+ charType: "consonant",
376
+ ipa: "pʰ",
377
+ name: "फ",
378
+ voicing: "voiceless",
379
+ articulation: "stop",
380
+ place: "labial"
381
+ },
382
+ {
383
+ char: "ब",
384
+ id: "ba",
385
+ charType: "consonant",
386
+ ipa: "b",
387
+ name: "ब",
388
+ voicing: "voiced",
389
+ articulation: "stop",
390
+ place: "labial"
391
+ },
392
+ {
393
+ char: "भ",
394
+ id: "bha",
395
+ charType: "consonant",
396
+ ipa: "bʰ",
397
+ name: "भ",
398
+ voicing: "voiced",
399
+ articulation: "stop",
400
+ place: "labial"
401
+ },
402
+ {
403
+ char: "म",
404
+ id: "ma",
405
+ charType: "consonant",
406
+ ipa: "m",
407
+ name: "म",
408
+ voicing: "nasal",
409
+ articulation: "nasal",
410
+ place: "labial"
411
+ },
412
+ {
413
+ char: "य",
414
+ id: "ya",
415
+ charType: "consonant",
416
+ ipa: "j",
417
+ name: "य",
418
+ voicing: "approximant",
419
+ articulation: "approximant",
420
+ place: "palatal"
421
+ },
422
+ {
423
+ char: "र",
424
+ id: "ra",
425
+ charType: "consonant",
426
+ ipa: "r",
427
+ name: "र",
428
+ voicing: "trill",
429
+ articulation: "trill",
430
+ place: "retroflex"
431
+ },
432
+ {
433
+ char: "ल",
434
+ id: "la",
435
+ charType: "consonant",
436
+ ipa: "l",
437
+ name: "ल",
438
+ voicing: "lateral",
439
+ articulation: "lateral",
440
+ place: "dental"
441
+ },
442
+ {
443
+ char: "व",
444
+ id: "va",
445
+ charType: "consonant",
446
+ ipa: "ʋ",
447
+ name: "व",
448
+ voicing: "approximant",
449
+ articulation: "approximant",
450
+ place: "labial"
451
+ },
452
+ {
453
+ char: "श",
454
+ id: "sha",
455
+ charType: "consonant",
456
+ ipa: "ʃ",
457
+ name: "श",
458
+ voicing: "voiceless",
459
+ articulation: "fricative",
460
+ place: "palatal"
461
+ },
462
+ {
463
+ char: "ष",
464
+ id: "ssa",
465
+ charType: "consonant",
466
+ ipa: "ʂ",
467
+ name: "ष",
468
+ voicing: "voiceless",
469
+ articulation: "fricative",
470
+ place: "retroflex"
471
+ },
472
+ {
473
+ char: "स",
474
+ id: "sa",
475
+ charType: "consonant",
476
+ ipa: "s",
477
+ name: "स",
478
+ voicing: "voiceless",
479
+ articulation: "fricative",
480
+ place: "dental"
481
+ },
482
+ {
483
+ char: "ह",
484
+ id: "ha",
485
+ charType: "consonant",
486
+ ipa: "h",
487
+ name: "ह",
488
+ voicing: "voiceless",
489
+ articulation: "fricative",
490
+ place: "glottal"
491
+ },
492
+ {
493
+ char: "ळ",
494
+ id: "lla",
495
+ charType: "consonant",
496
+ ipa: "ɭ",
497
+ name: "ळ",
498
+ voicing: "lateral",
499
+ articulation: "lateral",
500
+ place: "retroflex"
501
+ },
502
+ {
503
+ char: "क्ष",
504
+ id: "ksha",
505
+ charType: "consonant",
506
+ ipa: "kʃ",
507
+ name: "क्ष",
508
+ voicing: "voiceless",
509
+ articulation: "stop",
510
+ place: "velar"
511
+ },
512
+ {
513
+ char: "ज्ञ",
514
+ id: "gya",
515
+ charType: "consonant",
516
+ ipa: "dʒɲ",
517
+ name: "ज्ञ",
518
+ voicing: "voiced",
519
+ articulation: "stop",
520
+ place: "palatal"
521
+ },
522
+ {
523
+ char: "ऱ",
524
+ id: "rra",
525
+ charType: "consonant",
526
+ ipa: "ɽ",
527
+ name: "ऱ",
528
+ voicing: "trill",
529
+ articulation: "trill",
530
+ place: "retroflex"
531
+ },
532
+ {
533
+ char: "ऴ",
534
+ id: "lla_palatal",
535
+ charType: "consonant",
536
+ ipa: "ʎ",
537
+ name: "ऴ",
538
+ voicing: "lateral",
539
+ articulation: "lateral",
540
+ place: "palatal"
541
+ },
542
+ {
543
+ char: "फ़",
544
+ id: "fa",
545
+ charType: "consonant",
546
+ ipa: "f",
547
+ name: "फ़",
548
+ voicing: "voiceless",
549
+ articulation: "fricative",
550
+ place: "labial"
551
+ },
552
+ {
553
+ char: "ज़",
554
+ id: "za",
555
+ charType: "consonant",
556
+ ipa: "z",
557
+ name: "ज़",
558
+ voicing: "voiced",
559
+ articulation: "fricative",
560
+ place: "palatal"
561
+ },
562
+ {
563
+ char: "ख़",
564
+ id: "kha_farsi",
565
+ charType: "consonant",
566
+ ipa: "x",
567
+ name: "ख़",
568
+ voicing: "voiceless",
569
+ articulation: "fricative",
570
+ place: "velar"
571
+ },
572
+ {
573
+ char: "ग़",
574
+ id: "gha_farsi",
575
+ charType: "consonant",
576
+ ipa: "ɣ",
577
+ name: "ग़",
578
+ voicing: "voiced",
579
+ articulation: "fricative",
580
+ place: "velar"
581
+ },
582
+ {
583
+ char: "ड़",
584
+ id: "dda_dot",
585
+ charType: "consonant",
586
+ ipa: "ɽ",
587
+ name: "ड़",
588
+ voicing: "voiced",
589
+ articulation: "stop",
590
+ place: "retroflex"
591
+ },
592
+ {
593
+ char: "ढ़",
594
+ id: "ddha_dot",
595
+ charType: "consonant",
596
+ ipa: "ɽʰ",
597
+ name: "ढ़",
598
+ voicing: "voiced",
599
+ articulation: "stop",
600
+ place: "retroflex"
601
+ },
602
+ {
603
+ char: "ङ्क",
604
+ id: "nga_ka",
605
+ charType: "consonant",
606
+ ipa: "ŋk",
607
+ name: "ङ्क",
608
+ voicing: "nasal",
609
+ articulation: "stop",
610
+ place: "velar"
611
+ }
612
+ ], i = [...n, ...r];
613
+ //#endregion
614
+ export { t as isConsonant, e as isVowel, i as nepaliAllCharacters, r as nepaliConsonants, n as nepaliVowels };
@@ -0,0 +1,2 @@
1
+ export { nepaliVowels, nepaliConsonants, nepaliAllCharacters, type NepaliVowelsInfo, type NepaliConsonantsInfo, type NepaliCharacter, 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,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,OAAO,EACP,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import { isConsonant as e, isVowel as t, nepaliAllCharacters as n, nepaliConsonants as r, nepaliVowels as i } from "./characters.js";
2
+ export { e as isConsonant, t as isVowel, n as nepaliAllCharacters, r as nepaliConsonants, i as nepaliVowels };
@@ -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,8 @@
1
+ import { SoundCharacter, LanguageSoundsConfig } from '@polyglot-bundles/content-shared';
2
+ export declare const nePlainConsonants: SoundCharacter[];
3
+ export declare const neAspirated: SoundCharacter[];
4
+ export declare const neBreathy: SoundCharacter[];
5
+ export declare const neOralVowels: SoundCharacter[];
6
+ export declare const neNasalVowels: SoundCharacter[];
7
+ export declare const nepaliSoundsConfig: LanguageSoundsConfig;
8
+ //# 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,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAqB7C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,EAMvC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,cAAc,EAMrC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAAc,EAOxC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,EAMzC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,oBAQhC,CAAC"}
package/dist/sounds.js ADDED
@@ -0,0 +1,291 @@
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: "l",
102
+ charType: "consonant",
103
+ ipa: "l"
104
+ },
105
+ {
106
+ char: "र",
107
+ id: "r",
108
+ charType: "consonant",
109
+ ipa: "r"
110
+ },
111
+ {
112
+ char: "य",
113
+ id: "y",
114
+ charType: "consonant",
115
+ ipa: "j"
116
+ },
117
+ {
118
+ char: "व",
119
+ id: "w",
120
+ charType: "consonant",
121
+ ipa: "w"
122
+ }
123
+ ], t = [
124
+ {
125
+ char: "फ",
126
+ id: "p_asp",
127
+ charType: "consonant",
128
+ ipa: "pʰ"
129
+ },
130
+ {
131
+ char: "थ",
132
+ id: "t_dental_asp",
133
+ charType: "consonant",
134
+ ipa: "t̪ʰ"
135
+ },
136
+ {
137
+ char: "ठ",
138
+ id: "t_retroflex_asp",
139
+ charType: "consonant",
140
+ ipa: "ʈʰ"
141
+ },
142
+ {
143
+ char: "छ",
144
+ id: "ch_asp",
145
+ charType: "consonant",
146
+ ipa: "tʃʰ"
147
+ },
148
+ {
149
+ char: "ख",
150
+ id: "k_asp",
151
+ charType: "consonant",
152
+ ipa: "kʰ"
153
+ }
154
+ ], n = [
155
+ {
156
+ char: "भ",
157
+ id: "b_breathy",
158
+ charType: "consonant",
159
+ ipa: "bʱ"
160
+ },
161
+ {
162
+ char: "ध",
163
+ id: "d_dental_breathy",
164
+ charType: "consonant",
165
+ ipa: "d̪ʱ"
166
+ },
167
+ {
168
+ char: "ढ",
169
+ id: "d_retroflex_breathy",
170
+ charType: "consonant",
171
+ ipa: "ɖʱ"
172
+ },
173
+ {
174
+ char: "झ",
175
+ id: "j_breathy",
176
+ charType: "consonant",
177
+ ipa: "dʒʱ"
178
+ },
179
+ {
180
+ char: "घ",
181
+ id: "g_breathy",
182
+ charType: "consonant",
183
+ ipa: "ɡʱ"
184
+ }
185
+ ], r = [
186
+ {
187
+ char: "इ",
188
+ id: "i",
189
+ charType: "vowel",
190
+ ipa: "i"
191
+ },
192
+ {
193
+ char: "ए",
194
+ id: "e",
195
+ charType: "vowel",
196
+ ipa: "e"
197
+ },
198
+ {
199
+ char: "अ",
200
+ id: "schwa",
201
+ charType: "vowel",
202
+ ipa: "ʌ"
203
+ },
204
+ {
205
+ char: "आ",
206
+ id: "a",
207
+ charType: "vowel",
208
+ ipa: "a"
209
+ },
210
+ {
211
+ char: "ओ",
212
+ id: "o",
213
+ charType: "vowel",
214
+ ipa: "o"
215
+ },
216
+ {
217
+ char: "उ",
218
+ id: "u",
219
+ charType: "vowel",
220
+ ipa: "u"
221
+ }
222
+ ], i = [
223
+ {
224
+ char: "इँ",
225
+ id: "i_nasal",
226
+ charType: "vowel",
227
+ ipa: "ĩ"
228
+ },
229
+ {
230
+ char: "एँ",
231
+ id: "e_nasal",
232
+ charType: "vowel",
233
+ ipa: "ẽ"
234
+ },
235
+ {
236
+ char: "अँ",
237
+ id: "schwa_nasal",
238
+ charType: "vowel",
239
+ ipa: "ʌ̃"
240
+ },
241
+ {
242
+ char: "आँ",
243
+ id: "a_nasal",
244
+ charType: "vowel",
245
+ ipa: "ã"
246
+ },
247
+ {
248
+ char: "उँ",
249
+ id: "u_nasal",
250
+ charType: "vowel",
251
+ ipa: "ũ"
252
+ }
253
+ ], a = { categories: [
254
+ {
255
+ id: "consonants",
256
+ label: "Consonants",
257
+ sounds: e,
258
+ charType: "consonant",
259
+ color: "blue"
260
+ },
261
+ {
262
+ id: "aspirated",
263
+ label: "Aspirated Stops",
264
+ sounds: t,
265
+ charType: "consonant",
266
+ color: "red"
267
+ },
268
+ {
269
+ id: "breathy",
270
+ label: "Breathy-Voiced Stops",
271
+ sounds: n,
272
+ charType: "consonant",
273
+ color: "red"
274
+ },
275
+ {
276
+ id: "vowels",
277
+ label: "Oral Vowels",
278
+ sounds: r,
279
+ charType: "vowel",
280
+ color: "green"
281
+ },
282
+ {
283
+ id: "nasal-vowels",
284
+ label: "Nasal Vowels",
285
+ sounds: i,
286
+ charType: "vowel",
287
+ color: "red"
288
+ }
289
+ ] };
290
+ //#endregion
291
+ export { t as neAspirated, n as neBreathy, i as neNasalVowels, r as neOralVowels, e as nePlainConsonants, a as nepaliSoundsConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/ne-lang",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Nepali language foundation data - characters, sounds, and pronunciation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "devDependencies": {
37
37
  "vite-plugin-dts": "^4.5.4",
38
38
  "vitest": "^4.1.4",
39
- "@polyglot-bundles/content-shared": "0.7.0",
39
+ "@polyglot-bundles/content-shared": "0.8.0",
40
40
  "@polyglot-bundles/lang-tooling": "0.0.0"
41
41
  },
42
42
  "repository": {