@polyglot-bundles/rw-lang 0.1.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.
- package/dist/characters.js +64 -0
- package/dist/index.js +10 -0
- package/dist/packages/rw/lang/src/characters.d.ts +266 -0
- package/dist/packages/rw/lang/src/characters.d.ts.map +1 -0
- package/dist/packages/rw/lang/src/index.d.ts +8 -0
- package/dist/packages/rw/lang/src/index.d.ts.map +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
const n = {
|
|
2
|
+
b: { char: "b", name: "ibe", pronunciation: "/b/" },
|
|
3
|
+
c: { char: "c", name: "ice", pronunciation: "/tʃ/" },
|
|
4
|
+
d: { char: "d", name: "ide", pronunciation: "/d/" },
|
|
5
|
+
f: { char: "f", name: "ife", pronunciation: "/f/" },
|
|
6
|
+
g: { char: "g", name: "ige", pronunciation: "/ɡ/" },
|
|
7
|
+
h: { char: "h", name: "iha", pronunciation: "/h/" },
|
|
8
|
+
j: { char: "j", name: "ija", pronunciation: "/dʒ/" },
|
|
9
|
+
k: { char: "k", name: "ika", pronunciation: "/k/" },
|
|
10
|
+
l: { char: "l", name: "ira", pronunciation: "/l/" },
|
|
11
|
+
m: { char: "m", name: "ime", pronunciation: "/m/" },
|
|
12
|
+
n: { char: "n", name: "ine", pronunciation: "/n/" },
|
|
13
|
+
p: { char: "p", name: "ipe", pronunciation: "/p/" },
|
|
14
|
+
r: { char: "r", name: "ire", pronunciation: "/r/" },
|
|
15
|
+
s: { char: "s", name: "ise", pronunciation: "/s/" },
|
|
16
|
+
t: { char: "t", name: "ite", pronunciation: "/t/" },
|
|
17
|
+
v: { char: "v", name: "ive", pronunciation: "/v/" },
|
|
18
|
+
w: { char: "w", name: "iw", pronunciation: "/w/" },
|
|
19
|
+
y: { char: "y", name: "iy", pronunciation: "/j/" },
|
|
20
|
+
z: { char: "z", name: "ize", pronunciation: "/z/" }
|
|
21
|
+
}, a = {
|
|
22
|
+
a: { char: "a", name: "a", pronunciation: "/a/" },
|
|
23
|
+
e: { char: "e", name: "e", pronunciation: "/e/" },
|
|
24
|
+
i: { char: "i", name: "i", pronunciation: "/i/" },
|
|
25
|
+
o: { char: "o", name: "o", pronunciation: "/o/" },
|
|
26
|
+
u: { char: "u", name: "u", pronunciation: "/u/" }
|
|
27
|
+
}, i = {
|
|
28
|
+
...n,
|
|
29
|
+
...a
|
|
30
|
+
}, o = {
|
|
31
|
+
vowels: ["a", "e", "i", "o", "u"],
|
|
32
|
+
totalVowels: 5,
|
|
33
|
+
consonants: [
|
|
34
|
+
"b",
|
|
35
|
+
"c",
|
|
36
|
+
"d",
|
|
37
|
+
"f",
|
|
38
|
+
"g",
|
|
39
|
+
"h",
|
|
40
|
+
"j",
|
|
41
|
+
"k",
|
|
42
|
+
"l",
|
|
43
|
+
"m",
|
|
44
|
+
"n",
|
|
45
|
+
"p",
|
|
46
|
+
"r",
|
|
47
|
+
"s",
|
|
48
|
+
"t",
|
|
49
|
+
"v",
|
|
50
|
+
"w",
|
|
51
|
+
"y",
|
|
52
|
+
"z"
|
|
53
|
+
],
|
|
54
|
+
totalPhonemes: 24
|
|
55
|
+
}, c = Object.keys(n), r = Object.keys(a), e = Object.keys(i);
|
|
56
|
+
export {
|
|
57
|
+
e as KINYARWANDA_CHARACTER_IDS,
|
|
58
|
+
c as KINYARWANDA_CONSONANT_IDS,
|
|
59
|
+
o as KINYARWANDA_PHONEME_INVENTORY,
|
|
60
|
+
r as KINYARWANDA_VOWEL_IDS,
|
|
61
|
+
i as kinyarwandaAllCharacters,
|
|
62
|
+
n as kinyarwandaConsonants,
|
|
63
|
+
a as kinyarwandaVowels
|
|
64
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { KINYARWANDA_CHARACTER_IDS as a, KINYARWANDA_CONSONANT_IDS as n, KINYARWANDA_PHONEME_INVENTORY as I, KINYARWANDA_VOWEL_IDS as _, kinyarwandaAllCharacters as r, kinyarwandaConsonants as D, kinyarwandaVowels as R } from "./characters.js";
|
|
2
|
+
export {
|
|
3
|
+
a as KINYARWANDA_CHARACTER_IDS,
|
|
4
|
+
n as KINYARWANDA_CONSONANT_IDS,
|
|
5
|
+
I as KINYARWANDA_PHONEME_INVENTORY,
|
|
6
|
+
_ as KINYARWANDA_VOWEL_IDS,
|
|
7
|
+
r as kinyarwandaAllCharacters,
|
|
8
|
+
D as kinyarwandaConsonants,
|
|
9
|
+
R as kinyarwandaVowels
|
|
10
|
+
};
|
|
@@ -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,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/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@polyglot-bundles/rw-lang",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@polyglot-bundles/content-shared": "0.4.1"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"vite": "^5.4.0",
|
|
24
|
+
"vite-plugin-dts": "^4.0.0",
|
|
25
|
+
"@polyglot-bundles/lang-tooling": "1.0.0"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/fustilio/polyglot-bundles.git",
|
|
30
|
+
"directory": "packages/rw/lang"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "vite build",
|
|
34
|
+
"clean": "rm -rf dist"
|
|
35
|
+
}
|
|
36
|
+
}
|