@polyglot-bundles/tl-lang 0.1.0 → 0.1.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.
@@ -1,68 +1,382 @@
1
- function c(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
- // Short vowels
9
- { char: "a", id: "a", charType: "vowel", ipa: "a", name: "A", length: "short" },
10
- { char: "e", id: "e", charType: "vowel", ipa: "ɛ", name: "E", length: "short" },
11
- { char: "i", id: "i", charType: "vowel", ipa: "i", name: "I", length: "short" },
12
- { char: "o", id: "o", charType: "vowel", ipa: "ɔ", name: "O", length: "short" },
13
- { char: "u", id: "u", charType: "vowel", ipa: "u", name: "U", length: "short" },
14
- // Long vowels (diphthongs)
15
- { char: "á", id: "a_long", charType: "vowel", ipa: "aː", name: "A (long)", length: "long" },
16
- { char: "é", id: "e_long", charType: "vowel", ipa: "eː", name: "E (long)", length: "long" },
17
- { char: "í", id: "i_long", charType: "vowel", ipa: "iː", name: "I (long)", length: "long" },
18
- { char: "ó", id: "o_long", charType: "vowel", ipa: "oː", name: "O (long)", length: "long" },
19
- { char: "ú", id: "u_long", charType: "vowel", ipa: "uː", name: "U (long)", length: "long" },
20
- // Diphthongs
21
- { char: "ai", id: "ai", charType: "vowel", ipa: "ai", name: "AI", length: "short" },
22
- { char: "au", id: "au", charType: "vowel", ipa: "au", name: "AU", length: "short" },
23
- { char: "ei", id: "ei", charType: "vowel", ipa: "ɛi", name: "EI", length: "short" },
24
- { char: "oi", id: "oi", charType: "vowel", ipa: "ɔi", name: "OI", length: "short" },
25
- { char: "ui", id: "ui", charType: "vowel", ipa: "ui", name: "UI", length: "short" }
26
- ], n = [
27
- // Bilabial consonants
28
- { char: "b", id: "b", charType: "consonant", ipa: "b", name: "B", voicing: "voiced", articulation: "stop", place: "labial" },
29
- { char: "p", id: "p", charType: "consonant", ipa: "p", name: "P", voicing: "voiceless", articulation: "stop", place: "labial" },
30
- { char: "m", id: "m", charType: "consonant", ipa: "m", name: "M", voicing: "nasal", articulation: "nasal", place: "labial" },
31
- // Labiodental consonants
32
- { char: "f", id: "f_foreign", charType: "consonant", ipa: "f", name: "F (foreign)", voicing: "voiceless", articulation: "fricative", place: "labial" },
33
- { char: "v", id: "v_foreign", charType: "consonant", ipa: "v", name: "V (foreign)", voicing: "voiced", articulation: "fricative", place: "labial" },
34
- { char: "w", id: "w", charType: "consonant", ipa: "w", name: "W", voicing: "voiced", articulation: "approximant", place: "labial" },
35
- // Dental/Alveolar consonants
36
- { char: "t", id: "t", charType: "consonant", ipa: "t", name: "T", voicing: "voiceless", articulation: "stop", place: "dental" },
37
- { char: "d", id: "d", charType: "consonant", ipa: "d", name: "D", voicing: "voiced", articulation: "stop", place: "dental" },
38
- { char: "s", id: "s", charType: "consonant", ipa: "s", name: "S", voicing: "voiceless", articulation: "fricative", place: "alveolar" },
39
- { char: "z", id: "z_foreign", charType: "consonant", ipa: "z", name: "Z (foreign)", voicing: "voiced", articulation: "fricative", place: "alveolar" },
40
- { char: "n", id: "n", charType: "consonant", ipa: "n", name: "N", voicing: "nasal", articulation: "nasal", place: "alveolar" },
41
- { char: "l", id: "l", charType: "consonant", ipa: "l", name: "L", voicing: "lateral", articulation: "lateral", place: "alveolar" },
42
- { char: "r", id: "r", charType: "consonant", ipa: "r", name: "R", voicing: "trill", articulation: "trill", place: "alveolar" },
43
- // Palatal consonants
44
- { char: "y", id: "y", charType: "consonant", ipa: "j", name: "Y", voicing: "voiced", articulation: "approximant", place: "palatal" },
45
- { char: "j", id: "j_foreign", charType: "consonant", ipa: "dʒ", name: "J (foreign)", voicing: "voiced", articulation: "affricate", place: "palatal" },
46
- // Velar consonants
47
- { char: "k", id: "k", charType: "consonant", ipa: "k", name: "K", voicing: "voiceless", articulation: "stop", place: "velar" },
48
- { char: "g", id: "g", charType: "consonant", ipa: "ɡ", name: "G", voicing: "voiced", articulation: "stop", place: "velar" },
49
- { char: "ng", id: "ng", charType: "consonant", ipa: "ŋ", name: "NG", voicing: "nasal", articulation: "nasal", place: "velar" },
50
- { char: "h", id: "h", charType: "consonant", ipa: "h", name: "H", voicing: "voiceless", articulation: "fricative", place: "glottal" },
51
- // Other consonants
52
- { char: "q", id: "q_foreign", charType: "consonant", ipa: "k", name: "Q (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" },
53
- { char: "c", id: "c_foreign", charType: "consonant", ipa: "k", name: "C (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" },
54
- { char: "x", id: "x_foreign", charType: "consonant", ipa: "ks", name: "X (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" },
55
- { char: "b", id: "b_fricative", charType: "consonant", ipa: "β", name: "B (fricative)", voicing: "voiced", articulation: "fricative", place: "labial" },
56
- { char: "d", id: "d_fricative", charType: "consonant", ipa: "ð", name: "D (fricative)", voicing: "voiced", articulation: "fricative", place: "dental" },
57
- { char: "g", id: "g_fricative", charType: "consonant", ipa: "ɣ", name: "G (fricative)", voicing: "voiced", articulation: "fricative", place: "velar" }
58
- ], o = [
59
- ...i,
60
- ...n
61
- ];
62
- export {
63
- e as isConsonant,
64
- c as isVowel,
65
- o as tagalogAllCharacters,
66
- n as tagalogConsonants,
67
- i as tagalogVowels
68
- };
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: "e",
19
+ id: "e",
20
+ charType: "vowel",
21
+ ipa: "ɛ",
22
+ name: "E",
23
+ length: "short"
24
+ },
25
+ {
26
+ char: "i",
27
+ id: "i",
28
+ charType: "vowel",
29
+ ipa: "i",
30
+ name: "I",
31
+ length: "short"
32
+ },
33
+ {
34
+ char: "o",
35
+ id: "o",
36
+ charType: "vowel",
37
+ ipa: "ɔ",
38
+ name: "O",
39
+ length: "short"
40
+ },
41
+ {
42
+ char: "u",
43
+ id: "u",
44
+ charType: "vowel",
45
+ ipa: "u",
46
+ name: "U",
47
+ length: "short"
48
+ },
49
+ {
50
+ char: "á",
51
+ id: "a_long",
52
+ charType: "vowel",
53
+ ipa: "",
54
+ name: "A (long)",
55
+ length: "long"
56
+ },
57
+ {
58
+ char: "é",
59
+ id: "e_long",
60
+ charType: "vowel",
61
+ ipa: "eː",
62
+ name: "E (long)",
63
+ length: "long"
64
+ },
65
+ {
66
+ char: "í",
67
+ id: "i_long",
68
+ charType: "vowel",
69
+ ipa: "iː",
70
+ name: "I (long)",
71
+ length: "long"
72
+ },
73
+ {
74
+ char: "ó",
75
+ id: "o_long",
76
+ charType: "vowel",
77
+ ipa: "oː",
78
+ name: "O (long)",
79
+ length: "long"
80
+ },
81
+ {
82
+ char: "ú",
83
+ id: "u_long",
84
+ charType: "vowel",
85
+ ipa: "uː",
86
+ name: "U (long)",
87
+ length: "long"
88
+ },
89
+ {
90
+ char: "ai",
91
+ id: "ai",
92
+ charType: "vowel",
93
+ ipa: "ai",
94
+ name: "AI",
95
+ length: "short"
96
+ },
97
+ {
98
+ char: "au",
99
+ id: "au",
100
+ charType: "vowel",
101
+ ipa: "au",
102
+ name: "AU",
103
+ length: "short"
104
+ },
105
+ {
106
+ char: "ei",
107
+ id: "ei",
108
+ charType: "vowel",
109
+ ipa: "ɛi",
110
+ name: "EI",
111
+ length: "short"
112
+ },
113
+ {
114
+ char: "oi",
115
+ id: "oi",
116
+ charType: "vowel",
117
+ ipa: "ɔi",
118
+ name: "OI",
119
+ length: "short"
120
+ },
121
+ {
122
+ char: "ui",
123
+ id: "ui",
124
+ charType: "vowel",
125
+ ipa: "ui",
126
+ name: "UI",
127
+ length: "short"
128
+ }
129
+ ], r = [
130
+ {
131
+ char: "b",
132
+ id: "b",
133
+ charType: "consonant",
134
+ ipa: "b",
135
+ name: "B",
136
+ voicing: "voiced",
137
+ articulation: "stop",
138
+ place: "labial"
139
+ },
140
+ {
141
+ char: "p",
142
+ id: "p",
143
+ charType: "consonant",
144
+ ipa: "p",
145
+ name: "P",
146
+ voicing: "voiceless",
147
+ articulation: "stop",
148
+ place: "labial"
149
+ },
150
+ {
151
+ char: "m",
152
+ id: "m",
153
+ charType: "consonant",
154
+ ipa: "m",
155
+ name: "M",
156
+ voicing: "nasal",
157
+ articulation: "nasal",
158
+ place: "labial"
159
+ },
160
+ {
161
+ char: "f",
162
+ id: "f_foreign",
163
+ charType: "consonant",
164
+ ipa: "f",
165
+ name: "F (foreign)",
166
+ voicing: "voiceless",
167
+ articulation: "fricative",
168
+ place: "labial"
169
+ },
170
+ {
171
+ char: "v",
172
+ id: "v_foreign",
173
+ charType: "consonant",
174
+ ipa: "v",
175
+ name: "V (foreign)",
176
+ voicing: "voiced",
177
+ articulation: "fricative",
178
+ place: "labial"
179
+ },
180
+ {
181
+ char: "w",
182
+ id: "w",
183
+ charType: "consonant",
184
+ ipa: "w",
185
+ name: "W",
186
+ voicing: "voiced",
187
+ articulation: "approximant",
188
+ place: "labial"
189
+ },
190
+ {
191
+ char: "t",
192
+ id: "t",
193
+ charType: "consonant",
194
+ ipa: "t",
195
+ name: "T",
196
+ voicing: "voiceless",
197
+ articulation: "stop",
198
+ place: "dental"
199
+ },
200
+ {
201
+ char: "d",
202
+ id: "d",
203
+ charType: "consonant",
204
+ ipa: "d",
205
+ name: "D",
206
+ voicing: "voiced",
207
+ articulation: "stop",
208
+ place: "dental"
209
+ },
210
+ {
211
+ char: "s",
212
+ id: "s",
213
+ charType: "consonant",
214
+ ipa: "s",
215
+ name: "S",
216
+ voicing: "voiceless",
217
+ articulation: "fricative",
218
+ place: "alveolar"
219
+ },
220
+ {
221
+ char: "z",
222
+ id: "z_foreign",
223
+ charType: "consonant",
224
+ ipa: "z",
225
+ name: "Z (foreign)",
226
+ voicing: "voiced",
227
+ articulation: "fricative",
228
+ place: "alveolar"
229
+ },
230
+ {
231
+ char: "n",
232
+ id: "n",
233
+ charType: "consonant",
234
+ ipa: "n",
235
+ name: "N",
236
+ voicing: "nasal",
237
+ articulation: "nasal",
238
+ place: "alveolar"
239
+ },
240
+ {
241
+ char: "l",
242
+ id: "l",
243
+ charType: "consonant",
244
+ ipa: "l",
245
+ name: "L",
246
+ voicing: "lateral",
247
+ articulation: "lateral",
248
+ place: "alveolar"
249
+ },
250
+ {
251
+ char: "r",
252
+ id: "r",
253
+ charType: "consonant",
254
+ ipa: "r",
255
+ name: "R",
256
+ voicing: "trill",
257
+ articulation: "trill",
258
+ place: "alveolar"
259
+ },
260
+ {
261
+ char: "y",
262
+ id: "y",
263
+ charType: "consonant",
264
+ ipa: "j",
265
+ name: "Y",
266
+ voicing: "voiced",
267
+ articulation: "approximant",
268
+ place: "palatal"
269
+ },
270
+ {
271
+ char: "j",
272
+ id: "j_foreign",
273
+ charType: "consonant",
274
+ ipa: "dʒ",
275
+ name: "J (foreign)",
276
+ voicing: "voiced",
277
+ articulation: "affricate",
278
+ place: "palatal"
279
+ },
280
+ {
281
+ char: "k",
282
+ id: "k",
283
+ charType: "consonant",
284
+ ipa: "k",
285
+ name: "K",
286
+ voicing: "voiceless",
287
+ articulation: "stop",
288
+ place: "velar"
289
+ },
290
+ {
291
+ char: "g",
292
+ id: "g",
293
+ charType: "consonant",
294
+ ipa: "ɡ",
295
+ name: "G",
296
+ voicing: "voiced",
297
+ articulation: "stop",
298
+ place: "velar"
299
+ },
300
+ {
301
+ char: "ng",
302
+ id: "ng",
303
+ charType: "consonant",
304
+ ipa: "ŋ",
305
+ name: "NG",
306
+ voicing: "nasal",
307
+ articulation: "nasal",
308
+ place: "velar"
309
+ },
310
+ {
311
+ char: "h",
312
+ id: "h",
313
+ charType: "consonant",
314
+ ipa: "h",
315
+ name: "H",
316
+ voicing: "voiceless",
317
+ articulation: "fricative",
318
+ place: "glottal"
319
+ },
320
+ {
321
+ char: "q",
322
+ id: "q_foreign",
323
+ charType: "consonant",
324
+ ipa: "k",
325
+ name: "Q (foreign)",
326
+ voicing: "voiceless",
327
+ articulation: "stop",
328
+ place: "velar"
329
+ },
330
+ {
331
+ char: "c",
332
+ id: "c_foreign",
333
+ charType: "consonant",
334
+ ipa: "k",
335
+ name: "C (foreign)",
336
+ voicing: "voiceless",
337
+ articulation: "stop",
338
+ place: "velar"
339
+ },
340
+ {
341
+ char: "x",
342
+ id: "x_foreign",
343
+ charType: "consonant",
344
+ ipa: "ks",
345
+ name: "X (foreign)",
346
+ voicing: "voiceless",
347
+ articulation: "stop",
348
+ place: "velar"
349
+ },
350
+ {
351
+ char: "b",
352
+ id: "b_fricative",
353
+ charType: "consonant",
354
+ ipa: "β",
355
+ name: "B (fricative)",
356
+ voicing: "voiced",
357
+ articulation: "fricative",
358
+ place: "labial"
359
+ },
360
+ {
361
+ char: "d",
362
+ id: "d_fricative",
363
+ charType: "consonant",
364
+ ipa: "ð",
365
+ name: "D (fricative)",
366
+ voicing: "voiced",
367
+ articulation: "fricative",
368
+ place: "dental"
369
+ },
370
+ {
371
+ char: "g",
372
+ id: "g_fricative",
373
+ charType: "consonant",
374
+ ipa: "ɣ",
375
+ name: "G (fricative)",
376
+ voicing: "voiced",
377
+ articulation: "fricative",
378
+ place: "velar"
379
+ }
380
+ ], i = [...n, ...r];
381
+ //#endregion
382
+ export { t as isConsonant, e as isVowel, i as tagalogAllCharacters, r as tagalogConsonants, n as tagalogVowels };
package/dist/index.js CHANGED
@@ -1,8 +1,2 @@
1
- import { isConsonant as l, isVowel as s, tagalogAllCharacters as t, tagalogConsonants as g, tagalogVowels as n } from "./characters.js";
2
- export {
3
- l as isConsonant,
4
- s as isVowel,
5
- t as tagalogAllCharacters,
6
- g as tagalogConsonants,
7
- n as tagalogVowels
8
- };
1
+ import { isConsonant as e, isVowel as t, tagalogAllCharacters as n, tagalogConsonants as r, tagalogVowels as i } from "./characters.js";
2
+ export { e as isConsonant, t as isVowel, n as tagalogAllCharacters, r as tagalogConsonants, i as tagalogVowels };
@@ -41,3 +41,4 @@ export declare const tagalogVowels: TagalogVowelsInfo[];
41
41
  export declare const tagalogConsonants: TagalogConsonantsInfo[];
42
42
  export declare const tagalogAllCharacters: (TagalogVowelsInfo | TagalogConsonantsInfo)[];
43
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,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,CAAC;CACxF,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,EAmB5C,CAAC;AAMF,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,EAgCpD,CAAC;AAMF,eAAO,MAAM,oBAAoB,+CAGhC,CAAC"}
@@ -1 +1,2 @@
1
1
  export { tagalogVowels, tagalogConsonants, tagalogAllCharacters, type TagalogVowelsInfo, type TagalogConsonantsInfo, type TagalogCharacter, 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,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,OAAO,EACP,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/tl-lang",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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.3.0"
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/tl/lang"
31
29
  },
32
30
  "scripts": {
33
- "build": "vite build",
34
- "clean": "rm -rf dist"
31
+ "build": "vite build"
35
32
  }
36
33
  }