@polyglot-bundles/ar-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
+ * Arabic Character Types
3
+ *
4
+ * Type definitions for Arabic characters (Arabic script).
5
+ * Arabic has 28 letters: 3 vowels (diacritics), 25 consonants.
6
+ */
7
+ /**
8
+ * Base character info
9
+ */
10
+ type ArabicCharacterBaseInfo = {
11
+ char: string;
12
+ id: string;
13
+ display?: string;
14
+ audio?: string;
15
+ notes?: string;
16
+ };
17
+ /**
18
+ * Arabic Vowels (Harakat)
19
+ */
20
+ export type ArabicVowelsInfo = {
21
+ charType: "vowel";
22
+ ipa: string;
23
+ name: string;
24
+ length?: "short" | "long";
25
+ } & ArabicCharacterBaseInfo;
26
+ /**
27
+ * Arabic Consonants
28
+ */
29
+ export type ArabicConsonantsInfo = {
30
+ charType: "consonant";
31
+ ipa: string;
32
+ name: string;
33
+ articulation: "stop" | "fricative" | "nasal" | "approximant" | "lateral" | "trill" | "affricate";
34
+ voicing: "voiced" | "voiceless" | "nasal" | "lateral" | "approximant" | "trill" | "fricative" | "affricate";
35
+ place: "velar" | "palatal" | "pharyngeal" | "emphatic" | "dental" | "labial" | "glottal" | "uvular" | "alveolar";
36
+ } & ArabicCharacterBaseInfo;
37
+ export type ArabicCharacter = ArabicVowelsInfo | ArabicConsonantsInfo;
38
+ export declare function isVowel(character: ArabicCharacter): character is ArabicVowelsInfo;
39
+ export declare function isConsonant(character: ArabicCharacter): character is ArabicConsonantsInfo;
40
+ export declare const arabicVowels: ArabicVowelsInfo[];
41
+ export declare const arabicConsonants: ArabicConsonantsInfo[];
42
+ export declare const arabicAllCharacters: (ArabicVowelsInfo | ArabicConsonantsInfo)[];
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,GAAG,WAAW,CAAC;IACjG,OAAO,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,WAAW,GAAG,WAAW,CAAC;IAC5G,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;CAClH,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,EAe1C,CAAC;AAMF,eAAO,MAAM,gBAAgB,EAAE,oBAAoB,EA0ClD,CAAC;AAMF,eAAO,MAAM,mBAAmB,6CAG/B,CAAC"}
@@ -0,0 +1,422 @@
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: "fatha",
12
+ charType: "vowel",
13
+ ipa: "a",
14
+ name: "Fatha",
15
+ length: "short"
16
+ },
17
+ {
18
+ char: "ِ",
19
+ id: "kasra",
20
+ charType: "vowel",
21
+ ipa: "i",
22
+ name: "Kasra",
23
+ length: "short"
24
+ },
25
+ {
26
+ char: "ُ",
27
+ id: "damma",
28
+ charType: "vowel",
29
+ ipa: "u",
30
+ name: "Damma",
31
+ length: "short"
32
+ },
33
+ {
34
+ char: "ا",
35
+ id: "alif",
36
+ charType: "vowel",
37
+ ipa: "aː",
38
+ name: "Alif",
39
+ length: "long"
40
+ },
41
+ {
42
+ char: "ي",
43
+ id: "ya",
44
+ charType: "vowel",
45
+ ipa: "iː",
46
+ name: "Ya",
47
+ length: "long"
48
+ },
49
+ {
50
+ char: "و",
51
+ id: "waw",
52
+ charType: "vowel",
53
+ ipa: "uː",
54
+ name: "Waw",
55
+ length: "long"
56
+ },
57
+ {
58
+ char: "ً",
59
+ id: "fathatan",
60
+ charType: "vowel",
61
+ ipa: "an",
62
+ name: "Fathatan",
63
+ length: "short"
64
+ },
65
+ {
66
+ char: "ٍ",
67
+ id: "kasratan",
68
+ charType: "vowel",
69
+ ipa: "in",
70
+ name: "Kasratan",
71
+ length: "short"
72
+ },
73
+ {
74
+ char: "ٌ",
75
+ id: "dammatan",
76
+ charType: "vowel",
77
+ ipa: "un",
78
+ name: "Dammatan",
79
+ length: "short"
80
+ },
81
+ {
82
+ char: "ْ",
83
+ id: "sukun",
84
+ charType: "vowel",
85
+ ipa: "",
86
+ name: "Sukun",
87
+ length: "short"
88
+ }
89
+ ], r = [
90
+ {
91
+ char: "ب",
92
+ id: "ba",
93
+ charType: "consonant",
94
+ ipa: "b",
95
+ name: "Ba",
96
+ voicing: "voiced",
97
+ articulation: "stop",
98
+ place: "labial"
99
+ },
100
+ {
101
+ char: "ف",
102
+ id: "fa",
103
+ charType: "consonant",
104
+ ipa: "f",
105
+ name: "Fa",
106
+ voicing: "voiceless",
107
+ articulation: "fricative",
108
+ place: "labial"
109
+ },
110
+ {
111
+ char: "م",
112
+ id: "me",
113
+ charType: "consonant",
114
+ ipa: "m",
115
+ name: "Me",
116
+ voicing: "nasal",
117
+ articulation: "nasal",
118
+ place: "labial"
119
+ },
120
+ {
121
+ char: "و",
122
+ id: "waw_consonant",
123
+ charType: "consonant",
124
+ ipa: "w",
125
+ name: "Waw (consonant)",
126
+ voicing: "voiced",
127
+ articulation: "approximant",
128
+ place: "labial"
129
+ },
130
+ {
131
+ char: "ت",
132
+ id: "ta",
133
+ charType: "consonant",
134
+ ipa: "t",
135
+ name: "Ta",
136
+ voicing: "voiceless",
137
+ articulation: "stop",
138
+ place: "dental"
139
+ },
140
+ {
141
+ char: "ث",
142
+ id: "tha",
143
+ charType: "consonant",
144
+ ipa: "θ",
145
+ name: "Tha",
146
+ voicing: "voiceless",
147
+ articulation: "fricative",
148
+ place: "dental"
149
+ },
150
+ {
151
+ char: "د",
152
+ id: "dal",
153
+ charType: "consonant",
154
+ ipa: "d",
155
+ name: "Dal",
156
+ voicing: "voiced",
157
+ articulation: "stop",
158
+ place: "dental"
159
+ },
160
+ {
161
+ char: "ذ",
162
+ id: "dhal",
163
+ charType: "consonant",
164
+ ipa: "ð",
165
+ name: "Dhal",
166
+ voicing: "voiced",
167
+ articulation: "fricative",
168
+ place: "dental"
169
+ },
170
+ {
171
+ char: "ر",
172
+ id: "ra",
173
+ charType: "consonant",
174
+ ipa: "r",
175
+ name: "Ra",
176
+ voicing: "trill",
177
+ articulation: "trill",
178
+ place: "alveolar"
179
+ },
180
+ {
181
+ char: "ز",
182
+ id: "za",
183
+ charType: "consonant",
184
+ ipa: "z",
185
+ name: "Za",
186
+ voicing: "voiced",
187
+ articulation: "fricative",
188
+ place: "alveolar"
189
+ },
190
+ {
191
+ char: "س",
192
+ id: "sin",
193
+ charType: "consonant",
194
+ ipa: "s",
195
+ name: "Sin",
196
+ voicing: "voiceless",
197
+ articulation: "fricative",
198
+ place: "alveolar"
199
+ },
200
+ {
201
+ char: "ش",
202
+ id: "shin",
203
+ charType: "consonant",
204
+ ipa: "ʃ",
205
+ name: "Shin",
206
+ voicing: "voiceless",
207
+ articulation: "fricative",
208
+ place: "palatal"
209
+ },
210
+ {
211
+ char: "ن",
212
+ id: "nun",
213
+ charType: "consonant",
214
+ ipa: "n",
215
+ name: "Nun",
216
+ voicing: "nasal",
217
+ articulation: "nasal",
218
+ place: "alveolar"
219
+ },
220
+ {
221
+ char: "ل",
222
+ id: "lam",
223
+ charType: "consonant",
224
+ ipa: "l",
225
+ name: "Lam",
226
+ voicing: "lateral",
227
+ articulation: "lateral",
228
+ place: "alveolar"
229
+ },
230
+ {
231
+ char: "ي",
232
+ id: "ya_consonant",
233
+ charType: "consonant",
234
+ ipa: "j",
235
+ name: "Ya (consonant)",
236
+ voicing: "voiced",
237
+ articulation: "approximant",
238
+ place: "palatal"
239
+ },
240
+ {
241
+ char: "ص",
242
+ id: "sad",
243
+ charType: "consonant",
244
+ ipa: "sˤ",
245
+ name: "Sad",
246
+ voicing: "voiceless",
247
+ articulation: "fricative",
248
+ place: "emphatic"
249
+ },
250
+ {
251
+ char: "ض",
252
+ id: "dad",
253
+ charType: "consonant",
254
+ ipa: "dˤ",
255
+ name: "Dad",
256
+ voicing: "voiced",
257
+ articulation: "stop",
258
+ place: "emphatic"
259
+ },
260
+ {
261
+ char: "ط",
262
+ id: "ta-2",
263
+ charType: "consonant",
264
+ ipa: "tˤ",
265
+ name: "Ta",
266
+ voicing: "voiceless",
267
+ articulation: "stop",
268
+ place: "emphatic"
269
+ },
270
+ {
271
+ char: "ظ",
272
+ id: "zha",
273
+ charType: "consonant",
274
+ ipa: "ðˤ",
275
+ name: "Zha",
276
+ voicing: "voiced",
277
+ articulation: "fricative",
278
+ place: "emphatic"
279
+ },
280
+ {
281
+ char: "ق",
282
+ id: "qaf",
283
+ charType: "consonant",
284
+ ipa: "q",
285
+ name: "Qaf",
286
+ voicing: "voiceless",
287
+ articulation: "stop",
288
+ place: "velar"
289
+ },
290
+ {
291
+ char: "ك",
292
+ id: "kaf",
293
+ charType: "consonant",
294
+ ipa: "k",
295
+ name: "Kaf",
296
+ voicing: "voiceless",
297
+ articulation: "stop",
298
+ place: "velar"
299
+ },
300
+ {
301
+ char: "غ",
302
+ id: "ghain",
303
+ charType: "consonant",
304
+ ipa: "ɣ",
305
+ name: "Ghain",
306
+ voicing: "voiced",
307
+ articulation: "fricative",
308
+ place: "velar"
309
+ },
310
+ {
311
+ char: "خ",
312
+ id: "kha",
313
+ charType: "consonant",
314
+ ipa: "x",
315
+ name: "Kha",
316
+ voicing: "voiceless",
317
+ articulation: "fricative",
318
+ place: "velar"
319
+ },
320
+ {
321
+ char: "ه",
322
+ id: "ha",
323
+ charType: "consonant",
324
+ ipa: "h",
325
+ name: "Ha",
326
+ voicing: "voiceless",
327
+ articulation: "fricative",
328
+ place: "glottal"
329
+ },
330
+ {
331
+ char: "ء",
332
+ id: "hamza",
333
+ charType: "consonant",
334
+ ipa: "ʔ",
335
+ name: "Hamza",
336
+ voicing: "voiceless",
337
+ articulation: "stop",
338
+ place: "glottal"
339
+ },
340
+ {
341
+ char: "ء",
342
+ id: "hamza_on_alif",
343
+ charType: "consonant",
344
+ ipa: "ʔ",
345
+ name: "Hamza (on alif)",
346
+ voicing: "voiceless",
347
+ articulation: "stop",
348
+ place: "glottal"
349
+ },
350
+ {
351
+ char: "ح",
352
+ id: "ha-2",
353
+ charType: "consonant",
354
+ ipa: "ħ",
355
+ name: "Ha (pharyngeal)",
356
+ voicing: "voiceless",
357
+ articulation: "fricative",
358
+ place: "pharyngeal"
359
+ },
360
+ {
361
+ char: "ع",
362
+ id: "ain",
363
+ charType: "consonant",
364
+ ipa: "ʕ",
365
+ name: "Ain (pharyngeal)",
366
+ voicing: "voiced",
367
+ articulation: "fricative",
368
+ place: "pharyngeal"
369
+ },
370
+ {
371
+ char: "ة",
372
+ id: "ta_marbuta",
373
+ charType: "consonant",
374
+ ipa: "t",
375
+ name: "Ta Marbuta",
376
+ voicing: "voiceless",
377
+ articulation: "stop",
378
+ place: "dental"
379
+ },
380
+ {
381
+ char: "أ",
382
+ id: "alif_hamza",
383
+ charType: "consonant",
384
+ ipa: "ʔa",
385
+ name: "Alif Hamza",
386
+ voicing: "voiceless",
387
+ articulation: "stop",
388
+ place: "glottal"
389
+ },
390
+ {
391
+ char: "إ",
392
+ id: "alif_hamza_below",
393
+ charType: "consonant",
394
+ ipa: "ʔi",
395
+ name: "Alif Hamza Below",
396
+ voicing: "voiceless",
397
+ articulation: "stop",
398
+ place: "glottal"
399
+ },
400
+ {
401
+ char: "ؤ",
402
+ id: "waw_hamza",
403
+ charType: "consonant",
404
+ ipa: "ʔu",
405
+ name: "Waw Hamza",
406
+ voicing: "voiceless",
407
+ articulation: "stop",
408
+ place: "glottal"
409
+ },
410
+ {
411
+ char: "ى",
412
+ id: "alif_madda",
413
+ charType: "consonant",
414
+ ipa: "aː",
415
+ name: "Alif Madda",
416
+ voicing: "voiced",
417
+ articulation: "approximant",
418
+ place: "glottal"
419
+ }
420
+ ], i = [...n, ...r];
421
+ //#endregion
422
+ export { i as arabicAllCharacters, r as arabicConsonants, n as arabicVowels, t as isConsonant, e as isVowel };
@@ -0,0 +1,2 @@
1
+ export { arabicVowels, arabicConsonants, arabicAllCharacters, type ArabicVowelsInfo, type ArabicConsonantsInfo, type ArabicCharacter, 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 { arabicAllCharacters as e, arabicConsonants as t, arabicVowels as n, isConsonant as r, isVowel as i } from "./characters.js";
2
+ export { e as arabicAllCharacters, t as arabicConsonants, n as arabicVowels, 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,23 @@
1
+ import { SoundCharacter, LanguageSoundsConfig } from '@polyglot-bundles/content-shared';
2
+ /**
3
+ * Arabic sound categories for the language-sounds tool.
4
+ *
5
+ * Modern Standard Arabic phoneme inventory sourced from Wikipedia's
6
+ * Arabic phonology article (https://en.wikipedia.org/wiki/Arabic_phonology):
7
+ * 28 consonants (23 plain + 5 emphatic/pharyngealized) and 6 vowels
8
+ * (3 short + 3 long).
9
+ *
10
+ * Emphatic consonants (/tˤ/, /dˤ/, /sˤ/, /ðˤ/, /ɫ/) are grouped as a
11
+ * distinct category — pharyngealization is a defining feature of Arabic
12
+ * and crucial for L2 learners to perceive.
13
+ *
14
+ * Long vowels are encoded as separate phonemes per the standard analysis;
15
+ * shadda-marked geminate consonants are not encoded as separate phonemes
16
+ * (consistent with the typical phonemic-vs-graphemic distinction).
17
+ */
18
+ export declare const arabicPlainConsonants: SoundCharacter[];
19
+ export declare const arabicEmphaticConsonants: SoundCharacter[];
20
+ export declare const arabicShortVowels: SoundCharacter[];
21
+ export declare const arabicLongVowels: SoundCharacter[];
22
+ export declare const arabicSoundsConfig: LanguageSoundsConfig;
23
+ //# 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;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,qBAAqB,EAAE,cAAc,EAyBjD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,cAAc,EAMpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAI7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAAc,EAI5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,oBA+BhC,CAAC"}
package/dist/sounds.js ADDED
@@ -0,0 +1,253 @@
1
+ //#region src/sounds.ts
2
+ var e = [
3
+ {
4
+ char: "م",
5
+ id: "m",
6
+ charType: "consonant",
7
+ ipa: "m"
8
+ },
9
+ {
10
+ char: "ب",
11
+ id: "b",
12
+ charType: "consonant",
13
+ ipa: "b"
14
+ },
15
+ {
16
+ char: "ف",
17
+ id: "f",
18
+ charType: "consonant",
19
+ ipa: "f"
20
+ },
21
+ {
22
+ char: "ت",
23
+ id: "t",
24
+ charType: "consonant",
25
+ ipa: "t"
26
+ },
27
+ {
28
+ char: "د",
29
+ id: "d",
30
+ charType: "consonant",
31
+ ipa: "d"
32
+ },
33
+ {
34
+ char: "ث",
35
+ id: "th_voiceless",
36
+ charType: "consonant",
37
+ ipa: "θ"
38
+ },
39
+ {
40
+ char: "ذ",
41
+ id: "th_voiced",
42
+ charType: "consonant",
43
+ ipa: "ð"
44
+ },
45
+ {
46
+ char: "ن",
47
+ id: "n",
48
+ charType: "consonant",
49
+ ipa: "n"
50
+ },
51
+ {
52
+ char: "س",
53
+ id: "s",
54
+ charType: "consonant",
55
+ ipa: "s"
56
+ },
57
+ {
58
+ char: "ز",
59
+ id: "z",
60
+ charType: "consonant",
61
+ ipa: "z"
62
+ },
63
+ {
64
+ char: "ل",
65
+ id: "l",
66
+ charType: "consonant",
67
+ ipa: "l"
68
+ },
69
+ {
70
+ char: "ر",
71
+ id: "r",
72
+ charType: "consonant",
73
+ ipa: "r"
74
+ },
75
+ {
76
+ char: "ش",
77
+ id: "sh",
78
+ charType: "consonant",
79
+ ipa: "ʃ"
80
+ },
81
+ {
82
+ char: "ج",
83
+ id: "j",
84
+ charType: "consonant",
85
+ ipa: "d͡ʒ"
86
+ },
87
+ {
88
+ char: "ك",
89
+ id: "k",
90
+ charType: "consonant",
91
+ ipa: "k"
92
+ },
93
+ {
94
+ char: "غ",
95
+ id: "ghain",
96
+ charType: "consonant",
97
+ ipa: "ɣ"
98
+ },
99
+ {
100
+ char: "ق",
101
+ id: "q",
102
+ charType: "consonant",
103
+ ipa: "q"
104
+ },
105
+ {
106
+ char: "خ",
107
+ id: "kh",
108
+ charType: "consonant",
109
+ ipa: "χ"
110
+ },
111
+ {
112
+ char: "ح",
113
+ id: "h_pharyngeal",
114
+ charType: "consonant",
115
+ ipa: "ħ"
116
+ },
117
+ {
118
+ char: "ع",
119
+ id: "ain",
120
+ charType: "consonant",
121
+ ipa: "ʕ"
122
+ },
123
+ {
124
+ char: "ه",
125
+ id: "h",
126
+ charType: "consonant",
127
+ ipa: "h"
128
+ },
129
+ {
130
+ char: "ء",
131
+ id: "hamza",
132
+ charType: "consonant",
133
+ ipa: "ʔ"
134
+ },
135
+ {
136
+ char: "ي",
137
+ id: "y",
138
+ charType: "consonant",
139
+ ipa: "j"
140
+ },
141
+ {
142
+ char: "و",
143
+ id: "w",
144
+ charType: "consonant",
145
+ ipa: "w"
146
+ }
147
+ ], t = [
148
+ {
149
+ char: "ط",
150
+ id: "t_emphatic",
151
+ charType: "consonant",
152
+ ipa: "tˤ"
153
+ },
154
+ {
155
+ char: "ض",
156
+ id: "d_emphatic",
157
+ charType: "consonant",
158
+ ipa: "dˤ"
159
+ },
160
+ {
161
+ char: "ص",
162
+ id: "s_emphatic",
163
+ charType: "consonant",
164
+ ipa: "sˤ"
165
+ },
166
+ {
167
+ char: "ظ",
168
+ id: "th_emphatic",
169
+ charType: "consonant",
170
+ ipa: "ðˤ"
171
+ },
172
+ {
173
+ char: "ل",
174
+ id: "l_emphatic",
175
+ charType: "consonant",
176
+ ipa: "ɫ",
177
+ display: "ل (emphatic)"
178
+ }
179
+ ], n = [
180
+ {
181
+ char: "َ",
182
+ id: "a_short",
183
+ charType: "vowel",
184
+ ipa: "a",
185
+ display: "ـَ (fatḥa)"
186
+ },
187
+ {
188
+ char: "ِ",
189
+ id: "i_short",
190
+ charType: "vowel",
191
+ ipa: "i",
192
+ display: "ـِ (kasra)"
193
+ },
194
+ {
195
+ char: "ُ",
196
+ id: "u_short",
197
+ charType: "vowel",
198
+ ipa: "u",
199
+ display: "ـُ (ḍamma)"
200
+ }
201
+ ], r = [
202
+ {
203
+ char: "ا",
204
+ id: "a_long",
205
+ charType: "vowel",
206
+ ipa: "aː"
207
+ },
208
+ {
209
+ char: "ي",
210
+ id: "i_long",
211
+ charType: "vowel",
212
+ ipa: "iː",
213
+ display: "ي (long)"
214
+ },
215
+ {
216
+ char: "و",
217
+ id: "u_long",
218
+ charType: "vowel",
219
+ ipa: "uː",
220
+ display: "و (long)"
221
+ }
222
+ ], i = { categories: [
223
+ {
224
+ id: "consonants",
225
+ label: "Consonants",
226
+ sounds: e,
227
+ charType: "consonant",
228
+ color: "blue"
229
+ },
230
+ {
231
+ id: "emphatics",
232
+ label: "Emphatic Consonants",
233
+ sounds: t,
234
+ charType: "consonant",
235
+ color: "red"
236
+ },
237
+ {
238
+ id: "short-vowels",
239
+ label: "Short Vowels",
240
+ sounds: n,
241
+ charType: "vowel",
242
+ color: "green"
243
+ },
244
+ {
245
+ id: "long-vowels",
246
+ label: "Long Vowels",
247
+ sounds: r,
248
+ charType: "vowel",
249
+ color: "default"
250
+ }
251
+ ] };
252
+ //#endregion
253
+ export { t as arabicEmphaticConsonants, r as arabicLongVowels, e as arabicPlainConsonants, n as arabicShortVowels, i as arabicSoundsConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/ar-lang",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Arabic language foundation data - characters, sounds, and pronunciation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -36,8 +36,8 @@
36
36
  "devDependencies": {
37
37
  "vite-plugin-dts": "^4.5.4",
38
38
  "vitest": "^4.1.4",
39
- "@polyglot-bundles/lang-tooling": "0.0.0",
40
- "@polyglot-bundles/content-shared": "0.7.0"
39
+ "@polyglot-bundles/content-shared": "0.8.0",
40
+ "@polyglot-bundles/lang-tooling": "0.0.0"
41
41
  },
42
42
  "repository": {
43
43
  "type": "git",