@laeng/ka 0.2.0
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/index.d.ts +4 -0
- package/dist/characters/index.d.ts.map +1 -0
- package/dist/characters.js +327 -0
- package/dist/ids.d.ts +27 -0
- package/dist/ids.d.ts.map +1 -0
- package/dist/ids.js +77 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/types/index.d.ts +37 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types.js +14 -0
- package/package.json +57 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/characters/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAyC9C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,EAyRtD,CAAC"}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
const i = [
|
|
2
|
+
{
|
|
3
|
+
char: "ა",
|
|
4
|
+
id: "ani",
|
|
5
|
+
charType: "vowel",
|
|
6
|
+
georgianName: "ა ანი",
|
|
7
|
+
transliteration: "a",
|
|
8
|
+
ipa: "ɑ"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
char: "ე",
|
|
12
|
+
id: "eni",
|
|
13
|
+
charType: "vowel",
|
|
14
|
+
georgianName: "ე ენი",
|
|
15
|
+
transliteration: "e",
|
|
16
|
+
ipa: "ɛ"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
char: "ი",
|
|
20
|
+
id: "ini",
|
|
21
|
+
charType: "vowel",
|
|
22
|
+
georgianName: "ი ინი",
|
|
23
|
+
transliteration: "i",
|
|
24
|
+
ipa: "i"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
char: "ო",
|
|
28
|
+
id: "oni",
|
|
29
|
+
charType: "vowel",
|
|
30
|
+
georgianName: "ო ონი",
|
|
31
|
+
transliteration: "o",
|
|
32
|
+
ipa: "ɔ"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
char: "უ",
|
|
36
|
+
id: "uni",
|
|
37
|
+
charType: "vowel",
|
|
38
|
+
georgianName: "უ უნი",
|
|
39
|
+
transliteration: "u",
|
|
40
|
+
ipa: "u"
|
|
41
|
+
}
|
|
42
|
+
], a = [
|
|
43
|
+
{
|
|
44
|
+
char: "ბ",
|
|
45
|
+
id: "bani",
|
|
46
|
+
charType: "consonant",
|
|
47
|
+
georgianName: "ბ ბანი",
|
|
48
|
+
transliteration: "b",
|
|
49
|
+
ipa: "b",
|
|
50
|
+
phoneticCategory: "stop",
|
|
51
|
+
voicing: "voiced"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
char: "გ",
|
|
55
|
+
id: "gani",
|
|
56
|
+
charType: "consonant",
|
|
57
|
+
georgianName: "გ განი",
|
|
58
|
+
transliteration: "g",
|
|
59
|
+
ipa: "ɡ",
|
|
60
|
+
phoneticCategory: "stop",
|
|
61
|
+
voicing: "voiced"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
char: "დ",
|
|
65
|
+
id: "doni",
|
|
66
|
+
charType: "consonant",
|
|
67
|
+
georgianName: "დ დონი",
|
|
68
|
+
transliteration: "d",
|
|
69
|
+
ipa: "d",
|
|
70
|
+
phoneticCategory: "stop",
|
|
71
|
+
voicing: "voiced"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
char: "ვ",
|
|
75
|
+
id: "vini",
|
|
76
|
+
charType: "consonant",
|
|
77
|
+
georgianName: "ვ ვინი",
|
|
78
|
+
transliteration: "v",
|
|
79
|
+
ipa: "v",
|
|
80
|
+
phoneticCategory: "fricative",
|
|
81
|
+
voicing: "voiced"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
char: "ზ",
|
|
85
|
+
id: "zeni",
|
|
86
|
+
charType: "consonant",
|
|
87
|
+
georgianName: "ზ ზენი",
|
|
88
|
+
transliteration: "z",
|
|
89
|
+
ipa: "z",
|
|
90
|
+
phoneticCategory: "fricative",
|
|
91
|
+
voicing: "voiced"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
char: "თ",
|
|
95
|
+
id: "tani",
|
|
96
|
+
charType: "consonant",
|
|
97
|
+
georgianName: "თ თანი",
|
|
98
|
+
transliteration: "t",
|
|
99
|
+
ipa: "tʰ",
|
|
100
|
+
phoneticCategory: "stop",
|
|
101
|
+
voicing: "voiceless"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
char: "კ",
|
|
105
|
+
id: "kani",
|
|
106
|
+
charType: "consonant",
|
|
107
|
+
georgianName: "კ კანი",
|
|
108
|
+
transliteration: "k'",
|
|
109
|
+
ipa: "kʼ",
|
|
110
|
+
phoneticCategory: "stop",
|
|
111
|
+
voicing: "ejective"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
char: "ლ",
|
|
115
|
+
id: "lasi",
|
|
116
|
+
charType: "consonant",
|
|
117
|
+
georgianName: "ლ ლასი",
|
|
118
|
+
transliteration: "l",
|
|
119
|
+
ipa: "l",
|
|
120
|
+
phoneticCategory: "liquid",
|
|
121
|
+
voicing: "voiced"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
char: "მ",
|
|
125
|
+
id: "mani",
|
|
126
|
+
charType: "consonant",
|
|
127
|
+
georgianName: "მ მანი",
|
|
128
|
+
transliteration: "m",
|
|
129
|
+
ipa: "m",
|
|
130
|
+
phoneticCategory: "nasal",
|
|
131
|
+
voicing: "voiced"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
char: "ნ",
|
|
135
|
+
id: "nari",
|
|
136
|
+
charType: "consonant",
|
|
137
|
+
georgianName: "ნ ნარი",
|
|
138
|
+
transliteration: "n",
|
|
139
|
+
ipa: "n",
|
|
140
|
+
phoneticCategory: "nasal",
|
|
141
|
+
voicing: "voiced"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
char: "პ",
|
|
145
|
+
id: "pari",
|
|
146
|
+
charType: "consonant",
|
|
147
|
+
georgianName: "პ პარი",
|
|
148
|
+
transliteration: "p'",
|
|
149
|
+
ipa: "pʼ",
|
|
150
|
+
phoneticCategory: "stop",
|
|
151
|
+
voicing: "ejective"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
char: "ჟ",
|
|
155
|
+
id: "zhani",
|
|
156
|
+
charType: "consonant",
|
|
157
|
+
georgianName: "ჟ ჟანი",
|
|
158
|
+
transliteration: "zh",
|
|
159
|
+
ipa: "ʒ",
|
|
160
|
+
phoneticCategory: "fricative",
|
|
161
|
+
voicing: "voiced"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
char: "რ",
|
|
165
|
+
id: "rae",
|
|
166
|
+
charType: "consonant",
|
|
167
|
+
georgianName: "რ რაე",
|
|
168
|
+
transliteration: "r",
|
|
169
|
+
ipa: "r",
|
|
170
|
+
phoneticCategory: "liquid",
|
|
171
|
+
voicing: "voiced"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
char: "ს",
|
|
175
|
+
id: "sani",
|
|
176
|
+
charType: "consonant",
|
|
177
|
+
georgianName: "ს სანი",
|
|
178
|
+
transliteration: "s",
|
|
179
|
+
ipa: "s",
|
|
180
|
+
phoneticCategory: "fricative",
|
|
181
|
+
voicing: "voiceless"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
char: "ტ",
|
|
185
|
+
id: "tari",
|
|
186
|
+
charType: "consonant",
|
|
187
|
+
georgianName: "ტ ტარი",
|
|
188
|
+
transliteration: "t'",
|
|
189
|
+
ipa: "tʼ",
|
|
190
|
+
phoneticCategory: "stop",
|
|
191
|
+
voicing: "ejective"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
char: "ფ",
|
|
195
|
+
id: "phari",
|
|
196
|
+
charType: "consonant",
|
|
197
|
+
georgianName: "ფ ფარი",
|
|
198
|
+
transliteration: "p",
|
|
199
|
+
ipa: "pʰ",
|
|
200
|
+
phoneticCategory: "stop",
|
|
201
|
+
voicing: "voiceless"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
char: "ქ",
|
|
205
|
+
id: "qani",
|
|
206
|
+
charType: "consonant",
|
|
207
|
+
georgianName: "ქ ქანი",
|
|
208
|
+
transliteration: "k",
|
|
209
|
+
ipa: "kʰ",
|
|
210
|
+
phoneticCategory: "stop",
|
|
211
|
+
voicing: "voiceless"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
char: "ღ",
|
|
215
|
+
id: "ghani",
|
|
216
|
+
charType: "consonant",
|
|
217
|
+
georgianName: "ღ ღანი",
|
|
218
|
+
transliteration: "gh",
|
|
219
|
+
ipa: "ɣ",
|
|
220
|
+
phoneticCategory: "fricative",
|
|
221
|
+
voicing: "voiced"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
char: "ყ",
|
|
225
|
+
id: "qari",
|
|
226
|
+
charType: "consonant",
|
|
227
|
+
georgianName: "ყ ყარი",
|
|
228
|
+
transliteration: "q'",
|
|
229
|
+
ipa: "qʼ",
|
|
230
|
+
phoneticCategory: "stop",
|
|
231
|
+
voicing: "ejective"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
char: "შ",
|
|
235
|
+
id: "shini",
|
|
236
|
+
charType: "consonant",
|
|
237
|
+
georgianName: "შ შინი",
|
|
238
|
+
transliteration: "sh",
|
|
239
|
+
ipa: "ʃ",
|
|
240
|
+
phoneticCategory: "fricative",
|
|
241
|
+
voicing: "voiceless"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
char: "ჩ",
|
|
245
|
+
id: "chini",
|
|
246
|
+
charType: "consonant",
|
|
247
|
+
georgianName: "ჩ ჩინი",
|
|
248
|
+
transliteration: "ch",
|
|
249
|
+
ipa: "t͡ʃʰ",
|
|
250
|
+
phoneticCategory: "affricate",
|
|
251
|
+
voicing: "voiceless"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
char: "ც",
|
|
255
|
+
id: "tsani",
|
|
256
|
+
charType: "consonant",
|
|
257
|
+
georgianName: "ც ცანი",
|
|
258
|
+
transliteration: "ts",
|
|
259
|
+
ipa: "t͡sʰ",
|
|
260
|
+
phoneticCategory: "affricate",
|
|
261
|
+
voicing: "voiceless"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
char: "ძ",
|
|
265
|
+
id: "dzili",
|
|
266
|
+
charType: "consonant",
|
|
267
|
+
georgianName: "ძ ძილი",
|
|
268
|
+
transliteration: "dz",
|
|
269
|
+
ipa: "d͡z",
|
|
270
|
+
phoneticCategory: "affricate",
|
|
271
|
+
voicing: "voiced"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
char: "წ",
|
|
275
|
+
id: "tsili",
|
|
276
|
+
charType: "consonant",
|
|
277
|
+
georgianName: "წ წილი",
|
|
278
|
+
transliteration: "ts'",
|
|
279
|
+
ipa: "t͡sʼ",
|
|
280
|
+
phoneticCategory: "affricate",
|
|
281
|
+
voicing: "ejective"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
char: "ჭ",
|
|
285
|
+
id: "chari",
|
|
286
|
+
charType: "consonant",
|
|
287
|
+
georgianName: "ჭ ჭარი",
|
|
288
|
+
transliteration: "ch'",
|
|
289
|
+
ipa: "t͡ʃʼ",
|
|
290
|
+
phoneticCategory: "affricate",
|
|
291
|
+
voicing: "ejective"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
char: "ხ",
|
|
295
|
+
id: "khani",
|
|
296
|
+
charType: "consonant",
|
|
297
|
+
georgianName: "ხ ხანი",
|
|
298
|
+
transliteration: "kh",
|
|
299
|
+
ipa: "x",
|
|
300
|
+
phoneticCategory: "fricative",
|
|
301
|
+
voicing: "voiceless"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
char: "ჯ",
|
|
305
|
+
id: "jani",
|
|
306
|
+
charType: "consonant",
|
|
307
|
+
georgianName: "ჯ ჯანი",
|
|
308
|
+
transliteration: "j",
|
|
309
|
+
ipa: "d͡ʒ",
|
|
310
|
+
phoneticCategory: "affricate",
|
|
311
|
+
voicing: "voiced"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
char: "ჰ",
|
|
315
|
+
id: "hae",
|
|
316
|
+
charType: "consonant",
|
|
317
|
+
georgianName: "ჰ ჰაე",
|
|
318
|
+
transliteration: "h",
|
|
319
|
+
ipa: "h",
|
|
320
|
+
phoneticCategory: "fricative",
|
|
321
|
+
voicing: "voiceless"
|
|
322
|
+
}
|
|
323
|
+
];
|
|
324
|
+
export {
|
|
325
|
+
a as georgianConsonants,
|
|
326
|
+
i as georgianVowels
|
|
327
|
+
};
|
package/dist/ids.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical Georgian Character IDs
|
|
3
|
+
*
|
|
4
|
+
* This file exports the canonical IDs used across Georgian language learning content.
|
|
5
|
+
* These IDs are the source of truth for @syllst/ka and other packages.
|
|
6
|
+
* IDs use traditional Georgian letter names (Mkhedruli alphabet).
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Georgian vowel IDs — the 5 vowels of Mkhedruli
|
|
10
|
+
*/
|
|
11
|
+
export declare const GEORGIAN_VOWEL_IDS: readonly ["ani", "eni", "ini", "oni", "uni"];
|
|
12
|
+
/**
|
|
13
|
+
* Georgian consonant IDs — 28 consonants of Mkhedruli
|
|
14
|
+
* Ordered by traditional Georgian alphabet order
|
|
15
|
+
*/
|
|
16
|
+
export declare const GEORGIAN_CONSONANT_IDS: readonly ["bani", "gani", "doni", "vini", "zeni", "tani", "kani", "lasi", "mani", "nari", "pari", "zhani", "rae", "sani", "tari", "phari", "qani", "ghani", "qari", "shini", "chini", "tsani", "dzili", "tsili", "chari", "khani", "jani", "hae"];
|
|
17
|
+
/**
|
|
18
|
+
* All Georgian character IDs grouped by type
|
|
19
|
+
*/
|
|
20
|
+
export declare const GEORGIAN_CHAR_IDS: {
|
|
21
|
+
readonly vowels: readonly ["ani", "eni", "ini", "oni", "uni"];
|
|
22
|
+
readonly consonants: readonly ["bani", "gani", "doni", "vini", "zeni", "tani", "kani", "lasi", "mani", "nari", "pari", "zhani", "rae", "sani", "tari", "phari", "qani", "ghani", "qari", "shini", "chini", "tsani", "dzili", "tsili", "chari", "khani", "jani", "hae"];
|
|
23
|
+
};
|
|
24
|
+
export type GeorgianVowelId = typeof GEORGIAN_VOWEL_IDS[number];
|
|
25
|
+
export type GeorgianConsonantId = typeof GEORGIAN_CONSONANT_IDS[number];
|
|
26
|
+
export type GeorgianCharacterId = GeorgianVowelId | GeorgianConsonantId;
|
|
27
|
+
//# sourceMappingURL=ids.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../src/ids.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB,8CAMrB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,sBAAsB,mPA6BzB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAGX,MAAM,MAAM,eAAe,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAC3B,eAAe,GACf,mBAAmB,CAAC"}
|
package/dist/ids.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
const i = [
|
|
2
|
+
"ani",
|
|
3
|
+
// ა (a)
|
|
4
|
+
"eni",
|
|
5
|
+
// ე (e)
|
|
6
|
+
"ini",
|
|
7
|
+
// ი (i)
|
|
8
|
+
"oni",
|
|
9
|
+
// ო (o)
|
|
10
|
+
"uni"
|
|
11
|
+
// უ (u)
|
|
12
|
+
], n = [
|
|
13
|
+
"bani",
|
|
14
|
+
// ბ (b) - voiced stop
|
|
15
|
+
"gani",
|
|
16
|
+
// გ (g) - voiced stop
|
|
17
|
+
"doni",
|
|
18
|
+
// დ (d) - voiced stop
|
|
19
|
+
"vini",
|
|
20
|
+
// ვ (v) - fricative
|
|
21
|
+
"zeni",
|
|
22
|
+
// ზ (z) - voiced fricative
|
|
23
|
+
"tani",
|
|
24
|
+
// თ (t) - aspirated stop
|
|
25
|
+
"kani",
|
|
26
|
+
// კ (k') - ejective stop
|
|
27
|
+
"lasi",
|
|
28
|
+
// ლ (l) - liquid
|
|
29
|
+
"mani",
|
|
30
|
+
// მ (m) - nasal
|
|
31
|
+
"nari",
|
|
32
|
+
// ნ (n) - nasal
|
|
33
|
+
"pari",
|
|
34
|
+
// პ (p') - ejective stop
|
|
35
|
+
"zhani",
|
|
36
|
+
// ჟ (zh) - voiced fricative
|
|
37
|
+
"rae",
|
|
38
|
+
// რ (r) - liquid
|
|
39
|
+
"sani",
|
|
40
|
+
// ს (s) - voiceless fricative
|
|
41
|
+
"tari",
|
|
42
|
+
// ტ (t') - ejective stop
|
|
43
|
+
"phari",
|
|
44
|
+
// ფ (ph) - aspirated stop
|
|
45
|
+
"qani",
|
|
46
|
+
// ქ (q) - aspirated stop
|
|
47
|
+
"ghani",
|
|
48
|
+
// ღ (gh) - voiced fricative
|
|
49
|
+
"qari",
|
|
50
|
+
// ყ (q') - ejective stop
|
|
51
|
+
"shini",
|
|
52
|
+
// შ (sh) - voiceless fricative
|
|
53
|
+
"chini",
|
|
54
|
+
// ჩ (ch) - aspirated affricate
|
|
55
|
+
"tsani",
|
|
56
|
+
// ც (ts) - aspirated affricate
|
|
57
|
+
"dzili",
|
|
58
|
+
// ძ (dz) - voiced affricate
|
|
59
|
+
"tsili",
|
|
60
|
+
// წ (ts') - ejective affricate
|
|
61
|
+
"chari",
|
|
62
|
+
// ჭ (ch') - ejective affricate
|
|
63
|
+
"khani",
|
|
64
|
+
// ხ (kh) - voiceless fricative
|
|
65
|
+
"jani",
|
|
66
|
+
// ჯ (j) - voiced affricate
|
|
67
|
+
"hae"
|
|
68
|
+
// ჰ (h) - voiceless fricative
|
|
69
|
+
], a = {
|
|
70
|
+
vowels: i,
|
|
71
|
+
consonants: n
|
|
72
|
+
};
|
|
73
|
+
export {
|
|
74
|
+
a as GEORGIAN_CHAR_IDS,
|
|
75
|
+
n as GEORGIAN_CONSONANT_IDS,
|
|
76
|
+
i as GEORGIAN_VOWEL_IDS
|
|
77
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @laeng/ka - Georgian Language Foundation Data
|
|
3
|
+
*
|
|
4
|
+
* This package provides the foundational data for Georgian language learning:
|
|
5
|
+
* - Character data (vowels and consonants in Mkhedruli script)
|
|
6
|
+
* - Canonical IDs for cross-package consistency
|
|
7
|
+
* - Type definitions for Georgian characters
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { georgianConsonants, georgianVowels } from "@laeng/ka";
|
|
12
|
+
* import { GEORGIAN_CHAR_IDS } from "@laeng/ka/ids";
|
|
13
|
+
* import type { GeorgianConsonantsInfo } from "@laeng/ka/types";
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export { georgianConsonants, georgianVowels, } from './characters';
|
|
17
|
+
export { GEORGIAN_VOWEL_IDS, GEORGIAN_CONSONANT_IDS, GEORGIAN_CHAR_IDS, } from './ids';
|
|
18
|
+
export type { GeorgianConsonantsInfo, GeorgianVowelsInfo, GeorgianCharacter, } from './types';
|
|
19
|
+
export { isVowel, isConsonant, getDisplayCharacter, } from './types';
|
|
20
|
+
export type { GeorgianVowelId, GeorgianConsonantId, GeorgianCharacterId, } from './ids';
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,kBAAkB,EAClB,cAAc,GACf,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,OAAO,CAAC;AAGf,YAAY,EACV,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,OAAO,EACP,WAAW,EACX,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,OAAO,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { georgianConsonants as e, georgianVowels as n } from "./characters.js";
|
|
2
|
+
import { GEORGIAN_CHAR_IDS as s, GEORGIAN_CONSONANT_IDS as t, GEORGIAN_VOWEL_IDS as G } from "./ids.js";
|
|
3
|
+
import { getDisplayCharacter as N, isConsonant as O, isVowel as _ } from "./types.js";
|
|
4
|
+
export {
|
|
5
|
+
s as GEORGIAN_CHAR_IDS,
|
|
6
|
+
t as GEORGIAN_CONSONANT_IDS,
|
|
7
|
+
G as GEORGIAN_VOWEL_IDS,
|
|
8
|
+
e as georgianConsonants,
|
|
9
|
+
n as georgianVowels,
|
|
10
|
+
N as getDisplayCharacter,
|
|
11
|
+
O as isConsonant,
|
|
12
|
+
_ as isVowel
|
|
13
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Georgian Character Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for Georgian characters (Mkhedruli script).
|
|
5
|
+
* Georgian has a simple phonological system: 5 vowels and 28 consonants
|
|
6
|
+
* with a distinctive three-way stop contrast (voiced/aspirated/ejective).
|
|
7
|
+
*/
|
|
8
|
+
type GeorgianCharacterBaseInfo = {
|
|
9
|
+
char: string;
|
|
10
|
+
id: string;
|
|
11
|
+
display?: string;
|
|
12
|
+
audio?: string;
|
|
13
|
+
notes?: string;
|
|
14
|
+
};
|
|
15
|
+
export type GeorgianVowelsInfo = {
|
|
16
|
+
charType: "vowel";
|
|
17
|
+
georgianName: string;
|
|
18
|
+
transliteration: string;
|
|
19
|
+
ipa: string;
|
|
20
|
+
} & GeorgianCharacterBaseInfo;
|
|
21
|
+
export type GeorgianConsonantsInfo = {
|
|
22
|
+
charType: "consonant";
|
|
23
|
+
georgianName: string;
|
|
24
|
+
transliteration: string;
|
|
25
|
+
ipa: string;
|
|
26
|
+
phoneticCategory: "stop" | "fricative" | "affricate" | "nasal" | "liquid";
|
|
27
|
+
voicing: "voiced" | "voiceless" | "ejective";
|
|
28
|
+
} & GeorgianCharacterBaseInfo;
|
|
29
|
+
export type GeorgianCharacter = GeorgianVowelsInfo | GeorgianConsonantsInfo;
|
|
30
|
+
export declare function isVowel(character: GeorgianCharacter): character is GeorgianVowelsInfo;
|
|
31
|
+
export declare function isConsonant(character: GeorgianCharacter): character is GeorgianConsonantsInfo;
|
|
32
|
+
/**
|
|
33
|
+
* Get the display character for a Georgian character
|
|
34
|
+
*/
|
|
35
|
+
export declare function getDisplayCharacter(character: GeorgianCharacter): string;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,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,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,yBAAyB,CAAC;AAE9B,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,WAAW,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC1E,OAAO,EAAE,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;CAC9C,GAAG,yBAAyB,CAAC;AAG9B,MAAM,MAAM,iBAAiB,GACzB,kBAAkB,GAClB,sBAAsB,CAAC;AAG3B,wBAAgB,OAAO,CAAC,SAAS,EAAE,iBAAiB,GAAG,SAAS,IAAI,kBAAkB,CAErF;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,iBAAiB,GAAG,SAAS,IAAI,sBAAsB,CAE7F;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,iBAAiB,GAAG,MAAM,CAExE"}
|
package/dist/types.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@laeng/ka",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Georgian language foundation data - characters and transliterations (Mkhedruli script)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./characters": {
|
|
14
|
+
"types": "./dist/characters/index.d.ts",
|
|
15
|
+
"import": "./dist/characters/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./types": {
|
|
18
|
+
"types": "./dist/types/index.d.ts",
|
|
19
|
+
"import": "./dist/types/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./ids": {
|
|
22
|
+
"types": "./dist/ids.d.ts",
|
|
23
|
+
"import": "./dist/ids.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"dependencies": {},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"vite": "^5.4.0",
|
|
32
|
+
"vite-plugin-dts": "^4.0.0"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"georgian",
|
|
39
|
+
"kartuli",
|
|
40
|
+
"language-learning",
|
|
41
|
+
"laeng",
|
|
42
|
+
"characters",
|
|
43
|
+
"mkhedruli"
|
|
44
|
+
],
|
|
45
|
+
"license": "MIT",
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/fustilio/polyglot-bundles",
|
|
49
|
+
"directory": "packages/ka/laeng"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "vite build",
|
|
53
|
+
"clean": "rm -rf dist",
|
|
54
|
+
"lint": "eslint src",
|
|
55
|
+
"test": "vitest run"
|
|
56
|
+
}
|
|
57
|
+
}
|