@lokascript/domain-learn 2.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.
- package/dist/generators/gloss-generator.d.ts +18 -0
- package/dist/generators/learn-renderer.d.ts +13 -0
- package/dist/generators/sentence-generator.d.ts +34 -0
- package/dist/index.cjs +6116 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +441 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.js +6056 -0
- package/dist/index.js.map +1 -0
- package/dist/profiles/ar.d.ts +2 -0
- package/dist/profiles/de.d.ts +2 -0
- package/dist/profiles/en.d.ts +2 -0
- package/dist/profiles/es.d.ts +2 -0
- package/dist/profiles/fr.d.ts +2 -0
- package/dist/profiles/index.d.ts +20 -0
- package/dist/profiles/ja.d.ts +2 -0
- package/dist/profiles/ko.d.ts +2 -0
- package/dist/profiles/pt.d.ts +2 -0
- package/dist/profiles/tr.d.ts +2 -0
- package/dist/profiles/zh.d.ts +2 -0
- package/dist/schemas/index.d.ts +31 -0
- package/dist/tokenizers/index.d.ts +23 -0
- package/dist/types.d.ts +266 -0
- package/package.json +63 -0
- package/src/__tests__/schemas.test.ts +145 -0
- package/src/__tests__/sentence-generation.test.ts +189 -0
- package/src/generators/gloss-generator.ts +145 -0
- package/src/generators/learn-renderer.ts +291 -0
- package/src/generators/sentence-generator.ts +501 -0
- package/src/index.ts +237 -0
- package/src/profiles/ar.ts +526 -0
- package/src/profiles/de.ts +481 -0
- package/src/profiles/en.ts +181 -0
- package/src/profiles/es.ts +829 -0
- package/src/profiles/fr.ts +466 -0
- package/src/profiles/index.ts +34 -0
- package/src/profiles/ja.ts +301 -0
- package/src/profiles/ko.ts +286 -0
- package/src/profiles/pt.ts +484 -0
- package/src/profiles/tr.ts +511 -0
- package/src/profiles/zh.ts +256 -0
- package/src/schemas/index.ts +576 -0
- package/src/tokenizers/index.ts +409 -0
- package/src/types.ts +321 -0
|
@@ -0,0 +1,829 @@
|
|
|
1
|
+
import type { LearnLanguageProfile, SpanishForms, LanguageFrames } from '../types';
|
|
2
|
+
|
|
3
|
+
const morphologyTable: Record<string, SpanishForms> = {
|
|
4
|
+
add: {
|
|
5
|
+
infinitive: 'agregar',
|
|
6
|
+
verbClass: 'ar',
|
|
7
|
+
irregular: false,
|
|
8
|
+
present: {
|
|
9
|
+
yo: 'agrego',
|
|
10
|
+
tu: 'agregas',
|
|
11
|
+
el: 'agrega',
|
|
12
|
+
nosotros: 'agregamos',
|
|
13
|
+
vosotros: 'agregáis',
|
|
14
|
+
ellos: 'agregan',
|
|
15
|
+
},
|
|
16
|
+
preterite: {
|
|
17
|
+
yo: 'agregué',
|
|
18
|
+
tu: 'agregaste',
|
|
19
|
+
el: 'agregó',
|
|
20
|
+
nosotros: 'agregamos',
|
|
21
|
+
vosotros: 'agregasteis',
|
|
22
|
+
ellos: 'agregaron',
|
|
23
|
+
},
|
|
24
|
+
imperfect: {
|
|
25
|
+
yo: 'agregaba',
|
|
26
|
+
tu: 'agregabas',
|
|
27
|
+
el: 'agregaba',
|
|
28
|
+
nosotros: 'agregábamos',
|
|
29
|
+
vosotros: 'agregabais',
|
|
30
|
+
ellos: 'agregaban',
|
|
31
|
+
},
|
|
32
|
+
future: {
|
|
33
|
+
yo: 'agregaré',
|
|
34
|
+
tu: 'agregarás',
|
|
35
|
+
el: 'agregará',
|
|
36
|
+
nosotros: 'agregaremos',
|
|
37
|
+
vosotros: 'agregaréis',
|
|
38
|
+
ellos: 'agregarán',
|
|
39
|
+
},
|
|
40
|
+
imperative: {
|
|
41
|
+
tu: 'agrega',
|
|
42
|
+
usted: 'agregue',
|
|
43
|
+
ustedes: 'agreguen',
|
|
44
|
+
},
|
|
45
|
+
gerund: 'agregando',
|
|
46
|
+
pastParticiple: {
|
|
47
|
+
ms: 'agregado',
|
|
48
|
+
fs: 'agregada',
|
|
49
|
+
mp: 'agregados',
|
|
50
|
+
fp: 'agregadas',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
remove: {
|
|
55
|
+
infinitive: 'quitar',
|
|
56
|
+
verbClass: 'ar',
|
|
57
|
+
irregular: false,
|
|
58
|
+
present: {
|
|
59
|
+
yo: 'quito',
|
|
60
|
+
tu: 'quitas',
|
|
61
|
+
el: 'quita',
|
|
62
|
+
nosotros: 'quitamos',
|
|
63
|
+
vosotros: 'quitáis',
|
|
64
|
+
ellos: 'quitan',
|
|
65
|
+
},
|
|
66
|
+
preterite: {
|
|
67
|
+
yo: 'quité',
|
|
68
|
+
tu: 'quitaste',
|
|
69
|
+
el: 'quitó',
|
|
70
|
+
nosotros: 'quitamos',
|
|
71
|
+
vosotros: 'quitasteis',
|
|
72
|
+
ellos: 'quitaron',
|
|
73
|
+
},
|
|
74
|
+
imperfect: {
|
|
75
|
+
yo: 'quitaba',
|
|
76
|
+
tu: 'quitabas',
|
|
77
|
+
el: 'quitaba',
|
|
78
|
+
nosotros: 'quitábamos',
|
|
79
|
+
vosotros: 'quitabais',
|
|
80
|
+
ellos: 'quitaban',
|
|
81
|
+
},
|
|
82
|
+
future: {
|
|
83
|
+
yo: 'quitaré',
|
|
84
|
+
tu: 'quitarás',
|
|
85
|
+
el: 'quitará',
|
|
86
|
+
nosotros: 'quitaremos',
|
|
87
|
+
vosotros: 'quitaréis',
|
|
88
|
+
ellos: 'quitarán',
|
|
89
|
+
},
|
|
90
|
+
imperative: {
|
|
91
|
+
tu: 'quita',
|
|
92
|
+
usted: 'quite',
|
|
93
|
+
ustedes: 'quiten',
|
|
94
|
+
},
|
|
95
|
+
gerund: 'quitando',
|
|
96
|
+
pastParticiple: {
|
|
97
|
+
ms: 'quitado',
|
|
98
|
+
fs: 'quitada',
|
|
99
|
+
mp: 'quitados',
|
|
100
|
+
fp: 'quitadas',
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
toggle: {
|
|
105
|
+
infinitive: 'alternar',
|
|
106
|
+
verbClass: 'ar',
|
|
107
|
+
irregular: false,
|
|
108
|
+
present: {
|
|
109
|
+
yo: 'alterno',
|
|
110
|
+
tu: 'alternas',
|
|
111
|
+
el: 'alterna',
|
|
112
|
+
nosotros: 'alternamos',
|
|
113
|
+
vosotros: 'alternáis',
|
|
114
|
+
ellos: 'alternan',
|
|
115
|
+
},
|
|
116
|
+
preterite: {
|
|
117
|
+
yo: 'alterné',
|
|
118
|
+
tu: 'alternaste',
|
|
119
|
+
el: 'alternó',
|
|
120
|
+
nosotros: 'alternamos',
|
|
121
|
+
vosotros: 'alternasteis',
|
|
122
|
+
ellos: 'alternaron',
|
|
123
|
+
},
|
|
124
|
+
imperfect: {
|
|
125
|
+
yo: 'alternaba',
|
|
126
|
+
tu: 'alternabas',
|
|
127
|
+
el: 'alternaba',
|
|
128
|
+
nosotros: 'alternábamos',
|
|
129
|
+
vosotros: 'alternabais',
|
|
130
|
+
ellos: 'alternaban',
|
|
131
|
+
},
|
|
132
|
+
future: {
|
|
133
|
+
yo: 'alternaré',
|
|
134
|
+
tu: 'alternarás',
|
|
135
|
+
el: 'alternará',
|
|
136
|
+
nosotros: 'alternaremos',
|
|
137
|
+
vosotros: 'alternaréis',
|
|
138
|
+
ellos: 'alternarán',
|
|
139
|
+
},
|
|
140
|
+
imperative: {
|
|
141
|
+
tu: 'alterna',
|
|
142
|
+
usted: 'alterne',
|
|
143
|
+
ustedes: 'alternen',
|
|
144
|
+
},
|
|
145
|
+
gerund: 'alternando',
|
|
146
|
+
pastParticiple: {
|
|
147
|
+
ms: 'alternado',
|
|
148
|
+
fs: 'alternada',
|
|
149
|
+
mp: 'alternados',
|
|
150
|
+
fp: 'alternadas',
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
put: {
|
|
155
|
+
infinitive: 'poner',
|
|
156
|
+
verbClass: 'er',
|
|
157
|
+
irregular: true,
|
|
158
|
+
present: {
|
|
159
|
+
yo: 'pongo',
|
|
160
|
+
tu: 'pones',
|
|
161
|
+
el: 'pone',
|
|
162
|
+
nosotros: 'ponemos',
|
|
163
|
+
vosotros: 'ponéis',
|
|
164
|
+
ellos: 'ponen',
|
|
165
|
+
},
|
|
166
|
+
preterite: {
|
|
167
|
+
yo: 'puse',
|
|
168
|
+
tu: 'pusiste',
|
|
169
|
+
el: 'puso',
|
|
170
|
+
nosotros: 'pusimos',
|
|
171
|
+
vosotros: 'pusisteis',
|
|
172
|
+
ellos: 'pusieron',
|
|
173
|
+
},
|
|
174
|
+
imperfect: {
|
|
175
|
+
yo: 'ponía',
|
|
176
|
+
tu: 'ponías',
|
|
177
|
+
el: 'ponía',
|
|
178
|
+
nosotros: 'poníamos',
|
|
179
|
+
vosotros: 'poníais',
|
|
180
|
+
ellos: 'ponían',
|
|
181
|
+
},
|
|
182
|
+
future: {
|
|
183
|
+
yo: 'pondré',
|
|
184
|
+
tu: 'pondrás',
|
|
185
|
+
el: 'pondrá',
|
|
186
|
+
nosotros: 'pondremos',
|
|
187
|
+
vosotros: 'pondréis',
|
|
188
|
+
ellos: 'pondrán',
|
|
189
|
+
},
|
|
190
|
+
imperative: {
|
|
191
|
+
tu: 'pon',
|
|
192
|
+
usted: 'ponga',
|
|
193
|
+
ustedes: 'pongan',
|
|
194
|
+
},
|
|
195
|
+
gerund: 'poniendo',
|
|
196
|
+
pastParticiple: {
|
|
197
|
+
ms: 'puesto',
|
|
198
|
+
fs: 'puesta',
|
|
199
|
+
mp: 'puestos',
|
|
200
|
+
fp: 'puestas',
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
|
|
204
|
+
set: {
|
|
205
|
+
infinitive: 'establecer',
|
|
206
|
+
verbClass: 'er',
|
|
207
|
+
irregular: true,
|
|
208
|
+
present: {
|
|
209
|
+
yo: 'establezco',
|
|
210
|
+
tu: 'estableces',
|
|
211
|
+
el: 'establece',
|
|
212
|
+
nosotros: 'establecemos',
|
|
213
|
+
vosotros: 'establecéis',
|
|
214
|
+
ellos: 'establecen',
|
|
215
|
+
},
|
|
216
|
+
preterite: {
|
|
217
|
+
yo: 'establecí',
|
|
218
|
+
tu: 'estableciste',
|
|
219
|
+
el: 'estableció',
|
|
220
|
+
nosotros: 'establecimos',
|
|
221
|
+
vosotros: 'establecisteis',
|
|
222
|
+
ellos: 'establecieron',
|
|
223
|
+
},
|
|
224
|
+
imperfect: {
|
|
225
|
+
yo: 'establecía',
|
|
226
|
+
tu: 'establecías',
|
|
227
|
+
el: 'establecía',
|
|
228
|
+
nosotros: 'establecíamos',
|
|
229
|
+
vosotros: 'establecíais',
|
|
230
|
+
ellos: 'establecían',
|
|
231
|
+
},
|
|
232
|
+
future: {
|
|
233
|
+
yo: 'estableceré',
|
|
234
|
+
tu: 'establecerás',
|
|
235
|
+
el: 'establecerá',
|
|
236
|
+
nosotros: 'estableceremos',
|
|
237
|
+
vosotros: 'estableceréis',
|
|
238
|
+
ellos: 'establecerán',
|
|
239
|
+
},
|
|
240
|
+
imperative: {
|
|
241
|
+
tu: 'establece',
|
|
242
|
+
usted: 'establezca',
|
|
243
|
+
ustedes: 'establezcan',
|
|
244
|
+
},
|
|
245
|
+
gerund: 'estableciendo',
|
|
246
|
+
pastParticiple: {
|
|
247
|
+
ms: 'establecido',
|
|
248
|
+
fs: 'establecida',
|
|
249
|
+
mp: 'establecidos',
|
|
250
|
+
fp: 'establecidas',
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
|
|
254
|
+
show: {
|
|
255
|
+
infinitive: 'mostrar',
|
|
256
|
+
verbClass: 'ar',
|
|
257
|
+
irregular: true,
|
|
258
|
+
present: {
|
|
259
|
+
yo: 'muestro',
|
|
260
|
+
tu: 'muestras',
|
|
261
|
+
el: 'muestra',
|
|
262
|
+
nosotros: 'mostramos',
|
|
263
|
+
vosotros: 'mostráis',
|
|
264
|
+
ellos: 'muestran',
|
|
265
|
+
},
|
|
266
|
+
preterite: {
|
|
267
|
+
yo: 'mostré',
|
|
268
|
+
tu: 'mostraste',
|
|
269
|
+
el: 'mostró',
|
|
270
|
+
nosotros: 'mostramos',
|
|
271
|
+
vosotros: 'mostrasteis',
|
|
272
|
+
ellos: 'mostraron',
|
|
273
|
+
},
|
|
274
|
+
imperfect: {
|
|
275
|
+
yo: 'mostraba',
|
|
276
|
+
tu: 'mostrabas',
|
|
277
|
+
el: 'mostraba',
|
|
278
|
+
nosotros: 'mostrábamos',
|
|
279
|
+
vosotros: 'mostrabais',
|
|
280
|
+
ellos: 'mostraban',
|
|
281
|
+
},
|
|
282
|
+
future: {
|
|
283
|
+
yo: 'mostraré',
|
|
284
|
+
tu: 'mostrarás',
|
|
285
|
+
el: 'mostrará',
|
|
286
|
+
nosotros: 'mostraremos',
|
|
287
|
+
vosotros: 'mostraréis',
|
|
288
|
+
ellos: 'mostrarán',
|
|
289
|
+
},
|
|
290
|
+
imperative: {
|
|
291
|
+
tu: 'muestra',
|
|
292
|
+
usted: 'muestre',
|
|
293
|
+
ustedes: 'muestren',
|
|
294
|
+
},
|
|
295
|
+
gerund: 'mostrando',
|
|
296
|
+
pastParticiple: {
|
|
297
|
+
ms: 'mostrado',
|
|
298
|
+
fs: 'mostrada',
|
|
299
|
+
mp: 'mostrados',
|
|
300
|
+
fp: 'mostradas',
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
|
|
304
|
+
hide: {
|
|
305
|
+
infinitive: 'ocultar',
|
|
306
|
+
verbClass: 'ar',
|
|
307
|
+
irregular: false,
|
|
308
|
+
present: {
|
|
309
|
+
yo: 'oculto',
|
|
310
|
+
tu: 'ocultas',
|
|
311
|
+
el: 'oculta',
|
|
312
|
+
nosotros: 'ocultamos',
|
|
313
|
+
vosotros: 'ocultáis',
|
|
314
|
+
ellos: 'ocultan',
|
|
315
|
+
},
|
|
316
|
+
preterite: {
|
|
317
|
+
yo: 'oculté',
|
|
318
|
+
tu: 'ocultaste',
|
|
319
|
+
el: 'ocultó',
|
|
320
|
+
nosotros: 'ocultamos',
|
|
321
|
+
vosotros: 'ocultasteis',
|
|
322
|
+
ellos: 'ocultaron',
|
|
323
|
+
},
|
|
324
|
+
imperfect: {
|
|
325
|
+
yo: 'ocultaba',
|
|
326
|
+
tu: 'ocultabas',
|
|
327
|
+
el: 'ocultaba',
|
|
328
|
+
nosotros: 'ocultábamos',
|
|
329
|
+
vosotros: 'ocultabais',
|
|
330
|
+
ellos: 'ocultaban',
|
|
331
|
+
},
|
|
332
|
+
future: {
|
|
333
|
+
yo: 'ocultaré',
|
|
334
|
+
tu: 'ocultarás',
|
|
335
|
+
el: 'ocultará',
|
|
336
|
+
nosotros: 'ocultaremos',
|
|
337
|
+
vosotros: 'ocultaréis',
|
|
338
|
+
ellos: 'ocultarán',
|
|
339
|
+
},
|
|
340
|
+
imperative: {
|
|
341
|
+
tu: 'oculta',
|
|
342
|
+
usted: 'oculte',
|
|
343
|
+
ustedes: 'oculten',
|
|
344
|
+
},
|
|
345
|
+
gerund: 'ocultando',
|
|
346
|
+
pastParticiple: {
|
|
347
|
+
ms: 'ocultado',
|
|
348
|
+
fs: 'ocultada',
|
|
349
|
+
mp: 'ocultados',
|
|
350
|
+
fp: 'ocultadas',
|
|
351
|
+
},
|
|
352
|
+
},
|
|
353
|
+
|
|
354
|
+
get: {
|
|
355
|
+
infinitive: 'obtener',
|
|
356
|
+
verbClass: 'er',
|
|
357
|
+
irregular: true,
|
|
358
|
+
present: {
|
|
359
|
+
yo: 'obtengo',
|
|
360
|
+
tu: 'obtienes',
|
|
361
|
+
el: 'obtiene',
|
|
362
|
+
nosotros: 'obtenemos',
|
|
363
|
+
vosotros: 'obtenéis',
|
|
364
|
+
ellos: 'obtienen',
|
|
365
|
+
},
|
|
366
|
+
preterite: {
|
|
367
|
+
yo: 'obtuve',
|
|
368
|
+
tu: 'obtuviste',
|
|
369
|
+
el: 'obtuvo',
|
|
370
|
+
nosotros: 'obtuvimos',
|
|
371
|
+
vosotros: 'obtuvisteis',
|
|
372
|
+
ellos: 'obtuvieron',
|
|
373
|
+
},
|
|
374
|
+
imperfect: {
|
|
375
|
+
yo: 'obtenía',
|
|
376
|
+
tu: 'obtenías',
|
|
377
|
+
el: 'obtenía',
|
|
378
|
+
nosotros: 'obteníamos',
|
|
379
|
+
vosotros: 'obteníais',
|
|
380
|
+
ellos: 'obtenían',
|
|
381
|
+
},
|
|
382
|
+
future: {
|
|
383
|
+
yo: 'obtendré',
|
|
384
|
+
tu: 'obtendrás',
|
|
385
|
+
el: 'obtendrá',
|
|
386
|
+
nosotros: 'obtendremos',
|
|
387
|
+
vosotros: 'obtendréis',
|
|
388
|
+
ellos: 'obtendrán',
|
|
389
|
+
},
|
|
390
|
+
imperative: {
|
|
391
|
+
tu: 'obtén',
|
|
392
|
+
usted: 'obtenga',
|
|
393
|
+
ustedes: 'obtengan',
|
|
394
|
+
},
|
|
395
|
+
gerund: 'obteniendo',
|
|
396
|
+
pastParticiple: {
|
|
397
|
+
ms: 'obtenido',
|
|
398
|
+
fs: 'obtenida',
|
|
399
|
+
mp: 'obtenidos',
|
|
400
|
+
fp: 'obtenidas',
|
|
401
|
+
},
|
|
402
|
+
},
|
|
403
|
+
|
|
404
|
+
wait: {
|
|
405
|
+
infinitive: 'esperar',
|
|
406
|
+
verbClass: 'ar',
|
|
407
|
+
irregular: false,
|
|
408
|
+
present: {
|
|
409
|
+
yo: 'espero',
|
|
410
|
+
tu: 'esperas',
|
|
411
|
+
el: 'espera',
|
|
412
|
+
nosotros: 'esperamos',
|
|
413
|
+
vosotros: 'esperáis',
|
|
414
|
+
ellos: 'esperan',
|
|
415
|
+
},
|
|
416
|
+
preterite: {
|
|
417
|
+
yo: 'esperé',
|
|
418
|
+
tu: 'esperaste',
|
|
419
|
+
el: 'esperó',
|
|
420
|
+
nosotros: 'esperamos',
|
|
421
|
+
vosotros: 'esperasteis',
|
|
422
|
+
ellos: 'esperaron',
|
|
423
|
+
},
|
|
424
|
+
imperfect: {
|
|
425
|
+
yo: 'esperaba',
|
|
426
|
+
tu: 'esperabas',
|
|
427
|
+
el: 'esperaba',
|
|
428
|
+
nosotros: 'esperábamos',
|
|
429
|
+
vosotros: 'esperabais',
|
|
430
|
+
ellos: 'esperaban',
|
|
431
|
+
},
|
|
432
|
+
future: {
|
|
433
|
+
yo: 'esperaré',
|
|
434
|
+
tu: 'esperarás',
|
|
435
|
+
el: 'esperará',
|
|
436
|
+
nosotros: 'esperaremos',
|
|
437
|
+
vosotros: 'esperaréis',
|
|
438
|
+
ellos: 'esperarán',
|
|
439
|
+
},
|
|
440
|
+
imperative: {
|
|
441
|
+
tu: 'espera',
|
|
442
|
+
usted: 'espere',
|
|
443
|
+
ustedes: 'esperen',
|
|
444
|
+
},
|
|
445
|
+
gerund: 'esperando',
|
|
446
|
+
pastParticiple: {
|
|
447
|
+
ms: 'esperado',
|
|
448
|
+
fs: 'esperada',
|
|
449
|
+
mp: 'esperados',
|
|
450
|
+
fp: 'esperadas',
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
|
|
454
|
+
fetch: {
|
|
455
|
+
infinitive: 'buscar',
|
|
456
|
+
verbClass: 'ar',
|
|
457
|
+
irregular: false,
|
|
458
|
+
present: {
|
|
459
|
+
yo: 'busco',
|
|
460
|
+
tu: 'buscas',
|
|
461
|
+
el: 'busca',
|
|
462
|
+
nosotros: 'buscamos',
|
|
463
|
+
vosotros: 'buscáis',
|
|
464
|
+
ellos: 'buscan',
|
|
465
|
+
},
|
|
466
|
+
preterite: {
|
|
467
|
+
yo: 'busqué',
|
|
468
|
+
tu: 'buscaste',
|
|
469
|
+
el: 'buscó',
|
|
470
|
+
nosotros: 'buscamos',
|
|
471
|
+
vosotros: 'buscasteis',
|
|
472
|
+
ellos: 'buscaron',
|
|
473
|
+
},
|
|
474
|
+
imperfect: {
|
|
475
|
+
yo: 'buscaba',
|
|
476
|
+
tu: 'buscabas',
|
|
477
|
+
el: 'buscaba',
|
|
478
|
+
nosotros: 'buscábamos',
|
|
479
|
+
vosotros: 'buscabais',
|
|
480
|
+
ellos: 'buscaban',
|
|
481
|
+
},
|
|
482
|
+
future: {
|
|
483
|
+
yo: 'buscaré',
|
|
484
|
+
tu: 'buscarás',
|
|
485
|
+
el: 'buscará',
|
|
486
|
+
nosotros: 'buscaremos',
|
|
487
|
+
vosotros: 'buscaréis',
|
|
488
|
+
ellos: 'buscarán',
|
|
489
|
+
},
|
|
490
|
+
imperative: {
|
|
491
|
+
tu: 'busca',
|
|
492
|
+
usted: 'busque',
|
|
493
|
+
ustedes: 'busquen',
|
|
494
|
+
},
|
|
495
|
+
gerund: 'buscando',
|
|
496
|
+
pastParticiple: {
|
|
497
|
+
ms: 'buscado',
|
|
498
|
+
fs: 'buscada',
|
|
499
|
+
mp: 'buscados',
|
|
500
|
+
fp: 'buscadas',
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
|
|
504
|
+
send: {
|
|
505
|
+
infinitive: 'enviar',
|
|
506
|
+
verbClass: 'ar',
|
|
507
|
+
irregular: true,
|
|
508
|
+
present: {
|
|
509
|
+
yo: 'envío',
|
|
510
|
+
tu: 'envías',
|
|
511
|
+
el: 'envía',
|
|
512
|
+
nosotros: 'enviamos',
|
|
513
|
+
vosotros: 'enviáis',
|
|
514
|
+
ellos: 'envían',
|
|
515
|
+
},
|
|
516
|
+
preterite: {
|
|
517
|
+
yo: 'envié',
|
|
518
|
+
tu: 'enviaste',
|
|
519
|
+
el: 'envió',
|
|
520
|
+
nosotros: 'enviamos',
|
|
521
|
+
vosotros: 'enviasteis',
|
|
522
|
+
ellos: 'enviaron',
|
|
523
|
+
},
|
|
524
|
+
imperfect: {
|
|
525
|
+
yo: 'enviaba',
|
|
526
|
+
tu: 'enviabas',
|
|
527
|
+
el: 'enviaba',
|
|
528
|
+
nosotros: 'enviábamos',
|
|
529
|
+
vosotros: 'enviabais',
|
|
530
|
+
ellos: 'enviaban',
|
|
531
|
+
},
|
|
532
|
+
future: {
|
|
533
|
+
yo: 'enviaré',
|
|
534
|
+
tu: 'enviarás',
|
|
535
|
+
el: 'enviará',
|
|
536
|
+
nosotros: 'enviaremos',
|
|
537
|
+
vosotros: 'enviaréis',
|
|
538
|
+
ellos: 'enviarán',
|
|
539
|
+
},
|
|
540
|
+
imperative: {
|
|
541
|
+
tu: 'envía',
|
|
542
|
+
usted: 'envíe',
|
|
543
|
+
ustedes: 'envíen',
|
|
544
|
+
},
|
|
545
|
+
gerund: 'enviando',
|
|
546
|
+
pastParticiple: {
|
|
547
|
+
ms: 'enviado',
|
|
548
|
+
fs: 'enviada',
|
|
549
|
+
mp: 'enviados',
|
|
550
|
+
fp: 'enviadas',
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
|
|
554
|
+
go: {
|
|
555
|
+
infinitive: 'ir',
|
|
556
|
+
verbClass: 'ir',
|
|
557
|
+
irregular: true,
|
|
558
|
+
present: {
|
|
559
|
+
yo: 'voy',
|
|
560
|
+
tu: 'vas',
|
|
561
|
+
el: 'va',
|
|
562
|
+
nosotros: 'vamos',
|
|
563
|
+
vosotros: 'vais',
|
|
564
|
+
ellos: 'van',
|
|
565
|
+
},
|
|
566
|
+
preterite: {
|
|
567
|
+
yo: 'fui',
|
|
568
|
+
tu: 'fuiste',
|
|
569
|
+
el: 'fue',
|
|
570
|
+
nosotros: 'fuimos',
|
|
571
|
+
vosotros: 'fuisteis',
|
|
572
|
+
ellos: 'fueron',
|
|
573
|
+
},
|
|
574
|
+
imperfect: {
|
|
575
|
+
yo: 'iba',
|
|
576
|
+
tu: 'ibas',
|
|
577
|
+
el: 'iba',
|
|
578
|
+
nosotros: 'íbamos',
|
|
579
|
+
vosotros: 'ibais',
|
|
580
|
+
ellos: 'iban',
|
|
581
|
+
},
|
|
582
|
+
future: {
|
|
583
|
+
yo: 'iré',
|
|
584
|
+
tu: 'irás',
|
|
585
|
+
el: 'irá',
|
|
586
|
+
nosotros: 'iremos',
|
|
587
|
+
vosotros: 'iréis',
|
|
588
|
+
ellos: 'irán',
|
|
589
|
+
},
|
|
590
|
+
imperative: {
|
|
591
|
+
tu: 've',
|
|
592
|
+
usted: 'vaya',
|
|
593
|
+
ustedes: 'vayan',
|
|
594
|
+
},
|
|
595
|
+
gerund: 'yendo',
|
|
596
|
+
pastParticiple: {
|
|
597
|
+
ms: 'ido',
|
|
598
|
+
fs: 'ida',
|
|
599
|
+
mp: 'idos',
|
|
600
|
+
fp: 'idas',
|
|
601
|
+
},
|
|
602
|
+
},
|
|
603
|
+
|
|
604
|
+
increment: {
|
|
605
|
+
infinitive: 'incrementar',
|
|
606
|
+
verbClass: 'ar',
|
|
607
|
+
irregular: false,
|
|
608
|
+
present: {
|
|
609
|
+
yo: 'incremento',
|
|
610
|
+
tu: 'incrementas',
|
|
611
|
+
el: 'incrementa',
|
|
612
|
+
nosotros: 'incrementamos',
|
|
613
|
+
vosotros: 'incrementáis',
|
|
614
|
+
ellos: 'incrementan',
|
|
615
|
+
},
|
|
616
|
+
preterite: {
|
|
617
|
+
yo: 'incrementé',
|
|
618
|
+
tu: 'incrementaste',
|
|
619
|
+
el: 'incrementó',
|
|
620
|
+
nosotros: 'incrementamos',
|
|
621
|
+
vosotros: 'incrementasteis',
|
|
622
|
+
ellos: 'incrementaron',
|
|
623
|
+
},
|
|
624
|
+
imperfect: {
|
|
625
|
+
yo: 'incrementaba',
|
|
626
|
+
tu: 'incrementabas',
|
|
627
|
+
el: 'incrementaba',
|
|
628
|
+
nosotros: 'incrementábamos',
|
|
629
|
+
vosotros: 'incrementabais',
|
|
630
|
+
ellos: 'incrementaban',
|
|
631
|
+
},
|
|
632
|
+
future: {
|
|
633
|
+
yo: 'incrementaré',
|
|
634
|
+
tu: 'incrementarás',
|
|
635
|
+
el: 'incrementará',
|
|
636
|
+
nosotros: 'incrementaremos',
|
|
637
|
+
vosotros: 'incrementaréis',
|
|
638
|
+
ellos: 'incrementarán',
|
|
639
|
+
},
|
|
640
|
+
imperative: {
|
|
641
|
+
tu: 'incrementa',
|
|
642
|
+
usted: 'incremente',
|
|
643
|
+
ustedes: 'incrementen',
|
|
644
|
+
},
|
|
645
|
+
gerund: 'incrementando',
|
|
646
|
+
pastParticiple: {
|
|
647
|
+
ms: 'incrementado',
|
|
648
|
+
fs: 'incrementada',
|
|
649
|
+
mp: 'incrementados',
|
|
650
|
+
fp: 'incrementadas',
|
|
651
|
+
},
|
|
652
|
+
},
|
|
653
|
+
|
|
654
|
+
decrement: {
|
|
655
|
+
infinitive: 'decrementar',
|
|
656
|
+
verbClass: 'ar',
|
|
657
|
+
irregular: false,
|
|
658
|
+
present: {
|
|
659
|
+
yo: 'decremento',
|
|
660
|
+
tu: 'decrementas',
|
|
661
|
+
el: 'decrementa',
|
|
662
|
+
nosotros: 'decrementamos',
|
|
663
|
+
vosotros: 'decrementáis',
|
|
664
|
+
ellos: 'decrementan',
|
|
665
|
+
},
|
|
666
|
+
preterite: {
|
|
667
|
+
yo: 'decrementé',
|
|
668
|
+
tu: 'decrementaste',
|
|
669
|
+
el: 'decrementó',
|
|
670
|
+
nosotros: 'decrementamos',
|
|
671
|
+
vosotros: 'decrementasteis',
|
|
672
|
+
ellos: 'decrementaron',
|
|
673
|
+
},
|
|
674
|
+
imperfect: {
|
|
675
|
+
yo: 'decrementaba',
|
|
676
|
+
tu: 'decrementabas',
|
|
677
|
+
el: 'decrementaba',
|
|
678
|
+
nosotros: 'decrementábamos',
|
|
679
|
+
vosotros: 'decrementabais',
|
|
680
|
+
ellos: 'decrementaban',
|
|
681
|
+
},
|
|
682
|
+
future: {
|
|
683
|
+
yo: 'decrementaré',
|
|
684
|
+
tu: 'decrementarás',
|
|
685
|
+
el: 'decrementará',
|
|
686
|
+
nosotros: 'decrementaremos',
|
|
687
|
+
vosotros: 'decrementaréis',
|
|
688
|
+
ellos: 'decrementarán',
|
|
689
|
+
},
|
|
690
|
+
imperative: {
|
|
691
|
+
tu: 'decrementa',
|
|
692
|
+
usted: 'decremente',
|
|
693
|
+
ustedes: 'decrementen',
|
|
694
|
+
},
|
|
695
|
+
gerund: 'decrementando',
|
|
696
|
+
pastParticiple: {
|
|
697
|
+
ms: 'decrementado',
|
|
698
|
+
fs: 'decrementada',
|
|
699
|
+
mp: 'decrementados',
|
|
700
|
+
fp: 'decrementadas',
|
|
701
|
+
},
|
|
702
|
+
},
|
|
703
|
+
|
|
704
|
+
take: {
|
|
705
|
+
infinitive: 'tomar',
|
|
706
|
+
verbClass: 'ar',
|
|
707
|
+
irregular: false,
|
|
708
|
+
present: {
|
|
709
|
+
yo: 'tomo',
|
|
710
|
+
tu: 'tomas',
|
|
711
|
+
el: 'toma',
|
|
712
|
+
nosotros: 'tomamos',
|
|
713
|
+
vosotros: 'tomáis',
|
|
714
|
+
ellos: 'toman',
|
|
715
|
+
},
|
|
716
|
+
preterite: {
|
|
717
|
+
yo: 'tomé',
|
|
718
|
+
tu: 'tomaste',
|
|
719
|
+
el: 'tomó',
|
|
720
|
+
nosotros: 'tomamos',
|
|
721
|
+
vosotros: 'tomasteis',
|
|
722
|
+
ellos: 'tomaron',
|
|
723
|
+
},
|
|
724
|
+
imperfect: {
|
|
725
|
+
yo: 'tomaba',
|
|
726
|
+
tu: 'tomabas',
|
|
727
|
+
el: 'tomaba',
|
|
728
|
+
nosotros: 'tomábamos',
|
|
729
|
+
vosotros: 'tomabais',
|
|
730
|
+
ellos: 'tomaban',
|
|
731
|
+
},
|
|
732
|
+
future: {
|
|
733
|
+
yo: 'tomaré',
|
|
734
|
+
tu: 'tomarás',
|
|
735
|
+
el: 'tomará',
|
|
736
|
+
nosotros: 'tomaremos',
|
|
737
|
+
vosotros: 'tomaréis',
|
|
738
|
+
ellos: 'tomarán',
|
|
739
|
+
},
|
|
740
|
+
imperative: {
|
|
741
|
+
tu: 'toma',
|
|
742
|
+
usted: 'tome',
|
|
743
|
+
ustedes: 'tomen',
|
|
744
|
+
},
|
|
745
|
+
gerund: 'tomando',
|
|
746
|
+
pastParticiple: {
|
|
747
|
+
ms: 'tomado',
|
|
748
|
+
fs: 'tomada',
|
|
749
|
+
mp: 'tomados',
|
|
750
|
+
fp: 'tomadas',
|
|
751
|
+
},
|
|
752
|
+
},
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
const frames: LanguageFrames = {
|
|
756
|
+
code: 'es',
|
|
757
|
+
wordOrder: 'SVO',
|
|
758
|
+
frames: [
|
|
759
|
+
{
|
|
760
|
+
function: 'commanding',
|
|
761
|
+
template: '{verb.imperative.tu} {patient} {target}',
|
|
762
|
+
verbForm: 'imperative.tu',
|
|
763
|
+
example: 'agrega .active a #button',
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
function: 'describing',
|
|
767
|
+
template: '{subject} {verb.present.el} {patient} {target}',
|
|
768
|
+
verbForm: 'present.el',
|
|
769
|
+
example: 'El sistema agrega .active a #button',
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
function: 'narrating',
|
|
773
|
+
template: '{subject} {verb.preterite.el} {patient} {target}',
|
|
774
|
+
verbForm: 'preterite.el',
|
|
775
|
+
example: 'El sistema agregó .active a #button',
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
function: 'questioning',
|
|
779
|
+
template: '¿{verb.preterite.el} {subject} {patient} {target}?',
|
|
780
|
+
verbForm: 'preterite.el',
|
|
781
|
+
example: '¿Agregó el sistema .active a #button?',
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
function: 'negating',
|
|
785
|
+
template: '{subject} no {verb.preterite.el} {patient} {target}',
|
|
786
|
+
verbForm: 'preterite.el',
|
|
787
|
+
example: 'El sistema no agregó .active a #button',
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
function: 'planning',
|
|
791
|
+
template: '{subject} {verb.future.el} {patient} {target}',
|
|
792
|
+
verbForm: 'future.el',
|
|
793
|
+
example: 'El sistema agregará .active a #button',
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
function: 'progressing',
|
|
797
|
+
template: '{subject} está {verb.gerund} {patient} {target}',
|
|
798
|
+
verbForm: 'gerund',
|
|
799
|
+
example: 'El sistema está agregando .active a #button',
|
|
800
|
+
},
|
|
801
|
+
],
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
export const esProfile: LearnLanguageProfile = {
|
|
805
|
+
patternProfile: {
|
|
806
|
+
code: 'es',
|
|
807
|
+
wordOrder: 'SVO',
|
|
808
|
+
keywords: {
|
|
809
|
+
add: { primary: 'agregar', alternatives: ['agrega'] },
|
|
810
|
+
remove: { primary: 'quitar', alternatives: ['quita'] },
|
|
811
|
+
toggle: { primary: 'alternar', alternatives: ['alterna'] },
|
|
812
|
+
put: { primary: 'poner', alternatives: ['pon'] },
|
|
813
|
+
set: { primary: 'establecer', alternatives: ['establece'] },
|
|
814
|
+
show: { primary: 'mostrar', alternatives: ['muestra'] },
|
|
815
|
+
hide: { primary: 'ocultar', alternatives: ['oculta'] },
|
|
816
|
+
get: { primary: 'obtener', alternatives: ['obtén'] },
|
|
817
|
+
wait: { primary: 'esperar', alternatives: ['espera'] },
|
|
818
|
+
fetch: { primary: 'buscar', alternatives: ['busca'] },
|
|
819
|
+
send: { primary: 'enviar', alternatives: ['envía'] },
|
|
820
|
+
go: { primary: 'ir', alternatives: ['ve'] },
|
|
821
|
+
increment: { primary: 'incrementar', alternatives: ['incrementa'] },
|
|
822
|
+
decrement: { primary: 'decrementar', alternatives: ['decrementa'] },
|
|
823
|
+
take: { primary: 'tomar', alternatives: ['toma'] },
|
|
824
|
+
},
|
|
825
|
+
},
|
|
826
|
+
morphologyTable,
|
|
827
|
+
frames,
|
|
828
|
+
defaultSubject: 'el sistema',
|
|
829
|
+
};
|