@polyglot-bundles/ka-lang 0.3.5 → 1.0.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.d.ts +4 -0
- package/dist/characters.d.ts.map +1 -1
- package/dist/characters.js +541 -326
- package/dist/ids.d.ts +1 -1
- package/dist/ids.js +12 -76
- package/dist/index.d.ts +9 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -20
- package/dist/sounds.js +95 -101
- package/dist/types.d.ts +23 -10
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +9 -11
- package/package.json +6 -8
package/dist/ids.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Canonical Georgian Character IDs
|
|
3
3
|
*
|
|
4
4
|
* This file exports the canonical IDs used across Georgian language learning content.
|
|
5
|
-
* These IDs are the source of truth for @
|
|
5
|
+
* These IDs are the source of truth for @polyglot-bundles/ka-syllabi and other packages.
|
|
6
6
|
* IDs use traditional Georgian letter names (Mkhedruli alphabet).
|
|
7
7
|
*/
|
|
8
8
|
/**
|
package/dist/ids.js
CHANGED
|
@@ -1,77 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
1
|
+
//#region src/ids.ts
|
|
2
|
+
var e = [
|
|
3
|
+
"ani",
|
|
4
|
+
"eni",
|
|
5
|
+
"ini",
|
|
6
|
+
"oni",
|
|
7
|
+
"uni"
|
|
8
|
+
], t = /* @__PURE__ */ "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".split("."), n = {
|
|
9
|
+
vowels: e,
|
|
10
|
+
consonants: t
|
|
77
11
|
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as GEORGIAN_CHAR_IDS, t as GEORGIAN_CONSONANT_IDS, e as GEORGIAN_VOWEL_IDS };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @polyglot-bundles/ka-lang - Georgian Language Foundation Data
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* - Character data
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Foundational data for Georgian (Mkhedruli script):
|
|
5
|
+
* - Character data: 5 vowels + 28 consonants with full transliteration
|
|
6
|
+
* (national / ISO 9984 / IPA) and historical script equivalents
|
|
7
|
+
* (Asomtavruli, Nuskhuri)
|
|
8
|
+
* - Canonical IDs for cross-package consistency (ka-syllabi, ka-content)
|
|
9
|
+
* - Type definitions and guards
|
|
10
|
+
* - Traditional "song sequence" sort helpers
|
|
8
11
|
*
|
|
9
12
|
* @example
|
|
10
13
|
* ```ts
|
|
@@ -13,9 +16,9 @@
|
|
|
13
16
|
* import type { GeorgianConsonantsInfo } from "@polyglot-bundles/ka-lang/types";
|
|
14
17
|
* ```
|
|
15
18
|
*/
|
|
16
|
-
export { georgianConsonants, georgianVowels, } from './characters';
|
|
19
|
+
export { georgianConsonants, georgianVowels, getTraditionalOrderIndex, sortByTraditionalOrder, } from './characters';
|
|
17
20
|
export { GEORGIAN_VOWEL_IDS, GEORGIAN_CONSONANT_IDS, GEORGIAN_CHAR_IDS, } from './ids';
|
|
18
|
-
export type { GeorgianConsonantsInfo, GeorgianVowelsInfo, GeorgianCharacter, } from './types';
|
|
21
|
+
export type { GeorgianConsonantsInfo, GeorgianVowelsInfo, GeorgianCharacter, GeorgianTransliteration, CharacterMnemonic, } from './types';
|
|
19
22
|
export { isVowel, isConsonant, getDisplayCharacter, } from './types';
|
|
20
23
|
export type { GeorgianVowelId, GeorgianConsonantId, GeorgianCharacterId, } from './ids';
|
|
21
24
|
export { georgianSoundsConfig, vowels, stops, fricatives, affricates, sonorants, } from './sounds';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,OAAO,CAAC;AAEf,YAAY,EACV,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,OAAO,EACP,WAAW,EACX,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,oBAAoB,EACpB,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,UAAU,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
import { georgianConsonants as
|
|
2
|
-
import { GEORGIAN_CHAR_IDS as
|
|
3
|
-
import { getDisplayCharacter as
|
|
4
|
-
import { affricates as
|
|
5
|
-
export {
|
|
6
|
-
a as GEORGIAN_CHAR_IDS,
|
|
7
|
-
t as GEORGIAN_CONSONANT_IDS,
|
|
8
|
-
i as GEORGIAN_VOWEL_IDS,
|
|
9
|
-
I as affricates,
|
|
10
|
-
N as fricatives,
|
|
11
|
-
s as georgianConsonants,
|
|
12
|
-
O as georgianSoundsConfig,
|
|
13
|
-
e as georgianVowels,
|
|
14
|
-
g as getDisplayCharacter,
|
|
15
|
-
p as isConsonant,
|
|
16
|
-
C as isVowel,
|
|
17
|
-
_ as sonorants,
|
|
18
|
-
A as stops,
|
|
19
|
-
S as vowels
|
|
20
|
-
};
|
|
1
|
+
import { georgianConsonants as e, georgianVowels as t, getTraditionalOrderIndex as n, sortByTraditionalOrder as r } from "./characters.js";
|
|
2
|
+
import { GEORGIAN_CHAR_IDS as i, GEORGIAN_CONSONANT_IDS as a, GEORGIAN_VOWEL_IDS as o } from "./ids.js";
|
|
3
|
+
import { getDisplayCharacter as s, isConsonant as c, isVowel as l } from "./types.js";
|
|
4
|
+
import { affricates as u, fricatives as d, georgianSoundsConfig as f, sonorants as p, stops as m, vowels as h } from "./sounds.js";
|
|
5
|
+
export { i as GEORGIAN_CHAR_IDS, a as GEORGIAN_CONSONANT_IDS, o as GEORGIAN_VOWEL_IDS, u as affricates, d as fricatives, e as georgianConsonants, f as georgianSoundsConfig, t as georgianVowels, s as getDisplayCharacter, n as getTraditionalOrderIndex, c as isConsonant, l as isVowel, p as sonorants, r as sortByTraditionalOrder, m as stops, h as vowels };
|
package/dist/sounds.js
CHANGED
|
@@ -1,105 +1,99 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { georgianConsonants as e, georgianVowels as t } from "./characters.js";
|
|
2
|
+
//#region src/sounds.ts
|
|
3
|
+
function n(e) {
|
|
4
|
+
return {
|
|
5
|
+
char: e.char,
|
|
6
|
+
id: e.id,
|
|
7
|
+
charType: "vowel",
|
|
8
|
+
ipa: e.transliteration.ipa
|
|
9
|
+
};
|
|
9
10
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
function r(e) {
|
|
12
|
+
return {
|
|
13
|
+
char: e.char,
|
|
14
|
+
id: e.id,
|
|
15
|
+
charType: "consonant",
|
|
16
|
+
ipa: e.transliteration.ipa
|
|
17
|
+
};
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
color: "green"
|
|
19
|
+
var i = {
|
|
20
|
+
id: "vowels",
|
|
21
|
+
label: "Vowels",
|
|
22
|
+
sounds: [
|
|
23
|
+
n(t.find((e) => e.id === "ani")),
|
|
24
|
+
n(t.find((e) => e.id === "eni")),
|
|
25
|
+
n(t.find((e) => e.id === "ini")),
|
|
26
|
+
n(t.find((e) => e.id === "oni")),
|
|
27
|
+
n(t.find((e) => e.id === "uni"))
|
|
28
|
+
],
|
|
29
|
+
charType: "vowel",
|
|
30
|
+
color: "green"
|
|
31
|
+
}, a = {
|
|
32
|
+
id: "stops",
|
|
33
|
+
label: "Stops",
|
|
34
|
+
sounds: [
|
|
35
|
+
r(e.find((e) => e.id === "bani")),
|
|
36
|
+
r(e.find((e) => e.id === "gani")),
|
|
37
|
+
r(e.find((e) => e.id === "doni")),
|
|
38
|
+
r(e.find((e) => e.id === "pari")),
|
|
39
|
+
r(e.find((e) => e.id === "tari")),
|
|
40
|
+
r(e.find((e) => e.id === "kani")),
|
|
41
|
+
r(e.find((e) => e.id === "qari"))
|
|
42
|
+
],
|
|
43
|
+
charType: "consonant",
|
|
44
|
+
color: "blue"
|
|
45
|
+
}, o = {
|
|
46
|
+
id: "fricatives",
|
|
47
|
+
label: "Fricatives",
|
|
48
|
+
sounds: [
|
|
49
|
+
r(e.find((e) => e.id === "phari")),
|
|
50
|
+
r(e.find((e) => e.id === "tani")),
|
|
51
|
+
r(e.find((e) => e.id === "khani")),
|
|
52
|
+
r(e.find((e) => e.id === "sani")),
|
|
53
|
+
r(e.find((e) => e.id === "shini")),
|
|
54
|
+
r(e.find((e) => e.id === "vini")),
|
|
55
|
+
r(e.find((e) => e.id === "zeni")),
|
|
56
|
+
r(e.find((e) => e.id === "zhani")),
|
|
57
|
+
r(e.find((e) => e.id === "ghani")),
|
|
58
|
+
r(e.find((e) => e.id === "hae"))
|
|
59
|
+
],
|
|
60
|
+
charType: "consonant",
|
|
61
|
+
color: "red"
|
|
62
|
+
}, s = {
|
|
63
|
+
id: "affricates",
|
|
64
|
+
label: "Affricates & Other",
|
|
65
|
+
sounds: [
|
|
66
|
+
r(e.find((e) => e.id === "chini")),
|
|
67
|
+
r(e.find((e) => e.id === "tsani")),
|
|
68
|
+
r(e.find((e) => e.id === "chari")),
|
|
69
|
+
r(e.find((e) => e.id === "tsili")),
|
|
70
|
+
r(e.find((e) => e.id === "dzili")),
|
|
71
|
+
r(e.find((e) => e.id === "jani")),
|
|
72
|
+
r(e.find((e) => e.id === "qani"))
|
|
73
|
+
],
|
|
74
|
+
charType: "consonant",
|
|
75
|
+
color: "default"
|
|
76
|
+
}, c = {
|
|
77
|
+
id: "sonorants",
|
|
78
|
+
label: "Sonorants",
|
|
79
|
+
sounds: [
|
|
80
|
+
r(e.find((e) => e.id === "mani")),
|
|
81
|
+
r(e.find((e) => e.id === "nari")),
|
|
82
|
+
r(e.find((e) => e.id === "lasi")),
|
|
83
|
+
r(e.find((e) => e.id === "rae"))
|
|
84
|
+
],
|
|
85
|
+
charType: "consonant",
|
|
86
|
+
color: "green"
|
|
87
87
|
}, l = {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
};
|
|
98
|
-
export {
|
|
99
|
-
r as affricates,
|
|
100
|
-
f as fricatives,
|
|
101
|
-
l as georgianSoundsConfig,
|
|
102
|
-
t as sonorants,
|
|
103
|
-
e as stops,
|
|
104
|
-
s as vowels
|
|
88
|
+
categories: [
|
|
89
|
+
i,
|
|
90
|
+
a,
|
|
91
|
+
o,
|
|
92
|
+
s,
|
|
93
|
+
c
|
|
94
|
+
],
|
|
95
|
+
audioBasePath: "/assets/audio/ka-GE",
|
|
96
|
+
audioFilePattern: "{charType}/{id}_{variant}_{style}.wav"
|
|
105
97
|
};
|
|
98
|
+
//#endregion
|
|
99
|
+
export { s as affricates, o as fricatives, l as georgianSoundsConfig, c as sonorants, a as stops, i as vowels };
|
package/dist/types.d.ts
CHANGED
|
@@ -5,33 +5,46 @@
|
|
|
5
5
|
* Georgian has a simple phonological system: 5 vowels and 28 consonants
|
|
6
6
|
* with a distinctive three-way stop contrast (voiced/aspirated/ejective).
|
|
7
7
|
*/
|
|
8
|
+
/**
|
|
9
|
+
* Georgian transliteration systems:
|
|
10
|
+
* - national: Georgian National transliteration system
|
|
11
|
+
* - iso9984: ISO 9984:1996 official international standard
|
|
12
|
+
* - ipa: International Phonetic Alphabet
|
|
13
|
+
*/
|
|
14
|
+
export type GeorgianTransliteration = {
|
|
15
|
+
national: string;
|
|
16
|
+
iso9984: string;
|
|
17
|
+
ipa: string;
|
|
18
|
+
};
|
|
19
|
+
export type CharacterMnemonic = {
|
|
20
|
+
writing?: string;
|
|
21
|
+
pronunciation?: string;
|
|
22
|
+
imageKeywords?: string[];
|
|
23
|
+
};
|
|
8
24
|
type GeorgianCharacterBaseInfo = {
|
|
9
25
|
char: string;
|
|
10
26
|
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
georgianName: string;
|
|
29
|
+
transliteration: GeorgianTransliteration;
|
|
30
|
+
asomtavruli?: string;
|
|
31
|
+
nuskhuri?: string;
|
|
11
32
|
display?: string;
|
|
12
33
|
audio?: string;
|
|
13
34
|
notes?: string;
|
|
35
|
+
mnemonic?: CharacterMnemonic;
|
|
14
36
|
};
|
|
15
37
|
export type GeorgianVowelsInfo = {
|
|
16
38
|
charType: "vowel";
|
|
17
|
-
georgianName: string;
|
|
18
|
-
transliteration: string;
|
|
19
|
-
ipa: string;
|
|
20
39
|
} & GeorgianCharacterBaseInfo;
|
|
21
40
|
export type GeorgianConsonantsInfo = {
|
|
22
41
|
charType: "consonant";
|
|
23
|
-
georgianName: string;
|
|
24
|
-
transliteration: string;
|
|
25
|
-
ipa: string;
|
|
26
42
|
phoneticCategory: "stop" | "fricative" | "affricate" | "nasal" | "liquid";
|
|
27
|
-
voicing
|
|
43
|
+
voicing?: "voiced" | "voiceless" | "ejective";
|
|
28
44
|
} & GeorgianCharacterBaseInfo;
|
|
29
45
|
export type GeorgianCharacter = GeorgianVowelsInfo | GeorgianConsonantsInfo;
|
|
30
46
|
export declare function isVowel(character: GeorgianCharacter): character is GeorgianVowelsInfo;
|
|
31
47
|
export declare function isConsonant(character: GeorgianCharacter): character is GeorgianConsonantsInfo;
|
|
32
|
-
/**
|
|
33
|
-
* Get the display character for a Georgian character
|
|
34
|
-
*/
|
|
35
48
|
export declare function getDisplayCharacter(character: GeorgianCharacter): string;
|
|
36
49
|
export {};
|
|
37
50
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,uBAAuB,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,OAAO,CAAC;CACnB,GAAG,yBAAyB,CAAC;AAE9B,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,WAAW,CAAC;IACtB,gBAAgB,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC1E,OAAO,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,UAAU,CAAC;CAC/C,GAAG,yBAAyB,CAAC;AAE9B,MAAM,MAAM,iBAAiB,GACzB,kBAAkB,GAClB,sBAAsB,CAAC;AAE3B,wBAAgB,OAAO,CAAC,SAAS,EAAE,iBAAiB,GAAG,SAAS,IAAI,kBAAkB,CAErF;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,iBAAiB,GAAG,SAAS,IAAI,sBAAsB,CAE7F;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,iBAAiB,GAAG,MAAM,CAExE"}
|
package/dist/types.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/types.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e.charType === "vowel";
|
|
3
4
|
}
|
|
4
|
-
function
|
|
5
|
-
|
|
5
|
+
function t(e) {
|
|
6
|
+
return e.charType === "consonant";
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
8
|
+
function n(e) {
|
|
9
|
+
return e.display ?? e.char;
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
r as isConsonant,
|
|
13
|
-
o as isVowel
|
|
14
|
-
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as getDisplayCharacter, t as isConsonant, e as isVowel };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyglot-bundles/ka-lang",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Georgian language foundation data - characters and transliterations (Mkhedruli script)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"import": "./dist/characters.js"
|
|
16
16
|
},
|
|
17
17
|
"./types": {
|
|
18
|
-
"types": "./dist/types
|
|
18
|
+
"types": "./dist/types.d.ts",
|
|
19
19
|
"import": "./dist/types.js"
|
|
20
20
|
},
|
|
21
21
|
"./ids": {
|
|
@@ -47,15 +47,13 @@
|
|
|
47
47
|
"directory": "packages/ka/lang"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@polyglot-bundles/content-shared": "0.
|
|
50
|
+
"@polyglot-bundles/content-shared": "0.5.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"
|
|
54
|
-
"vite-plugin-dts": "^4.0.0",
|
|
55
|
-
"@polyglot-bundles/lang-tooling": "1.0.0"
|
|
53
|
+
"@polyglot-bundles/lang-tooling": "0.0.0"
|
|
56
54
|
},
|
|
57
55
|
"scripts": {
|
|
58
|
-
"
|
|
59
|
-
"
|
|
56
|
+
"typecheck": "tsc --noEmit",
|
|
57
|
+
"build": "vite build"
|
|
60
58
|
}
|
|
61
59
|
}
|