ekms 9.7.1-beta.11 → 9.7.1-beta.13
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/common/actions.instance.json +11 -1
- package/common/actions.js +1 -1
- package/common/angle.instance.json +27 -0
- package/common/articles.js +38 -4
- package/common/can.instance.json +1 -1
- package/common/comparable.instance.json +12 -6
- package/common/conjunction.js +2 -2
- package/common/countable.js +39 -5
- package/common/crew.instance.json +1005 -158
- package/common/crew.js +3 -3
- package/common/dialogues.js +3 -4
- package/common/dimension.instance.json +136 -10
- package/common/dimension.js +5 -5
- package/common/drone.instance.json +406 -369
- package/common/drone.js +38 -8
- package/common/drone_v1.instance.json +105 -0
- package/common/edible.instance.json +72 -0
- package/common/emotions.instance.json +143 -4
- package/common/fastfood.instance.json +456 -313
- package/common/fastfood.js +7 -0
- package/common/gdefaults.js +12 -121
- package/common/hierarchy.js +0 -1
- package/common/length.instance.json +27 -0
- package/common/ordering.instance.json +2 -1
- package/common/ordinals.js +9 -3
- package/common/pipboy.instance.json +2 -2
- package/common/pipboy.js +3 -3
- package/common/pressure.instance.json +27 -0
- package/common/properties.instance.json +322 -37
- package/common/properties.js +38 -31
- package/common/reports.instance.json +5 -3
- package/common/stm.js +15 -9
- package/common/temperature.instance.json +27 -0
- package/common/time.instance.json +167 -0
- package/common/weight.instance.json +27 -0
- package/common/wp.instance.json +21 -21
- package/common/wp.js +62 -10
- package/package.json +2 -2
package/common/wp.js
CHANGED
|
@@ -290,7 +290,11 @@ template = {
|
|
|
290
290
|
bridges: [
|
|
291
291
|
{
|
|
292
292
|
id: 'change_wp',
|
|
293
|
-
bridge:
|
|
293
|
+
bridge: `{
|
|
294
|
+
...next(operator),
|
|
295
|
+
from: after[0][0],
|
|
296
|
+
interpolate: [{ context: operator }, { property: 'from' }, { context: after[1] }]
|
|
297
|
+
}`,
|
|
294
298
|
},
|
|
295
299
|
{
|
|
296
300
|
id: 'paragraphComparisonVerb_wp',
|
|
@@ -301,7 +305,14 @@ template = {
|
|
|
301
305
|
{ word: 'include', comparison: 'include' },
|
|
302
306
|
{ word: 'includes', comparison: 'include' },
|
|
303
307
|
],
|
|
304
|
-
bridge:
|
|
308
|
+
bridge: `{
|
|
309
|
+
...next(operator),
|
|
310
|
+
element: before[0],
|
|
311
|
+
subject: before[0],
|
|
312
|
+
words: after[0],
|
|
313
|
+
verb: operator,
|
|
314
|
+
interpolate: [{ property: 'element' }, { property: 'verb' }, { property: 'words' }]
|
|
315
|
+
}`,
|
|
305
316
|
},
|
|
306
317
|
{
|
|
307
318
|
id: 'statefulElementInContext_wp',
|
|
@@ -309,7 +320,12 @@ template = {
|
|
|
309
320
|
optional: {
|
|
310
321
|
'-1': "{ ...operator, invisible: true }",
|
|
311
322
|
},
|
|
312
|
-
bridge:
|
|
323
|
+
bridge: `{
|
|
324
|
+
...next(before[0]),
|
|
325
|
+
context: append(before[0].context, [after[0]]),
|
|
326
|
+
interpolate: [{ context: before[0] }, { context: operator }, { context: after[0] }],
|
|
327
|
+
modifiers: []
|
|
328
|
+
}`,
|
|
313
329
|
semantic: (args) => {
|
|
314
330
|
const { context, contexts } = args
|
|
315
331
|
for (let i = context.context_index + 1; i < contexts.length; ++i) {
|
|
@@ -321,14 +337,19 @@ template = {
|
|
|
321
337
|
element.context = element.context.concat(context.context)
|
|
322
338
|
}
|
|
323
339
|
}
|
|
324
|
-
console.log(JSON.stringify(Object.keys(args)))
|
|
325
340
|
},
|
|
326
341
|
},
|
|
327
342
|
{
|
|
328
343
|
id: 'applyStyle_wp',
|
|
329
344
|
parents: ['verb'],
|
|
330
345
|
convolution: true,
|
|
331
|
-
bridge:
|
|
346
|
+
bridge: `{
|
|
347
|
+
...next(operator),
|
|
348
|
+
element: after[0],
|
|
349
|
+
state: before[0],
|
|
350
|
+
operator: operator,
|
|
351
|
+
interpolate: [{ property: 'state' }, { property: 'element' }]
|
|
352
|
+
}`,
|
|
332
353
|
localHierarchy: [
|
|
333
354
|
['thisitthat', 'statefulElement_wp'],
|
|
334
355
|
['everything', 'statefulElement_wp'],
|
|
@@ -342,7 +363,13 @@ template = {
|
|
|
342
363
|
// parents: ['verb'],
|
|
343
364
|
parents: ['adjective'],
|
|
344
365
|
convolution: true,
|
|
345
|
-
bridge:
|
|
366
|
+
bridge: `{
|
|
367
|
+
...after[0],
|
|
368
|
+
style: before[0],
|
|
369
|
+
target: after[0],
|
|
370
|
+
interpolate: [{ property: 'style' }, { property: 'target' }],
|
|
371
|
+
conditions: append(after[0].conditions, [before[0]])
|
|
372
|
+
}`,
|
|
346
373
|
},
|
|
347
374
|
{
|
|
348
375
|
id: 'wordComparisonWithVerb_wp',
|
|
@@ -353,7 +380,14 @@ template = {
|
|
|
353
380
|
{ word: 'end', comparison: 'suffix' },
|
|
354
381
|
{ word: 'ends', comparison: 'suffix' },
|
|
355
382
|
],
|
|
356
|
-
bridge:
|
|
383
|
+
bridge: `{
|
|
384
|
+
...next(operator),
|
|
385
|
+
element: before[0],
|
|
386
|
+
subject: before[0],
|
|
387
|
+
letters: after[0],
|
|
388
|
+
verb: operator,
|
|
389
|
+
interpolate: [{ property: 'element' }, { property: 'verb' }, { property: 'letters' }]
|
|
390
|
+
}`,
|
|
357
391
|
},
|
|
358
392
|
{
|
|
359
393
|
id: 'wordComparison_wp',
|
|
@@ -367,7 +401,14 @@ template = {
|
|
|
367
401
|
optional: {
|
|
368
402
|
1: "{ marker: 'a' }",
|
|
369
403
|
},
|
|
370
|
-
bridge:
|
|
404
|
+
bridge: `{
|
|
405
|
+
...next(operator),
|
|
406
|
+
element: before[0],
|
|
407
|
+
subject: before[0],
|
|
408
|
+
letters: after[1],
|
|
409
|
+
verb: operator,
|
|
410
|
+
interpolate: [{ property: 'element' }, { property: 'verb' }, { property: 'letters' }]
|
|
411
|
+
}`,
|
|
371
412
|
},
|
|
372
413
|
{
|
|
373
414
|
id: 'comparisonWith_wp',
|
|
@@ -375,12 +416,23 @@ template = {
|
|
|
375
416
|
optional: {
|
|
376
417
|
1: "{ marker: 'a' }",
|
|
377
418
|
},
|
|
378
|
-
bridge:
|
|
419
|
+
bridge: `{
|
|
420
|
+
...next(operator),
|
|
421
|
+
operator: operator,
|
|
422
|
+
letters: after[1],
|
|
423
|
+
interpolate: [{ property: 'operator' }, { property: 'letters' }]
|
|
424
|
+
}`,
|
|
379
425
|
},
|
|
380
426
|
{
|
|
381
427
|
id: 'changeState_wp',
|
|
382
428
|
parents: ['verb'],
|
|
383
|
-
bridge:
|
|
429
|
+
bridge: `{
|
|
430
|
+
...next(operator),
|
|
431
|
+
element: after[0],
|
|
432
|
+
state: after[1],
|
|
433
|
+
operator: operator,
|
|
434
|
+
interpolate: [{ property: 'operator' }, { property: 'element' }, { property: 'state' }]
|
|
435
|
+
}`,
|
|
384
436
|
localHierarchy: [
|
|
385
437
|
['thisitthat', 'statefulElement_wp'],
|
|
386
438
|
['everything', 'statefulElement_wp'],
|
package/package.json
CHANGED
|
@@ -392,8 +392,8 @@
|
|
|
392
392
|
"scriptjs": "^2.5.9",
|
|
393
393
|
"table": "^6.7.1",
|
|
394
394
|
"uuid": "^9.0.0",
|
|
395
|
-
"theprogrammablemind": "9.7.1-beta.
|
|
395
|
+
"theprogrammablemind": "9.7.1-beta.13"
|
|
396
396
|
},
|
|
397
|
-
"version": "9.7.1-beta.
|
|
397
|
+
"version": "9.7.1-beta.13",
|
|
398
398
|
"license": "UNLICENSED"
|
|
399
399
|
}
|