@polyglot-bundles/rw-lang 0.3.0 → 0.4.1

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,266 @@
1
+ /**
2
+ * Kinyarwanda Language Foundation Data
3
+ *
4
+ * Kinyarwanda (Ikinyarwanda) is a Bantu language spoken in Rwanda.
5
+ * It uses the Latin script with some additional characters.
6
+ * Standard orthography: 26 letters of the Latin alphabet + 4 special characters.
7
+ */
8
+ export declare const kinyarwandaConsonants: {
9
+ readonly b: {
10
+ readonly char: "b";
11
+ readonly name: "ibe";
12
+ readonly pronunciation: "/b/";
13
+ };
14
+ readonly c: {
15
+ readonly char: "c";
16
+ readonly name: "ice";
17
+ readonly pronunciation: "/tʃ/";
18
+ };
19
+ readonly d: {
20
+ readonly char: "d";
21
+ readonly name: "ide";
22
+ readonly pronunciation: "/d/";
23
+ };
24
+ readonly f: {
25
+ readonly char: "f";
26
+ readonly name: "ife";
27
+ readonly pronunciation: "/f/";
28
+ };
29
+ readonly g: {
30
+ readonly char: "g";
31
+ readonly name: "ige";
32
+ readonly pronunciation: "/ɡ/";
33
+ };
34
+ readonly h: {
35
+ readonly char: "h";
36
+ readonly name: "iha";
37
+ readonly pronunciation: "/h/";
38
+ };
39
+ readonly j: {
40
+ readonly char: "j";
41
+ readonly name: "ija";
42
+ readonly pronunciation: "/dʒ/";
43
+ };
44
+ readonly k: {
45
+ readonly char: "k";
46
+ readonly name: "ika";
47
+ readonly pronunciation: "/k/";
48
+ };
49
+ readonly l: {
50
+ readonly char: "l";
51
+ readonly name: "ira";
52
+ readonly pronunciation: "/l/";
53
+ };
54
+ readonly m: {
55
+ readonly char: "m";
56
+ readonly name: "ime";
57
+ readonly pronunciation: "/m/";
58
+ };
59
+ readonly n: {
60
+ readonly char: "n";
61
+ readonly name: "ine";
62
+ readonly pronunciation: "/n/";
63
+ };
64
+ readonly p: {
65
+ readonly char: "p";
66
+ readonly name: "ipe";
67
+ readonly pronunciation: "/p/";
68
+ };
69
+ readonly r: {
70
+ readonly char: "r";
71
+ readonly name: "ire";
72
+ readonly pronunciation: "/r/";
73
+ };
74
+ readonly s: {
75
+ readonly char: "s";
76
+ readonly name: "ise";
77
+ readonly pronunciation: "/s/";
78
+ };
79
+ readonly t: {
80
+ readonly char: "t";
81
+ readonly name: "ite";
82
+ readonly pronunciation: "/t/";
83
+ };
84
+ readonly v: {
85
+ readonly char: "v";
86
+ readonly name: "ive";
87
+ readonly pronunciation: "/v/";
88
+ };
89
+ readonly w: {
90
+ readonly char: "w";
91
+ readonly name: "iw";
92
+ readonly pronunciation: "/w/";
93
+ };
94
+ readonly y: {
95
+ readonly char: "y";
96
+ readonly name: "iy";
97
+ readonly pronunciation: "/j/";
98
+ };
99
+ readonly z: {
100
+ readonly char: "z";
101
+ readonly name: "ize";
102
+ readonly pronunciation: "/z/";
103
+ };
104
+ };
105
+ export declare const kinyarwandaVowels: {
106
+ readonly a: {
107
+ readonly char: "a";
108
+ readonly name: "a";
109
+ readonly pronunciation: "/a/";
110
+ };
111
+ readonly e: {
112
+ readonly char: "e";
113
+ readonly name: "e";
114
+ readonly pronunciation: "/e/";
115
+ };
116
+ readonly i: {
117
+ readonly char: "i";
118
+ readonly name: "i";
119
+ readonly pronunciation: "/i/";
120
+ };
121
+ readonly o: {
122
+ readonly char: "o";
123
+ readonly name: "o";
124
+ readonly pronunciation: "/o/";
125
+ };
126
+ readonly u: {
127
+ readonly char: "u";
128
+ readonly name: "u";
129
+ readonly pronunciation: "/u/";
130
+ };
131
+ };
132
+ export declare const kinyarwandaAllCharacters: {
133
+ a: {
134
+ readonly char: "a";
135
+ readonly name: "a";
136
+ readonly pronunciation: "/a/";
137
+ };
138
+ e: {
139
+ readonly char: "e";
140
+ readonly name: "e";
141
+ readonly pronunciation: "/e/";
142
+ };
143
+ i: {
144
+ readonly char: "i";
145
+ readonly name: "i";
146
+ readonly pronunciation: "/i/";
147
+ };
148
+ o: {
149
+ readonly char: "o";
150
+ readonly name: "o";
151
+ readonly pronunciation: "/o/";
152
+ };
153
+ u: {
154
+ readonly char: "u";
155
+ readonly name: "u";
156
+ readonly pronunciation: "/u/";
157
+ };
158
+ b: {
159
+ readonly char: "b";
160
+ readonly name: "ibe";
161
+ readonly pronunciation: "/b/";
162
+ };
163
+ c: {
164
+ readonly char: "c";
165
+ readonly name: "ice";
166
+ readonly pronunciation: "/tʃ/";
167
+ };
168
+ d: {
169
+ readonly char: "d";
170
+ readonly name: "ide";
171
+ readonly pronunciation: "/d/";
172
+ };
173
+ f: {
174
+ readonly char: "f";
175
+ readonly name: "ife";
176
+ readonly pronunciation: "/f/";
177
+ };
178
+ g: {
179
+ readonly char: "g";
180
+ readonly name: "ige";
181
+ readonly pronunciation: "/ɡ/";
182
+ };
183
+ h: {
184
+ readonly char: "h";
185
+ readonly name: "iha";
186
+ readonly pronunciation: "/h/";
187
+ };
188
+ j: {
189
+ readonly char: "j";
190
+ readonly name: "ija";
191
+ readonly pronunciation: "/dʒ/";
192
+ };
193
+ k: {
194
+ readonly char: "k";
195
+ readonly name: "ika";
196
+ readonly pronunciation: "/k/";
197
+ };
198
+ l: {
199
+ readonly char: "l";
200
+ readonly name: "ira";
201
+ readonly pronunciation: "/l/";
202
+ };
203
+ m: {
204
+ readonly char: "m";
205
+ readonly name: "ime";
206
+ readonly pronunciation: "/m/";
207
+ };
208
+ n: {
209
+ readonly char: "n";
210
+ readonly name: "ine";
211
+ readonly pronunciation: "/n/";
212
+ };
213
+ p: {
214
+ readonly char: "p";
215
+ readonly name: "ipe";
216
+ readonly pronunciation: "/p/";
217
+ };
218
+ r: {
219
+ readonly char: "r";
220
+ readonly name: "ire";
221
+ readonly pronunciation: "/r/";
222
+ };
223
+ s: {
224
+ readonly char: "s";
225
+ readonly name: "ise";
226
+ readonly pronunciation: "/s/";
227
+ };
228
+ t: {
229
+ readonly char: "t";
230
+ readonly name: "ite";
231
+ readonly pronunciation: "/t/";
232
+ };
233
+ v: {
234
+ readonly char: "v";
235
+ readonly name: "ive";
236
+ readonly pronunciation: "/v/";
237
+ };
238
+ w: {
239
+ readonly char: "w";
240
+ readonly name: "iw";
241
+ readonly pronunciation: "/w/";
242
+ };
243
+ y: {
244
+ readonly char: "y";
245
+ readonly name: "iy";
246
+ readonly pronunciation: "/j/";
247
+ };
248
+ z: {
249
+ readonly char: "z";
250
+ readonly name: "ize";
251
+ readonly pronunciation: "/z/";
252
+ };
253
+ };
254
+ export declare const KINYARWANDA_PHONEME_INVENTORY: {
255
+ vowels: string[];
256
+ totalVowels: number;
257
+ consonants: string[];
258
+ totalPhonemes: number;
259
+ };
260
+ export type KinyarwandaConsonantKey = keyof typeof kinyarwandaConsonants;
261
+ export type KinyarwandaVowelKey = keyof typeof kinyarwandaVowels;
262
+ export type KinyarwandaCharacterKey = keyof typeof kinyarwandaAllCharacters;
263
+ export declare const KINYARWANDA_CONSONANT_IDS: KinyarwandaConsonantKey[];
264
+ export declare const KINYARWANDA_VOWEL_IDS: KinyarwandaVowelKey[];
265
+ export declare const KINYARWANDA_CHARACTER_IDS: KinyarwandaCharacterKey[];
266
+ //# sourceMappingURL=characters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../src/characters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAMX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpB,CAAC;AAMX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpC,CAAC;AAMF,eAAO,MAAM,6BAA6B;;;;;CAQzC,CAAC;AAMF,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AACzE,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AACjE,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,wBAAwB,CAAC;AAE5E,eAAO,MAAM,yBAAyB,EAAyC,uBAAuB,EAAE,CAAC;AACzG,eAAO,MAAM,qBAAqB,EAAqC,mBAAmB,EAAE,CAAC;AAC7F,eAAO,MAAM,yBAAyB,EAA4C,uBAAuB,EAAE,CAAC"}
@@ -0,0 +1,160 @@
1
+ //#region src/characters.ts
2
+ var e = {
3
+ b: {
4
+ char: "b",
5
+ name: "ibe",
6
+ pronunciation: "/b/"
7
+ },
8
+ c: {
9
+ char: "c",
10
+ name: "ice",
11
+ pronunciation: "/tʃ/"
12
+ },
13
+ d: {
14
+ char: "d",
15
+ name: "ide",
16
+ pronunciation: "/d/"
17
+ },
18
+ f: {
19
+ char: "f",
20
+ name: "ife",
21
+ pronunciation: "/f/"
22
+ },
23
+ g: {
24
+ char: "g",
25
+ name: "ige",
26
+ pronunciation: "/ɡ/"
27
+ },
28
+ h: {
29
+ char: "h",
30
+ name: "iha",
31
+ pronunciation: "/h/"
32
+ },
33
+ j: {
34
+ char: "j",
35
+ name: "ija",
36
+ pronunciation: "/dʒ/"
37
+ },
38
+ k: {
39
+ char: "k",
40
+ name: "ika",
41
+ pronunciation: "/k/"
42
+ },
43
+ l: {
44
+ char: "l",
45
+ name: "ira",
46
+ pronunciation: "/l/"
47
+ },
48
+ m: {
49
+ char: "m",
50
+ name: "ime",
51
+ pronunciation: "/m/"
52
+ },
53
+ n: {
54
+ char: "n",
55
+ name: "ine",
56
+ pronunciation: "/n/"
57
+ },
58
+ p: {
59
+ char: "p",
60
+ name: "ipe",
61
+ pronunciation: "/p/"
62
+ },
63
+ r: {
64
+ char: "r",
65
+ name: "ire",
66
+ pronunciation: "/r/"
67
+ },
68
+ s: {
69
+ char: "s",
70
+ name: "ise",
71
+ pronunciation: "/s/"
72
+ },
73
+ t: {
74
+ char: "t",
75
+ name: "ite",
76
+ pronunciation: "/t/"
77
+ },
78
+ v: {
79
+ char: "v",
80
+ name: "ive",
81
+ pronunciation: "/v/"
82
+ },
83
+ w: {
84
+ char: "w",
85
+ name: "iw",
86
+ pronunciation: "/w/"
87
+ },
88
+ y: {
89
+ char: "y",
90
+ name: "iy",
91
+ pronunciation: "/j/"
92
+ },
93
+ z: {
94
+ char: "z",
95
+ name: "ize",
96
+ pronunciation: "/z/"
97
+ }
98
+ }, t = {
99
+ a: {
100
+ char: "a",
101
+ name: "a",
102
+ pronunciation: "/a/"
103
+ },
104
+ e: {
105
+ char: "e",
106
+ name: "e",
107
+ pronunciation: "/e/"
108
+ },
109
+ i: {
110
+ char: "i",
111
+ name: "i",
112
+ pronunciation: "/i/"
113
+ },
114
+ o: {
115
+ char: "o",
116
+ name: "o",
117
+ pronunciation: "/o/"
118
+ },
119
+ u: {
120
+ char: "u",
121
+ name: "u",
122
+ pronunciation: "/u/"
123
+ }
124
+ }, n = {
125
+ ...e,
126
+ ...t
127
+ }, r = {
128
+ vowels: [
129
+ "a",
130
+ "e",
131
+ "i",
132
+ "o",
133
+ "u"
134
+ ],
135
+ totalVowels: 5,
136
+ consonants: [
137
+ "b",
138
+ "c",
139
+ "d",
140
+ "f",
141
+ "g",
142
+ "h",
143
+ "j",
144
+ "k",
145
+ "l",
146
+ "m",
147
+ "n",
148
+ "p",
149
+ "r",
150
+ "s",
151
+ "t",
152
+ "v",
153
+ "w",
154
+ "y",
155
+ "z"
156
+ ],
157
+ totalPhonemes: 24
158
+ }, i = Object.keys(e), a = Object.keys(t), o = Object.keys(n);
159
+ //#endregion
160
+ export { o as KINYARWANDA_CHARACTER_IDS, i as KINYARWANDA_CONSONANT_IDS, r as KINYARWANDA_PHONEME_INVENTORY, a as KINYARWANDA_VOWEL_IDS, n as kinyarwandaAllCharacters, e as kinyarwandaConsonants, t as kinyarwandaVowels };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Kinyarwanda Language Foundation Data
3
+ *
4
+ * Kinyarwanda (Ikinyarwanda) is a Bantu language spoken in Rwanda.
5
+ * It uses the Latin alphabet with 5 vowels and 19 consonants.
6
+ */
7
+ export { kinyarwandaConsonants, kinyarwandaVowels, kinyarwandaAllCharacters, KINYARWANDA_PHONEME_INVENTORY, type KinyarwandaConsonantKey, type KinyarwandaVowelKey, type KinyarwandaCharacterKey, KINYARWANDA_CONSONANT_IDS, KINYARWANDA_VOWEL_IDS, KINYARWANDA_CHARACTER_IDS, } from './characters.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,wBAAwB,EACxB,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,iBAAiB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import { KINYARWANDA_CHARACTER_IDS as e, KINYARWANDA_CONSONANT_IDS as t, KINYARWANDA_PHONEME_INVENTORY as n, KINYARWANDA_VOWEL_IDS as r, kinyarwandaAllCharacters as i, kinyarwandaConsonants as a, kinyarwandaVowels as o } from "./characters.js";
2
+ export { e as KINYARWANDA_CHARACTER_IDS, t as KINYARWANDA_CONSONANT_IDS, n as KINYARWANDA_PHONEME_INVENTORY, r as KINYARWANDA_VOWEL_IDS, i as kinyarwandaAllCharacters, a as kinyarwandaConsonants, o as kinyarwandaVowels };
@@ -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,26 @@
1
+ import { SoundCharacter, LanguageSoundsConfig } from '@polyglot-bundles/content-shared';
2
+ /**
3
+ * Kinyarwanda — Wikipedia Kinyarwanda phonology.
4
+ * Bantu (Niger-Congo), Latin script. Two-tone system (H vs L) — pitch-
5
+ * accent-like in distribution. Prenasalized consonants in red — central
6
+ * Bantu signature. Five-vowel system with phonemic length contrast.
7
+ * Affricates /ts/ and /pf/ (and prenasalized variants) found in loans
8
+ * and ideophones.
9
+ */
10
+ export declare const rwPlainConsonants: SoundCharacter[];
11
+ /**
12
+ * Prenasalized consonants — signature Bantu feature, central to noun
13
+ * class prefixes and verb inflection. Written digraph-style as ⟨mp⟩,
14
+ * ⟨mb⟩, ⟨nt⟩, ⟨nd⟩, etc.
15
+ */
16
+ export declare const rwPrenasalized: SoundCharacter[];
17
+ export declare const rwShortVowels: SoundCharacter[];
18
+ export declare const rwLongVowels: SoundCharacter[];
19
+ /**
20
+ * Kinyarwanda tonal system — two contrastive tones (H, L). Tone
21
+ * marking is omitted from standard orthography but is lexically and
22
+ * grammatically distinctive.
23
+ */
24
+ export declare const rwTones: SoundCharacter[];
25
+ export declare const kinyarwandaSoundsConfig: LanguageSoundsConfig;
26
+ //# 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;;;;;;;GAOG;AAEH,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAsB7C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,cAAc,EAW1C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,EAMzC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAAc,EAMxC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,cAAc,EAGnC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,oBAUrC,CAAC"}
package/dist/sounds.js ADDED
@@ -0,0 +1,304 @@
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: "b",
11
+ id: "b",
12
+ charType: "consonant",
13
+ ipa: "b"
14
+ },
15
+ {
16
+ char: "t",
17
+ id: "t",
18
+ charType: "consonant",
19
+ ipa: "t"
20
+ },
21
+ {
22
+ char: "d",
23
+ id: "d",
24
+ charType: "consonant",
25
+ ipa: "d"
26
+ },
27
+ {
28
+ char: "k",
29
+ id: "k",
30
+ charType: "consonant",
31
+ ipa: "k"
32
+ },
33
+ {
34
+ char: "g",
35
+ id: "g",
36
+ charType: "consonant",
37
+ ipa: "ɡ"
38
+ },
39
+ {
40
+ char: "c",
41
+ id: "c",
42
+ charType: "consonant",
43
+ ipa: "tʃ"
44
+ },
45
+ {
46
+ char: "j",
47
+ id: "j",
48
+ charType: "consonant",
49
+ ipa: "dʒ"
50
+ },
51
+ {
52
+ char: "f",
53
+ id: "f",
54
+ charType: "consonant",
55
+ ipa: "f"
56
+ },
57
+ {
58
+ char: "v",
59
+ id: "v",
60
+ charType: "consonant",
61
+ ipa: "v"
62
+ },
63
+ {
64
+ char: "s",
65
+ id: "s",
66
+ charType: "consonant",
67
+ ipa: "s"
68
+ },
69
+ {
70
+ char: "z",
71
+ id: "z",
72
+ charType: "consonant",
73
+ ipa: "z"
74
+ },
75
+ {
76
+ char: "sh",
77
+ id: "sh",
78
+ charType: "consonant",
79
+ ipa: "ʃ"
80
+ },
81
+ {
82
+ char: "jy",
83
+ id: "zh",
84
+ charType: "consonant",
85
+ ipa: "ʒ"
86
+ },
87
+ {
88
+ char: "h",
89
+ id: "h",
90
+ charType: "consonant",
91
+ ipa: "h"
92
+ },
93
+ {
94
+ char: "m",
95
+ id: "m",
96
+ charType: "consonant",
97
+ ipa: "m"
98
+ },
99
+ {
100
+ char: "n",
101
+ id: "n",
102
+ charType: "consonant",
103
+ ipa: "n"
104
+ },
105
+ {
106
+ char: "ny",
107
+ id: "ny",
108
+ charType: "consonant",
109
+ ipa: "ɲ"
110
+ },
111
+ {
112
+ char: "r",
113
+ id: "r",
114
+ charType: "consonant",
115
+ ipa: "ɾ"
116
+ },
117
+ {
118
+ char: "w",
119
+ id: "w",
120
+ charType: "consonant",
121
+ ipa: "w"
122
+ },
123
+ {
124
+ char: "y",
125
+ id: "y",
126
+ charType: "consonant",
127
+ ipa: "j"
128
+ }
129
+ ], t = [
130
+ {
131
+ char: "mp",
132
+ id: "mp",
133
+ charType: "consonant",
134
+ ipa: "ᵐp"
135
+ },
136
+ {
137
+ char: "mb",
138
+ id: "mb",
139
+ charType: "consonant",
140
+ ipa: "ᵐb"
141
+ },
142
+ {
143
+ char: "nt",
144
+ id: "nt",
145
+ charType: "consonant",
146
+ ipa: "ⁿt"
147
+ },
148
+ {
149
+ char: "nd",
150
+ id: "nd",
151
+ charType: "consonant",
152
+ ipa: "ⁿd"
153
+ },
154
+ {
155
+ char: "nk",
156
+ id: "nk",
157
+ charType: "consonant",
158
+ ipa: "ᵑk"
159
+ },
160
+ {
161
+ char: "ng",
162
+ id: "ng",
163
+ charType: "consonant",
164
+ ipa: "ᵑɡ"
165
+ },
166
+ {
167
+ char: "nc",
168
+ id: "nc",
169
+ charType: "consonant",
170
+ ipa: "ⁿtʃ"
171
+ },
172
+ {
173
+ char: "nj",
174
+ id: "nj",
175
+ charType: "consonant",
176
+ ipa: "ⁿdʒ"
177
+ },
178
+ {
179
+ char: "ns",
180
+ id: "ns",
181
+ charType: "consonant",
182
+ ipa: "ⁿs"
183
+ },
184
+ {
185
+ char: "nz",
186
+ id: "nz",
187
+ charType: "consonant",
188
+ ipa: "ⁿz"
189
+ }
190
+ ], n = [
191
+ {
192
+ char: "i",
193
+ id: "i",
194
+ charType: "vowel",
195
+ ipa: "i"
196
+ },
197
+ {
198
+ char: "e",
199
+ id: "e",
200
+ charType: "vowel",
201
+ ipa: "e"
202
+ },
203
+ {
204
+ char: "a",
205
+ id: "a",
206
+ charType: "vowel",
207
+ ipa: "a"
208
+ },
209
+ {
210
+ char: "o",
211
+ id: "o",
212
+ charType: "vowel",
213
+ ipa: "o"
214
+ },
215
+ {
216
+ char: "u",
217
+ id: "u",
218
+ charType: "vowel",
219
+ ipa: "u"
220
+ }
221
+ ], r = [
222
+ {
223
+ char: "ii",
224
+ id: "ii",
225
+ charType: "vowel",
226
+ ipa: "iː"
227
+ },
228
+ {
229
+ char: "ee",
230
+ id: "ee",
231
+ charType: "vowel",
232
+ ipa: "eː"
233
+ },
234
+ {
235
+ char: "aa",
236
+ id: "aa",
237
+ charType: "vowel",
238
+ ipa: "aː"
239
+ },
240
+ {
241
+ char: "oo",
242
+ id: "oo",
243
+ charType: "vowel",
244
+ ipa: "oː"
245
+ },
246
+ {
247
+ char: "uu",
248
+ id: "uu",
249
+ charType: "vowel",
250
+ ipa: "uː"
251
+ }
252
+ ], i = [{
253
+ char: "˥",
254
+ id: "tone_high",
255
+ charType: "tone",
256
+ display: "High (H)"
257
+ }, {
258
+ char: "˩",
259
+ id: "tone_low",
260
+ charType: "tone",
261
+ display: "Low (L)"
262
+ }], a = {
263
+ categories: [
264
+ {
265
+ id: "consonants",
266
+ label: "Plain Consonants",
267
+ sounds: e,
268
+ charType: "consonant",
269
+ color: "blue"
270
+ },
271
+ {
272
+ id: "prenasalized",
273
+ label: "Prenasalized Consonants",
274
+ sounds: t,
275
+ charType: "consonant",
276
+ color: "red"
277
+ },
278
+ {
279
+ id: "short-vowels",
280
+ label: "Short Vowels",
281
+ sounds: n,
282
+ charType: "vowel",
283
+ color: "green"
284
+ },
285
+ {
286
+ id: "long-vowels",
287
+ label: "Long Vowels",
288
+ sounds: r,
289
+ charType: "vowel",
290
+ color: "green"
291
+ },
292
+ {
293
+ id: "tones",
294
+ label: "Tones (H/L)",
295
+ sounds: i,
296
+ charType: "tone",
297
+ color: "red"
298
+ }
299
+ ],
300
+ audioBasePath: "/audio/kinyarwanda",
301
+ audioFilePattern: "{id}.mp3"
302
+ };
303
+ //#endregion
304
+ export { a as kinyarwandaSoundsConfig, r as rwLongVowels, e as rwPlainConsonants, t as rwPrenasalized, n as rwShortVowels, i as rwTones };
package/package.json CHANGED
@@ -1,22 +1,35 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/rw-lang",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
+ "description": "Kinyarwanda language foundation data - characters, sounds, and pronunciation",
4
5
  "type": "module",
5
6
  "main": "./dist/index.js",
6
7
  "types": "./dist/index.d.ts",
7
8
  "exports": {
8
9
  ".": {
9
- "import": "./dist/index.js",
10
- "types": "./dist/index.d.ts"
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
11
12
  },
12
13
  "./characters": {
13
14
  "types": "./dist/characters.d.ts",
14
15
  "import": "./dist/characters.js"
16
+ },
17
+ "./sounds": {
18
+ "types": "./dist/sounds.d.ts",
19
+ "import": "./dist/sounds.js"
15
20
  }
16
21
  },
22
+ "keywords": [
23
+ "kinyarwanda",
24
+ "language-learning",
25
+ "characters",
26
+ "phonemes",
27
+ "ipa"
28
+ ],
17
29
  "files": [
18
30
  "dist"
19
31
  ],
32
+ "license": "MIT",
20
33
  "publishConfig": {
21
34
  "access": "public"
22
35
  },
@@ -24,7 +37,7 @@
24
37
  "vite-plugin-dts": "^4.5.4",
25
38
  "vitest": "^4.1.4",
26
39
  "@polyglot-bundles/lang-tooling": "0.0.0",
27
- "@polyglot-bundles/content-shared": "0.6.0"
40
+ "@polyglot-bundles/content-shared": "0.7.1"
28
41
  },
29
42
  "repository": {
30
43
  "type": "git",
@@ -34,6 +47,7 @@
34
47
  "scripts": {
35
48
  "build": "vite build",
36
49
  "test": "vitest run",
37
- "typecheck": "tsc --noEmit"
50
+ "typecheck": "tsc --noEmit",
51
+ "clean": "rm -rf dist"
38
52
  }
39
53
  }