@polyglot-bundles/qu-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.
- package/dist/characters.d.ts +45 -0
- package/dist/characters.d.ts.map +1 -0
- package/dist/characters.js +442 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.test.d.ts +2 -0
- package/dist/index.test.d.ts.map +1 -0
- package/dist/sounds.d.ts +13 -0
- package/dist/sounds.d.ts.map +1 -0
- package/dist/sounds.js +205 -0
- package/package.json +3 -3
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quechua Character Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for Quechua characters (Latin script).
|
|
5
|
+
* Quechua has 24 letters: 3 vowels, 21 consonants.
|
|
6
|
+
* Note: Spanish loanwords use 5 vowels (a, e, i, o, u).
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Base character info
|
|
10
|
+
*/
|
|
11
|
+
type QuechuaCharacterBaseInfo = {
|
|
12
|
+
char: string;
|
|
13
|
+
id: string;
|
|
14
|
+
display?: string;
|
|
15
|
+
audio?: string;
|
|
16
|
+
notes?: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Quechua Vowels
|
|
20
|
+
*/
|
|
21
|
+
export type QuechuaVowelsInfo = {
|
|
22
|
+
charType: "vowel";
|
|
23
|
+
ipa: string;
|
|
24
|
+
name: string;
|
|
25
|
+
length?: "short" | "long";
|
|
26
|
+
} & QuechuaCharacterBaseInfo;
|
|
27
|
+
/**
|
|
28
|
+
* Quechua Consonants
|
|
29
|
+
*/
|
|
30
|
+
export type QuechuaConsonantsInfo = {
|
|
31
|
+
charType: "consonant";
|
|
32
|
+
ipa: string;
|
|
33
|
+
name: string;
|
|
34
|
+
articulation: "stop" | "fricative" | "nasal" | "approximant" | "lateral" | "trill" | "affricate";
|
|
35
|
+
voicing: "voiced" | "voiceless" | "nasal" | "lateral" | "approximant" | "trill" | "fricative" | "affricate";
|
|
36
|
+
place: "velar" | "palatal" | "alveolar" | "dental" | "labial" | "glottal" | "alveolar" | "retroflex" | "uvular";
|
|
37
|
+
} & QuechuaCharacterBaseInfo;
|
|
38
|
+
export type QuechuaCharacter = QuechuaVowelsInfo | QuechuaConsonantsInfo;
|
|
39
|
+
export declare function isVowel(character: QuechuaCharacter): character is QuechuaVowelsInfo;
|
|
40
|
+
export declare function isConsonant(character: QuechuaCharacter): character is QuechuaConsonantsInfo;
|
|
41
|
+
export declare const quechuaVowels: QuechuaVowelsInfo[];
|
|
42
|
+
export declare const quechuaConsonants: QuechuaConsonantsInfo[];
|
|
43
|
+
export declare const quechuaAllCharacters: (QuechuaVowelsInfo | QuechuaConsonantsInfo)[];
|
|
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,wBAAwB,GAAG;IAC9B,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,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B,GAAG,wBAAwB,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,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,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC;CACjH,GAAG,wBAAwB,CAAC;AAG7B,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,GAAG,qBAAqB,CAAC;AAGzE,wBAAgB,OAAO,CAAC,SAAS,EAAE,gBAAgB,GAAG,SAAS,IAAI,iBAAiB,CAEnF;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,gBAAgB,GAAG,SAAS,IAAI,qBAAqB,CAE3F;AAMD,eAAO,MAAM,aAAa,EAAE,iBAAiB,EAyB5C,CAAC;AAMF,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,EAoCpD,CAAC;AAMF,eAAO,MAAM,oBAAoB,+CAGhC,CAAC"}
|
|
@@ -0,0 +1,442 @@
|
|
|
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: "a",
|
|
11
|
+
id: "a",
|
|
12
|
+
charType: "vowel",
|
|
13
|
+
ipa: "a",
|
|
14
|
+
name: "A",
|
|
15
|
+
length: "short"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
char: "i",
|
|
19
|
+
id: "i",
|
|
20
|
+
charType: "vowel",
|
|
21
|
+
ipa: "i",
|
|
22
|
+
name: "I",
|
|
23
|
+
length: "short"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
char: "u",
|
|
27
|
+
id: "u",
|
|
28
|
+
charType: "vowel",
|
|
29
|
+
ipa: "u",
|
|
30
|
+
name: "U",
|
|
31
|
+
length: "short"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
char: "aa",
|
|
35
|
+
id: "a_long",
|
|
36
|
+
charType: "vowel",
|
|
37
|
+
ipa: "aː",
|
|
38
|
+
name: "A (long)",
|
|
39
|
+
length: "long"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
char: "ii",
|
|
43
|
+
id: "i_long",
|
|
44
|
+
charType: "vowel",
|
|
45
|
+
ipa: "iː",
|
|
46
|
+
name: "I (long)",
|
|
47
|
+
length: "long"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
char: "uu",
|
|
51
|
+
id: "u_long",
|
|
52
|
+
charType: "vowel",
|
|
53
|
+
ipa: "uː",
|
|
54
|
+
name: "U (long)",
|
|
55
|
+
length: "long"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
char: "e",
|
|
59
|
+
id: "e_loanword",
|
|
60
|
+
charType: "vowel",
|
|
61
|
+
ipa: "ɛ",
|
|
62
|
+
name: "E (loanword)",
|
|
63
|
+
length: "short"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
char: "o",
|
|
67
|
+
id: "o_loanword",
|
|
68
|
+
charType: "vowel",
|
|
69
|
+
ipa: "o",
|
|
70
|
+
name: "O (loanword)",
|
|
71
|
+
length: "short"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
char: "ai",
|
|
75
|
+
id: "ai",
|
|
76
|
+
charType: "vowel",
|
|
77
|
+
ipa: "ai",
|
|
78
|
+
name: "AI",
|
|
79
|
+
length: "short"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
char: "au",
|
|
83
|
+
id: "au",
|
|
84
|
+
charType: "vowel",
|
|
85
|
+
ipa: "au",
|
|
86
|
+
name: "AU",
|
|
87
|
+
length: "short"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
char: "ia",
|
|
91
|
+
id: "ia",
|
|
92
|
+
charType: "vowel",
|
|
93
|
+
ipa: "ia",
|
|
94
|
+
name: "IA",
|
|
95
|
+
length: "short"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
char: "iu",
|
|
99
|
+
id: "iu",
|
|
100
|
+
charType: "vowel",
|
|
101
|
+
ipa: "iu",
|
|
102
|
+
name: "IU",
|
|
103
|
+
length: "short"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
char: "ua",
|
|
107
|
+
id: "ua",
|
|
108
|
+
charType: "vowel",
|
|
109
|
+
ipa: "ua",
|
|
110
|
+
name: "UA",
|
|
111
|
+
length: "short"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
char: "ui",
|
|
115
|
+
id: "ui",
|
|
116
|
+
charType: "vowel",
|
|
117
|
+
ipa: "ui",
|
|
118
|
+
name: "UI",
|
|
119
|
+
length: "short"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
char: "ea",
|
|
123
|
+
id: "ea",
|
|
124
|
+
charType: "vowel",
|
|
125
|
+
ipa: "ea",
|
|
126
|
+
name: "EA",
|
|
127
|
+
length: "short"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
char: "ei",
|
|
131
|
+
id: "ei",
|
|
132
|
+
charType: "vowel",
|
|
133
|
+
ipa: "ei",
|
|
134
|
+
name: "EI",
|
|
135
|
+
length: "short"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
char: "eu",
|
|
139
|
+
id: "eu",
|
|
140
|
+
charType: "vowel",
|
|
141
|
+
ipa: "eu",
|
|
142
|
+
name: "EU",
|
|
143
|
+
length: "short"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
char: "oa",
|
|
147
|
+
id: "oa",
|
|
148
|
+
charType: "vowel",
|
|
149
|
+
ipa: "oa",
|
|
150
|
+
name: "OA",
|
|
151
|
+
length: "short"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
char: "oi",
|
|
155
|
+
id: "oi",
|
|
156
|
+
charType: "vowel",
|
|
157
|
+
ipa: "oi",
|
|
158
|
+
name: "OI",
|
|
159
|
+
length: "short"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
char: "ou",
|
|
163
|
+
id: "ou",
|
|
164
|
+
charType: "vowel",
|
|
165
|
+
ipa: "ou",
|
|
166
|
+
name: "OU",
|
|
167
|
+
length: "short"
|
|
168
|
+
}
|
|
169
|
+
], r = [
|
|
170
|
+
{
|
|
171
|
+
char: "p",
|
|
172
|
+
id: "p",
|
|
173
|
+
charType: "consonant",
|
|
174
|
+
ipa: "p",
|
|
175
|
+
name: "P",
|
|
176
|
+
voicing: "voiceless",
|
|
177
|
+
articulation: "stop",
|
|
178
|
+
place: "labial"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
char: "b",
|
|
182
|
+
id: "b",
|
|
183
|
+
charType: "consonant",
|
|
184
|
+
ipa: "b",
|
|
185
|
+
name: "B",
|
|
186
|
+
voicing: "voiced",
|
|
187
|
+
articulation: "stop",
|
|
188
|
+
place: "labial"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
char: "m",
|
|
192
|
+
id: "m",
|
|
193
|
+
charType: "consonant",
|
|
194
|
+
ipa: "m",
|
|
195
|
+
name: "M",
|
|
196
|
+
voicing: "nasal",
|
|
197
|
+
articulation: "nasal",
|
|
198
|
+
place: "labial"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
char: "f",
|
|
202
|
+
id: "f_loanword",
|
|
203
|
+
charType: "consonant",
|
|
204
|
+
ipa: "f",
|
|
205
|
+
name: "F (loanword)",
|
|
206
|
+
voicing: "voiceless",
|
|
207
|
+
articulation: "fricative",
|
|
208
|
+
place: "labial"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
char: "v",
|
|
212
|
+
id: "v_loanword",
|
|
213
|
+
charType: "consonant",
|
|
214
|
+
ipa: "v",
|
|
215
|
+
name: "V (loanword)",
|
|
216
|
+
voicing: "voiced",
|
|
217
|
+
articulation: "fricative",
|
|
218
|
+
place: "labial"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
char: "t",
|
|
222
|
+
id: "t",
|
|
223
|
+
charType: "consonant",
|
|
224
|
+
ipa: "t",
|
|
225
|
+
name: "T",
|
|
226
|
+
voicing: "voiceless",
|
|
227
|
+
articulation: "stop",
|
|
228
|
+
place: "dental"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
char: "d",
|
|
232
|
+
id: "d_loanword",
|
|
233
|
+
charType: "consonant",
|
|
234
|
+
ipa: "d",
|
|
235
|
+
name: "D (loanword)",
|
|
236
|
+
voicing: "voiced",
|
|
237
|
+
articulation: "stop",
|
|
238
|
+
place: "dental"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
char: "s",
|
|
242
|
+
id: "s",
|
|
243
|
+
charType: "consonant",
|
|
244
|
+
ipa: "s",
|
|
245
|
+
name: "S",
|
|
246
|
+
voicing: "voiceless",
|
|
247
|
+
articulation: "fricative",
|
|
248
|
+
place: "alveolar"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
char: "z",
|
|
252
|
+
id: "z_loanword",
|
|
253
|
+
charType: "consonant",
|
|
254
|
+
ipa: "s",
|
|
255
|
+
name: "Z (loanword)",
|
|
256
|
+
voicing: "voiceless",
|
|
257
|
+
articulation: "fricative",
|
|
258
|
+
place: "alveolar"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
char: "n",
|
|
262
|
+
id: "n",
|
|
263
|
+
charType: "consonant",
|
|
264
|
+
ipa: "n",
|
|
265
|
+
name: "N",
|
|
266
|
+
voicing: "nasal",
|
|
267
|
+
articulation: "nasal",
|
|
268
|
+
place: "alveolar"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
char: "l",
|
|
272
|
+
id: "l",
|
|
273
|
+
charType: "consonant",
|
|
274
|
+
ipa: "l",
|
|
275
|
+
name: "L",
|
|
276
|
+
voicing: "lateral",
|
|
277
|
+
articulation: "lateral",
|
|
278
|
+
place: "alveolar"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
char: "r",
|
|
282
|
+
id: "r",
|
|
283
|
+
charType: "consonant",
|
|
284
|
+
ipa: "r",
|
|
285
|
+
name: "R",
|
|
286
|
+
voicing: "trill",
|
|
287
|
+
articulation: "trill",
|
|
288
|
+
place: "alveolar"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
char: "ʈ",
|
|
292
|
+
id: "rt",
|
|
293
|
+
charType: "consonant",
|
|
294
|
+
ipa: "ʈ",
|
|
295
|
+
name: "RT",
|
|
296
|
+
voicing: "voiceless",
|
|
297
|
+
articulation: "stop",
|
|
298
|
+
place: "retroflex"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
char: "ɳ",
|
|
302
|
+
id: "rn",
|
|
303
|
+
charType: "consonant",
|
|
304
|
+
ipa: "ɳ",
|
|
305
|
+
name: "RN",
|
|
306
|
+
voicing: "nasal",
|
|
307
|
+
articulation: "nasal",
|
|
308
|
+
place: "retroflex"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
char: "c",
|
|
312
|
+
id: "c",
|
|
313
|
+
charType: "consonant",
|
|
314
|
+
ipa: "tʃ",
|
|
315
|
+
name: "C",
|
|
316
|
+
voicing: "voiceless",
|
|
317
|
+
articulation: "affricate",
|
|
318
|
+
place: "palatal"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
char: "j",
|
|
322
|
+
id: "j",
|
|
323
|
+
charType: "consonant",
|
|
324
|
+
ipa: "x",
|
|
325
|
+
name: "J",
|
|
326
|
+
voicing: "voiceless",
|
|
327
|
+
articulation: "fricative",
|
|
328
|
+
place: "velar"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
char: "ñ",
|
|
332
|
+
id: "ñ",
|
|
333
|
+
charType: "consonant",
|
|
334
|
+
ipa: "ɲ",
|
|
335
|
+
name: "Ñ",
|
|
336
|
+
voicing: "nasal",
|
|
337
|
+
articulation: "nasal",
|
|
338
|
+
place: "palatal"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
char: "k",
|
|
342
|
+
id: "k",
|
|
343
|
+
charType: "consonant",
|
|
344
|
+
ipa: "k",
|
|
345
|
+
name: "K",
|
|
346
|
+
voicing: "voiceless",
|
|
347
|
+
articulation: "stop",
|
|
348
|
+
place: "velar"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
char: "g",
|
|
352
|
+
id: "g",
|
|
353
|
+
charType: "consonant",
|
|
354
|
+
ipa: "ɡ",
|
|
355
|
+
name: "G",
|
|
356
|
+
voicing: "voiced",
|
|
357
|
+
articulation: "stop",
|
|
358
|
+
place: "velar"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
char: "ŋ",
|
|
362
|
+
id: "ng",
|
|
363
|
+
charType: "consonant",
|
|
364
|
+
ipa: "ŋ",
|
|
365
|
+
name: "NG",
|
|
366
|
+
voicing: "nasal",
|
|
367
|
+
articulation: "nasal",
|
|
368
|
+
place: "velar"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
char: "h",
|
|
372
|
+
id: "h",
|
|
373
|
+
charType: "consonant",
|
|
374
|
+
ipa: "h",
|
|
375
|
+
name: "H",
|
|
376
|
+
voicing: "voiceless",
|
|
377
|
+
articulation: "fricative",
|
|
378
|
+
place: "glottal"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
char: "ʔ",
|
|
382
|
+
id: "glottal_stop",
|
|
383
|
+
charType: "consonant",
|
|
384
|
+
ipa: "ʔ",
|
|
385
|
+
name: "Glottal Stop",
|
|
386
|
+
voicing: "voiceless",
|
|
387
|
+
articulation: "stop",
|
|
388
|
+
place: "glottal"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
char: "w",
|
|
392
|
+
id: "w",
|
|
393
|
+
charType: "consonant",
|
|
394
|
+
ipa: "w",
|
|
395
|
+
name: "W",
|
|
396
|
+
voicing: "voiced",
|
|
397
|
+
articulation: "approximant",
|
|
398
|
+
place: "labial"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
char: "y",
|
|
402
|
+
id: "y",
|
|
403
|
+
charType: "consonant",
|
|
404
|
+
ipa: "j",
|
|
405
|
+
name: "Y",
|
|
406
|
+
voicing: "voiced",
|
|
407
|
+
articulation: "approximant",
|
|
408
|
+
place: "palatal"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
char: "x",
|
|
412
|
+
id: "x_loanword",
|
|
413
|
+
charType: "consonant",
|
|
414
|
+
ipa: "ks",
|
|
415
|
+
name: "X (loanword)",
|
|
416
|
+
voicing: "voiceless",
|
|
417
|
+
articulation: "stop",
|
|
418
|
+
place: "velar"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
char: "q",
|
|
422
|
+
id: "q_foreign",
|
|
423
|
+
charType: "consonant",
|
|
424
|
+
ipa: "q",
|
|
425
|
+
name: "Q (foreign)",
|
|
426
|
+
voicing: "voiceless",
|
|
427
|
+
articulation: "stop",
|
|
428
|
+
place: "uvular"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
char: "f",
|
|
432
|
+
id: "f_foreign",
|
|
433
|
+
charType: "consonant",
|
|
434
|
+
ipa: "f",
|
|
435
|
+
name: "F (foreign)",
|
|
436
|
+
voicing: "voiceless",
|
|
437
|
+
articulation: "fricative",
|
|
438
|
+
place: "labial"
|
|
439
|
+
}
|
|
440
|
+
], i = [...n, ...r];
|
|
441
|
+
//#endregion
|
|
442
|
+
export { t as isConsonant, e as isVowel, i as quechuaAllCharacters, r as quechuaConsonants, n as quechuaVowels };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,OAAO,EACP,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
|
package/dist/sounds.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SoundCharacter, LanguageSoundsConfig } from '@polyglot-bundles/content-shared';
|
|
2
|
+
/**
|
|
3
|
+
* Quechua (Cusco/Southern variant) — Wikipedia Quechuan_languages.
|
|
4
|
+
* Three-way stop contrast: plain / aspirated / ejective. Aspirated and
|
|
5
|
+
* ejective each in red category per playbook P3 — distinctive Cusco
|
|
6
|
+
* features. Three-vowel system (canonical analysis).
|
|
7
|
+
*/
|
|
8
|
+
export declare const quPlainConsonants: SoundCharacter[];
|
|
9
|
+
export declare const quAspirated: SoundCharacter[];
|
|
10
|
+
export declare const quEjectives: SoundCharacter[];
|
|
11
|
+
export declare const quVowels: SoundCharacter[];
|
|
12
|
+
export declare const quechuaSoundsConfig: LanguageSoundsConfig;
|
|
13
|
+
//# 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;;;;;GAKG;AAEH,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAgB7C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,EAMvC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,EAMvC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,cAAc,EAIpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,oBAOjC,CAAC"}
|
package/dist/sounds.js
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
//#region src/sounds.ts
|
|
2
|
+
var e = [
|
|
3
|
+
{
|
|
4
|
+
char: "p",
|
|
5
|
+
id: "p",
|
|
6
|
+
charType: "consonant",
|
|
7
|
+
ipa: "p"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
char: "t",
|
|
11
|
+
id: "t",
|
|
12
|
+
charType: "consonant",
|
|
13
|
+
ipa: "t"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
char: "ch",
|
|
17
|
+
id: "ch",
|
|
18
|
+
charType: "consonant",
|
|
19
|
+
ipa: "tʃ"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
char: "k",
|
|
23
|
+
id: "k",
|
|
24
|
+
charType: "consonant",
|
|
25
|
+
ipa: "k"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
char: "q",
|
|
29
|
+
id: "q",
|
|
30
|
+
charType: "consonant",
|
|
31
|
+
ipa: "q"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
char: "m",
|
|
35
|
+
id: "m",
|
|
36
|
+
charType: "consonant",
|
|
37
|
+
ipa: "m"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
char: "n",
|
|
41
|
+
id: "n",
|
|
42
|
+
charType: "consonant",
|
|
43
|
+
ipa: "n"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
char: "ñ",
|
|
47
|
+
id: "ny",
|
|
48
|
+
charType: "consonant",
|
|
49
|
+
ipa: "ɲ"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
char: "s",
|
|
53
|
+
id: "s",
|
|
54
|
+
charType: "consonant",
|
|
55
|
+
ipa: "s"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
char: "h",
|
|
59
|
+
id: "h",
|
|
60
|
+
charType: "consonant",
|
|
61
|
+
ipa: "h"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
char: "l",
|
|
65
|
+
id: "l",
|
|
66
|
+
charType: "consonant",
|
|
67
|
+
ipa: "l"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
char: "ll",
|
|
71
|
+
id: "l_palatal",
|
|
72
|
+
charType: "consonant",
|
|
73
|
+
ipa: "ʎ"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
char: "r",
|
|
77
|
+
id: "r",
|
|
78
|
+
charType: "consonant",
|
|
79
|
+
ipa: "r"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
char: "w",
|
|
83
|
+
id: "w",
|
|
84
|
+
charType: "consonant",
|
|
85
|
+
ipa: "w"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
char: "y",
|
|
89
|
+
id: "y",
|
|
90
|
+
charType: "consonant",
|
|
91
|
+
ipa: "j"
|
|
92
|
+
}
|
|
93
|
+
], t = [
|
|
94
|
+
{
|
|
95
|
+
char: "ph",
|
|
96
|
+
id: "p_asp",
|
|
97
|
+
charType: "consonant",
|
|
98
|
+
ipa: "pʰ"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
char: "th",
|
|
102
|
+
id: "t_asp",
|
|
103
|
+
charType: "consonant",
|
|
104
|
+
ipa: "tʰ"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
char: "chh",
|
|
108
|
+
id: "ch_asp",
|
|
109
|
+
charType: "consonant",
|
|
110
|
+
ipa: "tʃʰ"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
char: "kh",
|
|
114
|
+
id: "k_asp",
|
|
115
|
+
charType: "consonant",
|
|
116
|
+
ipa: "kʰ"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
char: "qh",
|
|
120
|
+
id: "q_asp",
|
|
121
|
+
charType: "consonant",
|
|
122
|
+
ipa: "qʰ"
|
|
123
|
+
}
|
|
124
|
+
], n = [
|
|
125
|
+
{
|
|
126
|
+
char: "p'",
|
|
127
|
+
id: "p_ej",
|
|
128
|
+
charType: "consonant",
|
|
129
|
+
ipa: "pʼ"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
char: "t'",
|
|
133
|
+
id: "t_ej",
|
|
134
|
+
charType: "consonant",
|
|
135
|
+
ipa: "tʼ"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
char: "ch'",
|
|
139
|
+
id: "ch_ej",
|
|
140
|
+
charType: "consonant",
|
|
141
|
+
ipa: "tʃʼ"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
char: "k'",
|
|
145
|
+
id: "k_ej",
|
|
146
|
+
charType: "consonant",
|
|
147
|
+
ipa: "kʼ"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
char: "q'",
|
|
151
|
+
id: "q_ej",
|
|
152
|
+
charType: "consonant",
|
|
153
|
+
ipa: "qʼ"
|
|
154
|
+
}
|
|
155
|
+
], r = [
|
|
156
|
+
{
|
|
157
|
+
char: "i",
|
|
158
|
+
id: "i",
|
|
159
|
+
charType: "vowel",
|
|
160
|
+
ipa: "i"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
char: "a",
|
|
164
|
+
id: "a",
|
|
165
|
+
charType: "vowel",
|
|
166
|
+
ipa: "a"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
char: "u",
|
|
170
|
+
id: "u",
|
|
171
|
+
charType: "vowel",
|
|
172
|
+
ipa: "u"
|
|
173
|
+
}
|
|
174
|
+
], i = { categories: [
|
|
175
|
+
{
|
|
176
|
+
id: "consonants",
|
|
177
|
+
label: "Consonants",
|
|
178
|
+
sounds: e,
|
|
179
|
+
charType: "consonant",
|
|
180
|
+
color: "blue"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "aspirated",
|
|
184
|
+
label: "Aspirated Stops",
|
|
185
|
+
sounds: t,
|
|
186
|
+
charType: "consonant",
|
|
187
|
+
color: "red"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
id: "ejectives",
|
|
191
|
+
label: "Ejective Stops",
|
|
192
|
+
sounds: n,
|
|
193
|
+
charType: "consonant",
|
|
194
|
+
color: "red"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
id: "vowels",
|
|
198
|
+
label: "Vowels (3-vowel system)",
|
|
199
|
+
sounds: r,
|
|
200
|
+
charType: "vowel",
|
|
201
|
+
color: "green"
|
|
202
|
+
}
|
|
203
|
+
] };
|
|
204
|
+
//#endregion
|
|
205
|
+
export { t as quAspirated, n as quEjectives, e as quPlainConsonants, r as quVowels, i as quechuaSoundsConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyglot-bundles/qu-lang",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Quechua 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/
|
|
40
|
-
"@polyglot-bundles/
|
|
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",
|