@kolanut/language-packs 0.1.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.
Files changed (74) hide show
  1. package/CONTRIBUTING.md +119 -0
  2. package/LICENSE +17 -0
  3. package/README.md +237 -0
  4. package/badges/coverage.json +6 -0
  5. package/badges/packs.json +6 -0
  6. package/badges/targets.json +6 -0
  7. package/badges/tokens.json +6 -0
  8. package/dist/index.d.ts +2 -0
  9. package/dist/index.js +1 -0
  10. package/dist/load-pack.d.ts +6 -0
  11. package/dist/load-pack.js +31 -0
  12. package/dist/types.d.ts +33 -0
  13. package/dist/types.js +1 -0
  14. package/pack.schema.json +86 -0
  15. package/package.json +61 -0
  16. package/packs/PACK_SCOPE.md +68 -0
  17. package/packs/afrikaans/keywords.json +329 -0
  18. package/packs/afrikaans/pack.json +361 -0
  19. package/packs/amharic/keywords.json +329 -0
  20. package/packs/amharic/pack.json +359 -0
  21. package/packs/arabic/keywords.json +329 -0
  22. package/packs/arabic/pack.json +369 -0
  23. package/packs/bambara/keywords.json +299 -0
  24. package/packs/bambara/pack.json +332 -0
  25. package/packs/by-country.json +183 -0
  26. package/packs/by-region.json +49 -0
  27. package/packs/coverage-summary.json +424 -0
  28. package/packs/french/keywords.json +329 -0
  29. package/packs/french/pack.json +381 -0
  30. package/packs/fulfulde/keywords.json +299 -0
  31. package/packs/fulfulde/pack.json +336 -0
  32. package/packs/hausa/keywords.json +329 -0
  33. package/packs/hausa/pack.json +363 -0
  34. package/packs/igbo/keywords.json +329 -0
  35. package/packs/igbo/pack.json +360 -0
  36. package/packs/index.json +397 -0
  37. package/packs/kinyarwanda/keywords.json +329 -0
  38. package/packs/kinyarwanda/pack.json +359 -0
  39. package/packs/languages-roadmap.json +28 -0
  40. package/packs/lingala/keywords.json +329 -0
  41. package/packs/lingala/pack.json +360 -0
  42. package/packs/logical-tokens.json +120 -0
  43. package/packs/luganda/keywords.json +329 -0
  44. package/packs/luganda/pack.json +359 -0
  45. package/packs/nigerian-pidgin/keywords.json +332 -0
  46. package/packs/nigerian-pidgin/pack.json +362 -0
  47. package/packs/official-target-keywords.json +166 -0
  48. package/packs/oromo/keywords.json +329 -0
  49. package/packs/oromo/pack.json +360 -0
  50. package/packs/portuguese-africa/keywords.json +299 -0
  51. package/packs/portuguese-africa/pack.json +334 -0
  52. package/packs/sesotho/keywords.json +299 -0
  53. package/packs/sesotho/pack.json +330 -0
  54. package/packs/setswana/keywords.json +299 -0
  55. package/packs/setswana/pack.json +331 -0
  56. package/packs/shona/keywords.json +329 -0
  57. package/packs/shona/pack.json +359 -0
  58. package/packs/somali/keywords.json +329 -0
  59. package/packs/somali/pack.json +362 -0
  60. package/packs/swahili/keywords.json +329 -0
  61. package/packs/swahili/pack.json +365 -0
  62. package/packs/target-coverage.json +1083 -0
  63. package/packs/tigrinya/keywords.json +329 -0
  64. package/packs/tigrinya/pack.json +360 -0
  65. package/packs/twi/keywords.json +329 -0
  66. package/packs/twi/pack.json +360 -0
  67. package/packs/wolof/keywords.json +329 -0
  68. package/packs/wolof/pack.json +361 -0
  69. package/packs/xhosa/keywords.json +329 -0
  70. package/packs/xhosa/pack.json +360 -0
  71. package/packs/yoruba/keywords.json +329 -0
  72. package/packs/yoruba/pack.json +363 -0
  73. package/packs/zulu/keywords.json +329 -0
  74. package/packs/zulu/pack.json +360 -0
@@ -0,0 +1,329 @@
1
+ {
2
+ "IF": [
3
+ "idan",
4
+ "if"
5
+ ],
6
+ "ELSE": [
7
+ "in ba haka ba",
8
+ "else"
9
+ ],
10
+ "FOR": [
11
+ "domi",
12
+ "for"
13
+ ],
14
+ "WHILE": [
15
+ "yayin da",
16
+ "while"
17
+ ],
18
+ "BREAK": [
19
+ "tsaya",
20
+ "break"
21
+ ],
22
+ "CONTINUE": [
23
+ "ci gaba",
24
+ "continue"
25
+ ],
26
+ "SWITCH": [
27
+ "zaɓi",
28
+ "switch"
29
+ ],
30
+ "CASE": [
31
+ "lokaci",
32
+ "case"
33
+ ],
34
+ "DEFAULT": [
35
+ "tsoho",
36
+ "default"
37
+ ],
38
+ "FUNCTION": [
39
+ "aiki",
40
+ "function"
41
+ ],
42
+ "RETURN": [
43
+ "dawo",
44
+ "return"
45
+ ],
46
+ "ASYNC": [
47
+ "jira",
48
+ "async"
49
+ ],
50
+ "AWAIT": [
51
+ "jira don",
52
+ "await"
53
+ ],
54
+ "TRY": [
55
+ "gwada",
56
+ "try"
57
+ ],
58
+ "CATCH": [
59
+ "kama",
60
+ "catch"
61
+ ],
62
+ "FINALLY": [
63
+ "a ƙarshe",
64
+ "finally"
65
+ ],
66
+ "THROW": [
67
+ "jefa",
68
+ "throw"
69
+ ],
70
+ "LET": [
71
+ "bari",
72
+ "let"
73
+ ],
74
+ "CONST": [
75
+ "tabbatacce",
76
+ "const"
77
+ ],
78
+ "CLASS": [
79
+ "rukuni",
80
+ "class"
81
+ ],
82
+ "EXTENDS": [
83
+ "kara",
84
+ "extends"
85
+ ],
86
+ "NEW": [
87
+ "sabo",
88
+ "new"
89
+ ],
90
+ "THIS": [
91
+ "wannan",
92
+ "this"
93
+ ],
94
+ "IMPORT": [
95
+ "shigo da",
96
+ "import"
97
+ ],
98
+ "EXPORT": [
99
+ "fitar da",
100
+ "export"
101
+ ],
102
+ "PRINT": [
103
+ "nuna",
104
+ "print"
105
+ ],
106
+ "TRUE": [
107
+ "gaskiya",
108
+ "true"
109
+ ],
110
+ "FALSE": [
111
+ "karya",
112
+ "false"
113
+ ],
114
+ "NULL": [
115
+ "babu komai",
116
+ "null"
117
+ ],
118
+ "UNDEFINED": [
119
+ "ba a bayyana ba",
120
+ "undefined"
121
+ ],
122
+ "ELIF": [
123
+ "else"
124
+ ],
125
+ "LOOP": [
126
+ "loop"
127
+ ],
128
+ "MATCH": [
129
+ "match"
130
+ ],
131
+ "GOTO": [
132
+ "goto"
133
+ ],
134
+ "FALLTHROUGH": [
135
+ "fallthrough"
136
+ ],
137
+ "SELECT": [
138
+ "select"
139
+ ],
140
+ "RANGE": [
141
+ "range"
142
+ ],
143
+ "YIELD": [
144
+ "yield"
145
+ ],
146
+ "LAMBDA": [
147
+ "lambda"
148
+ ],
149
+ "DEFER": [
150
+ "defer"
151
+ ],
152
+ "GO": [
153
+ "go"
154
+ ],
155
+ "VAR": [
156
+ "var"
157
+ ],
158
+ "MUT": [
159
+ "mut"
160
+ ],
161
+ "GLOBAL": [
162
+ "global"
163
+ ],
164
+ "NONLOCAL": [
165
+ "nonlocal"
166
+ ],
167
+ "STRUCT": [
168
+ "struct"
169
+ ],
170
+ "TRAIT": [
171
+ "trait"
172
+ ],
173
+ "IMPL": [
174
+ "impl"
175
+ ],
176
+ "INTERFACE": [
177
+ "interface"
178
+ ],
179
+ "ENUM": [
180
+ "enum"
181
+ ],
182
+ "TYPE": [
183
+ "type"
184
+ ],
185
+ "IMPLEMENTS": [
186
+ "implements"
187
+ ],
188
+ "SELF": [
189
+ "self"
190
+ ],
191
+ "SUPER": [
192
+ "super"
193
+ ],
194
+ "STATIC": [
195
+ "static"
196
+ ],
197
+ "FROM": [
198
+ "from"
199
+ ],
200
+ "AS": [
201
+ "as"
202
+ ],
203
+ "MODULE": [
204
+ "module"
205
+ ],
206
+ "NAMESPACE": [
207
+ "namespace"
208
+ ],
209
+ "PACKAGE": [
210
+ "package"
211
+ ],
212
+ "USE": [
213
+ "use"
214
+ ],
215
+ "PUB": [
216
+ "public"
217
+ ],
218
+ "CRATE": [
219
+ "crate"
220
+ ],
221
+ "WITH": [
222
+ "with"
223
+ ],
224
+ "PASS": [
225
+ "pass"
226
+ ],
227
+ "ASSERT": [
228
+ "assert"
229
+ ],
230
+ "ASSERTS": [
231
+ "asserts"
232
+ ],
233
+ "NIL": [
234
+ "null"
235
+ ],
236
+ "UNSAFE": [
237
+ "unsafe"
238
+ ],
239
+ "EXTERN": [
240
+ "declare"
241
+ ],
242
+ "CHAN": [
243
+ "chan"
244
+ ],
245
+ "MAP": [
246
+ "map"
247
+ ],
248
+ "AND": [
249
+ "and"
250
+ ],
251
+ "OR": [
252
+ "or"
253
+ ],
254
+ "NOT": [
255
+ "not"
256
+ ],
257
+ "IN": [
258
+ "in"
259
+ ],
260
+ "IS": [
261
+ "is"
262
+ ],
263
+ "DEL": [
264
+ "del"
265
+ ],
266
+ "DO": [
267
+ "do"
268
+ ],
269
+ "DEBUGGER": [
270
+ "debugger"
271
+ ],
272
+ "TYPEOF": [
273
+ "typeof"
274
+ ],
275
+ "VOID": [
276
+ "void"
277
+ ],
278
+ "INSTANCEOF": [
279
+ "instanceof"
280
+ ],
281
+ "PRIVATE": [
282
+ "private"
283
+ ],
284
+ "PROTECTED": [
285
+ "protected"
286
+ ],
287
+ "PUBLIC": [
288
+ "public"
289
+ ],
290
+ "READONLY": [
291
+ "readonly"
292
+ ],
293
+ "ABSTRACT": [
294
+ "abstract"
295
+ ],
296
+ "DECLARE": [
297
+ "declare"
298
+ ],
299
+ "GET": [
300
+ "get"
301
+ ],
302
+ "SET": [
303
+ "set"
304
+ ],
305
+ "INFER": [
306
+ "infer"
307
+ ],
308
+ "KEYOF": [
309
+ "keyof"
310
+ ],
311
+ "UNIQUE": [
312
+ "unique"
313
+ ],
314
+ "SATISFIES": [
315
+ "satisfies"
316
+ ],
317
+ "DYN": [
318
+ "dyn"
319
+ ],
320
+ "MOVE": [
321
+ "move"
322
+ ],
323
+ "REF": [
324
+ "ref"
325
+ ],
326
+ "WHERE": [
327
+ "where"
328
+ ]
329
+ }
@@ -0,0 +1,363 @@
1
+ {
2
+ "name": "hausa",
3
+ "languageCode": "ha",
4
+ "locale": "ha-NG",
5
+ "countries": [
6
+ "NG",
7
+ "NE",
8
+ "GH",
9
+ "SD"
10
+ ],
11
+ "regions": [
12
+ "West Africa"
13
+ ],
14
+ "version": "0.1.0",
15
+ "displayName": "Hausa",
16
+ "description": "Hausa keyword map — starter pack (community contributions welcome)",
17
+ "reviewStatus": "starter",
18
+ "contributors": [
19
+ "kolanutTechnologies"
20
+ ],
21
+ "targets": [
22
+ "javascript",
23
+ "python",
24
+ "typescript",
25
+ "go",
26
+ "rust"
27
+ ],
28
+ "keywords": {
29
+ "IF": [
30
+ "idan",
31
+ "if"
32
+ ],
33
+ "ELSE": [
34
+ "in ba haka ba",
35
+ "else"
36
+ ],
37
+ "FOR": [
38
+ "domi",
39
+ "for"
40
+ ],
41
+ "WHILE": [
42
+ "yayin da",
43
+ "while"
44
+ ],
45
+ "BREAK": [
46
+ "tsaya",
47
+ "break"
48
+ ],
49
+ "CONTINUE": [
50
+ "ci gaba",
51
+ "continue"
52
+ ],
53
+ "SWITCH": [
54
+ "zaɓi",
55
+ "switch"
56
+ ],
57
+ "CASE": [
58
+ "lokaci",
59
+ "case"
60
+ ],
61
+ "DEFAULT": [
62
+ "tsoho",
63
+ "default"
64
+ ],
65
+ "FUNCTION": [
66
+ "aiki",
67
+ "function"
68
+ ],
69
+ "RETURN": [
70
+ "dawo",
71
+ "return"
72
+ ],
73
+ "ASYNC": [
74
+ "jira",
75
+ "async"
76
+ ],
77
+ "AWAIT": [
78
+ "jira don",
79
+ "await"
80
+ ],
81
+ "TRY": [
82
+ "gwada",
83
+ "try"
84
+ ],
85
+ "CATCH": [
86
+ "kama",
87
+ "catch"
88
+ ],
89
+ "FINALLY": [
90
+ "a ƙarshe",
91
+ "finally"
92
+ ],
93
+ "THROW": [
94
+ "jefa",
95
+ "throw"
96
+ ],
97
+ "LET": [
98
+ "bari",
99
+ "let"
100
+ ],
101
+ "CONST": [
102
+ "tabbatacce",
103
+ "const"
104
+ ],
105
+ "CLASS": [
106
+ "rukuni",
107
+ "class"
108
+ ],
109
+ "EXTENDS": [
110
+ "kara",
111
+ "extends"
112
+ ],
113
+ "NEW": [
114
+ "sabo",
115
+ "new"
116
+ ],
117
+ "THIS": [
118
+ "wannan",
119
+ "this"
120
+ ],
121
+ "IMPORT": [
122
+ "shigo da",
123
+ "import"
124
+ ],
125
+ "EXPORT": [
126
+ "fitar da",
127
+ "export"
128
+ ],
129
+ "PRINT": [
130
+ "nuna",
131
+ "print"
132
+ ],
133
+ "TRUE": [
134
+ "gaskiya",
135
+ "true"
136
+ ],
137
+ "FALSE": [
138
+ "karya",
139
+ "false"
140
+ ],
141
+ "NULL": [
142
+ "babu komai",
143
+ "null"
144
+ ],
145
+ "UNDEFINED": [
146
+ "ba a bayyana ba",
147
+ "undefined"
148
+ ],
149
+ "ELIF": [
150
+ "else"
151
+ ],
152
+ "LOOP": [
153
+ "loop"
154
+ ],
155
+ "MATCH": [
156
+ "match"
157
+ ],
158
+ "GOTO": [
159
+ "goto"
160
+ ],
161
+ "FALLTHROUGH": [
162
+ "fallthrough"
163
+ ],
164
+ "SELECT": [
165
+ "select"
166
+ ],
167
+ "RANGE": [
168
+ "range"
169
+ ],
170
+ "YIELD": [
171
+ "yield"
172
+ ],
173
+ "LAMBDA": [
174
+ "lambda"
175
+ ],
176
+ "DEFER": [
177
+ "defer"
178
+ ],
179
+ "GO": [
180
+ "go"
181
+ ],
182
+ "VAR": [
183
+ "var"
184
+ ],
185
+ "MUT": [
186
+ "mut"
187
+ ],
188
+ "GLOBAL": [
189
+ "global"
190
+ ],
191
+ "NONLOCAL": [
192
+ "nonlocal"
193
+ ],
194
+ "STRUCT": [
195
+ "struct"
196
+ ],
197
+ "TRAIT": [
198
+ "trait"
199
+ ],
200
+ "IMPL": [
201
+ "impl"
202
+ ],
203
+ "INTERFACE": [
204
+ "interface"
205
+ ],
206
+ "ENUM": [
207
+ "enum"
208
+ ],
209
+ "TYPE": [
210
+ "type"
211
+ ],
212
+ "IMPLEMENTS": [
213
+ "implements"
214
+ ],
215
+ "SELF": [
216
+ "self"
217
+ ],
218
+ "SUPER": [
219
+ "super"
220
+ ],
221
+ "STATIC": [
222
+ "static"
223
+ ],
224
+ "FROM": [
225
+ "from"
226
+ ],
227
+ "AS": [
228
+ "as"
229
+ ],
230
+ "MODULE": [
231
+ "module"
232
+ ],
233
+ "NAMESPACE": [
234
+ "namespace"
235
+ ],
236
+ "PACKAGE": [
237
+ "package"
238
+ ],
239
+ "USE": [
240
+ "use"
241
+ ],
242
+ "PUB": [
243
+ "public"
244
+ ],
245
+ "CRATE": [
246
+ "crate"
247
+ ],
248
+ "WITH": [
249
+ "with"
250
+ ],
251
+ "PASS": [
252
+ "pass"
253
+ ],
254
+ "ASSERT": [
255
+ "assert"
256
+ ],
257
+ "ASSERTS": [
258
+ "asserts"
259
+ ],
260
+ "NIL": [
261
+ "null"
262
+ ],
263
+ "UNSAFE": [
264
+ "unsafe"
265
+ ],
266
+ "EXTERN": [
267
+ "declare"
268
+ ],
269
+ "CHAN": [
270
+ "chan"
271
+ ],
272
+ "MAP": [
273
+ "map"
274
+ ],
275
+ "AND": [
276
+ "and"
277
+ ],
278
+ "OR": [
279
+ "or"
280
+ ],
281
+ "NOT": [
282
+ "not"
283
+ ],
284
+ "IN": [
285
+ "in"
286
+ ],
287
+ "IS": [
288
+ "is"
289
+ ],
290
+ "DEL": [
291
+ "del"
292
+ ],
293
+ "DO": [
294
+ "do"
295
+ ],
296
+ "DEBUGGER": [
297
+ "debugger"
298
+ ],
299
+ "TYPEOF": [
300
+ "typeof"
301
+ ],
302
+ "VOID": [
303
+ "void"
304
+ ],
305
+ "INSTANCEOF": [
306
+ "instanceof"
307
+ ],
308
+ "PRIVATE": [
309
+ "private"
310
+ ],
311
+ "PROTECTED": [
312
+ "protected"
313
+ ],
314
+ "PUBLIC": [
315
+ "public"
316
+ ],
317
+ "READONLY": [
318
+ "readonly"
319
+ ],
320
+ "ABSTRACT": [
321
+ "abstract"
322
+ ],
323
+ "DECLARE": [
324
+ "declare"
325
+ ],
326
+ "GET": [
327
+ "get"
328
+ ],
329
+ "SET": [
330
+ "set"
331
+ ],
332
+ "INFER": [
333
+ "infer"
334
+ ],
335
+ "KEYOF": [
336
+ "keyof"
337
+ ],
338
+ "UNIQUE": [
339
+ "unique"
340
+ ],
341
+ "SATISFIES": [
342
+ "satisfies"
343
+ ],
344
+ "DYN": [
345
+ "dyn"
346
+ ],
347
+ "MOVE": [
348
+ "move"
349
+ ],
350
+ "REF": [
351
+ "ref"
352
+ ],
353
+ "WHERE": [
354
+ "where"
355
+ ]
356
+ },
357
+ "scopeNote": "Hausa across West and Central Africa. Prefer inclusive alias arrays for Nigeria vs Niger spelling differences.",
358
+ "recommendedPartners": [
359
+ "ALT-I",
360
+ "ACALAN",
361
+ "Bayero University Kano"
362
+ ]
363
+ }