tpmkms_4wp 8.0.0-beta.6 → 8.0.0-beta.60

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 (102) hide show
  1. package/common/animals.instance.json +2871 -1379
  2. package/common/animals.js +17 -20
  3. package/common/articles.js +103 -0
  4. package/common/articles.test.json +310 -0
  5. package/common/avatar.js +5 -9
  6. package/common/characters.js +22 -28
  7. package/common/colors.instance.json +7170 -3657
  8. package/common/colors.js +4 -8
  9. package/common/colors.test.json +345 -780
  10. package/common/comparable.instance.json +1738 -0
  11. package/common/comparable.js +46 -27
  12. package/common/comparable.test.json +438 -2
  13. package/common/concept.js +120 -118
  14. package/common/countable.js +19 -13
  15. package/common/countable.test.json +1050 -0
  16. package/common/crew.instance.json +13066 -6598
  17. package/common/crew.js +36 -41
  18. package/common/crew.test.json +714 -452
  19. package/common/currency.js +27 -45
  20. package/common/dialogues.js +161 -285
  21. package/common/dimension.instance.json +474 -253
  22. package/common/dimension.js +16 -22
  23. package/common/dimension.test.json +446 -1640
  24. package/common/edible.instance.json +20059 -10007
  25. package/common/edible.js +3 -8
  26. package/common/emotions.instance.json +147 -129
  27. package/common/emotions.js +35 -38
  28. package/common/evaluate.instance.json +2 -0
  29. package/common/evaluate.js +49 -0
  30. package/common/evaluate.test.json +574 -0
  31. package/common/events.js +10 -14
  32. package/common/fastfood.instance.json +221967 -111264
  33. package/common/fastfood.js +74 -84
  34. package/common/fastfood.test.json +268 -90
  35. package/common/formulas.instance.json +455 -249
  36. package/common/formulas.js +19 -26
  37. package/common/gdefaults.js +24 -26
  38. package/common/help.js +7 -12
  39. package/common/help.test.json +22 -22
  40. package/common/helpers/concept.js +10 -7
  41. package/common/helpers/dialogues.js +2 -3
  42. package/common/helpers/properties.js +54 -62
  43. package/common/helpers.js +6 -5
  44. package/common/hierarchy.js +16 -24
  45. package/common/javascript.js +11 -18
  46. package/common/kirk.instance.json +584 -290
  47. package/common/kirk.js +5 -8
  48. package/common/length.instance.json +8834 -4757
  49. package/common/length.js +4 -8
  50. package/common/listener.js +48 -0
  51. package/common/listener.test.json +104 -0
  52. package/common/math.instance.json +425 -1187
  53. package/common/math.js +16 -20
  54. package/common/meta.js +23 -47
  55. package/common/nameable.instance.json +2 -0
  56. package/common/nameable.js +135 -0
  57. package/common/nameable.test.json +2121 -0
  58. package/common/negation.instance.json +2 -0
  59. package/common/negation.js +38 -0
  60. package/common/negation.test.json +308 -0
  61. package/common/numbers.js +27 -31
  62. package/common/ordering.instance.json +366 -246
  63. package/common/ordering.js +80 -86
  64. package/common/people.instance.json +2134 -1022
  65. package/common/people.js +8 -13
  66. package/common/percentages.instance.json +2 -0
  67. package/common/percentages.js +53 -0
  68. package/common/percentages.test.json +751 -0
  69. package/common/pipboy.instance.json +11777 -6289
  70. package/common/pipboy.js +48 -59
  71. package/common/pokemon.instance.json +4226 -2081
  72. package/common/pokemon.js +7 -20
  73. package/common/pos.js +12 -13
  74. package/common/pressure.instance.json +2208 -1175
  75. package/common/pressure.js +4 -8
  76. package/common/properties.instance.json +131 -61
  77. package/common/properties.js +57 -134
  78. package/common/punctuation.js +6 -6
  79. package/common/reports.instance.json +1018 -530
  80. package/common/reports.js +73 -97
  81. package/common/scorekeeper.js +18 -30
  82. package/common/sdefaults.js +16 -7
  83. package/common/sizeable.js +6 -10
  84. package/common/spock.instance.json +584 -290
  85. package/common/spock.js +5 -8
  86. package/common/stgame.js +19 -19
  87. package/common/stm.js +164 -27
  88. package/common/stm.test.json +1734 -1
  89. package/common/tell.js +14 -18
  90. package/common/temperature.instance.json +2271 -1222
  91. package/common/temperature.js +4 -8
  92. package/common/tester.js +3 -3
  93. package/common/testing.js +8 -12
  94. package/common/time.js +20 -25
  95. package/common/tokenize.js +4 -5
  96. package/common/ui.instance.json +459 -240
  97. package/common/ui.js +16 -22
  98. package/common/weight.instance.json +7646 -4026
  99. package/common/weight.js +4 -8
  100. package/common/yesno.js +5 -5
  101. package/main.js +59 -46
  102. package/package.json +28 -5
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "context": [
16
16
  [
17
- "mathematicalOperator",
17
+ "mathematical_operator",
18
18
  0
19
19
  ],
20
20
  [
@@ -29,14 +29,14 @@
29
29
  ],
30
30
  "semantics": [
31
31
  {
32
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:109",
32
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
33
33
  "match": "({context, api}) => context.evaluate && api.get(context)",
34
- "apply": "({context, api, e}) => {\n const { formula } = api.get(context)\n // console.log('greg24 -----------', JSON.stringify(formula, null, 2))\n context.evalue = e(formula) \n }"
34
+ "apply": "async ({context, api, e}) => {\n const { formula } = api.get(context)\n // console.log('greg24 -----------', JSON.stringify(formula, null, 2))\n context.evalue = await e(formula) \n }"
35
35
  }
36
36
  ],
37
37
  "bridges": [
38
38
  {
39
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:120",
39
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
40
40
  "id": "formulaForVariable",
41
41
  "isA": [
42
42
  "preposition",
@@ -44,14 +44,14 @@
44
44
  ],
45
45
  "convolution": true,
46
46
  "bridge": "{ number: before[0].number, ...next(operator), what: before[0], equality: after[0], variable: after[1] }",
47
- "generatorp": "({context, g}) => `${g(context.what)} ${g(context.equality)} ${g(context.variable)}`",
47
+ "generatorp": "async ({context, g}) => `${await g(context.what)} ${await g(context.equality)} ${await g(context.variable)}`",
48
48
  "evaluator": "({context, api, objects}) => {\n const formulas = api.gets(context.variable).map((f) => { return { ...f.equality, paraphrase: true } })\n context.evalue = { marker: 'list', value: formulas }\n }"
49
49
  },
50
50
  {
51
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:132",
51
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
52
52
  "id": "solve",
53
53
  "bridge": "{ ...next(operator), equality: after[0], variable: after[2] }",
54
- "generatorp": "({context, gp}) => `${context.word} ${gp(context.equality)} for ${gp(context.variable)}`",
54
+ "generatorp": "async ({context, gp}) => `${context.word} ${await gp(context.equality)} for ${await gp(context.variable)}`",
55
55
  "semantic": "({context}) => {\n context.response = solveFor(context.equality, context.variable)\n context.isResponse = true\n context.value = null\n if (!context.response) {\n // TODO some KM for talking to the user wrt brief+avatar\n context.verbatim = `Solving failed`\n }\n }"
56
56
  },
57
57
  {
@@ -70,34 +70,34 @@
70
70
  "number"
71
71
  ],
72
72
  "before": [
73
- "verby"
73
+ "verb"
74
74
  ]
75
75
  },
76
76
  {
77
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:159",
77
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
78
78
  "id": "calculate",
79
79
  "isA": [
80
- "verby"
80
+ "verb"
81
81
  ],
82
82
  "bridge": "{ ...next(operator), expression: after[0] }",
83
- "generatorp": "({context, g}) => `${context.word} ${g(context.expression)}`",
83
+ "generatorp": "async ({context, g}) => `${context.word} ${await g(context.expression)}`",
84
84
  "localHierarchy": [
85
85
  [
86
86
  "unknown",
87
87
  "expression"
88
88
  ]
89
89
  ],
90
- "semantic": "({context, e}) => {\n context.evalue = e(context.expression)\n context.isResponse = true\n }"
90
+ "semantic": "async ({context, e}) => {\n context.evalue = await e(context.expression)\n context.isResponse = true\n }"
91
91
  },
92
92
  {
93
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:171",
93
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
94
94
  "id": "equals",
95
95
  "bridge": "{ ...next(operator), left: before[0], right: after[0] }",
96
96
  "words": [
97
97
  "="
98
98
  ],
99
99
  "after": [
100
- "mathematicalOperator"
100
+ "mathematical_operator"
101
101
  ],
102
102
  "localHierarchy": [
103
103
  [
@@ -105,7 +105,7 @@
105
105
  "expression"
106
106
  ]
107
107
  ],
108
- "generatorp": "({context, gp}) => `${gp(context.left)} ${context.word} ${gp(context.right)}`",
108
+ "generatorp": "async ({context, gp}) => `${await gp(context.left)} ${context.word} ${await gp(context.right)}`",
109
109
  "semantic": "({context, api}) => {\n // TODO make sure left is a single name\n // TODO calculate invertable formulas?\n api.add(context.left, context.right, context)\n }"
110
110
  }
111
111
  ]
@@ -115,568 +115,774 @@
115
115
  {
116
116
  "hierarchy": [
117
117
  [
118
- "*",
119
- "hierarchyAble"
120
- ],
121
- [
122
- "*",
123
- "isEdee"
124
- ],
125
- [
126
- "*",
127
- "isEder"
128
- ],
129
- [
130
- "*",
131
- "mathematical_operator"
132
- ],
133
- [
134
- "*",
135
- "object"
136
- ],
137
- [
138
- "*",
139
- "property"
140
- ],
141
- [
142
- "*",
143
- "queryable"
144
- ],
145
- [
146
- "*",
147
- "theAble"
148
- ],
149
- [
150
- "+",
151
- "hierarchyAble"
152
- ],
153
- [
154
- "+",
155
- "isEdee"
156
- ],
157
- [
158
- "+",
159
- "isEder"
160
- ],
161
- [
162
- "+",
163
- "mathematical_operator"
164
- ],
165
- [
166
- "+",
167
- "object"
168
- ],
169
- [
170
- "+",
171
- "property"
172
- ],
173
- [
174
- "+",
175
- "queryable"
176
- ],
177
- [
178
- "+",
179
- "theAble"
180
- ],
181
- [
182
- "-",
183
- "hierarchyAble"
118
+ "a",
119
+ "articlePOS",
120
+ false
184
121
  ],
185
122
  [
186
- "-",
187
- "isEdee"
123
+ "adjective",
124
+ "adjective",
125
+ false
188
126
  ],
189
127
  [
190
- "-",
191
- "isEder"
128
+ "all",
129
+ "quantifier",
130
+ false
192
131
  ],
193
132
  [
194
- "-",
195
- "mathematical_operator"
133
+ "articlePOS",
134
+ "articlePOS",
135
+ false
196
136
  ],
197
137
  [
198
- "-",
199
- "object"
138
+ "ascending",
139
+ "hierarchyAble",
140
+ false
200
141
  ],
201
142
  [
202
- "-",
203
- "property"
143
+ "ascending",
144
+ "isEdee",
145
+ false
204
146
  ],
205
147
  [
206
- "-",
207
- "queryable"
148
+ "ascending",
149
+ "isEder",
150
+ false
208
151
  ],
209
152
  [
210
- "-",
211
- "theAble"
153
+ "ascending",
154
+ "object",
155
+ false
212
156
  ],
213
157
  [
214
- "/",
215
- "hierarchyAble"
158
+ "ascending",
159
+ "property",
160
+ false
216
161
  ],
217
162
  [
218
- "/",
219
- "isEdee"
163
+ "ascending",
164
+ "queryable",
165
+ false
220
166
  ],
221
167
  [
222
- "/",
223
- "isEder"
168
+ "ascending",
169
+ "sort_ordering",
170
+ false
224
171
  ],
225
172
  [
226
- "/",
227
- "mathematical_operator"
173
+ "ascending",
174
+ "theAble",
175
+ false
228
176
  ],
229
177
  [
230
- "/",
231
- "object"
178
+ "between",
179
+ "preposition",
180
+ false
232
181
  ],
233
182
  [
234
- "/",
235
- "property"
183
+ "canBeDoQuestion",
184
+ "canBeDoQuestion",
185
+ false
236
186
  ],
237
187
  [
238
- "/",
239
- "queryable"
188
+ "canBeQuestion",
189
+ "canBeQuestion",
190
+ false
240
191
  ],
241
192
  [
242
- "/",
243
- "theAble"
193
+ "concept",
194
+ "queryable",
195
+ false
244
196
  ],
245
197
  [
246
- "a",
247
- "articlePOS"
198
+ "concept",
199
+ "theAble",
200
+ false
248
201
  ],
249
202
  [
250
- "adjective",
251
- "adjective"
203
+ "condition",
204
+ "condition",
205
+ false
252
206
  ],
253
207
  [
254
- "all",
255
- "quantifier"
208
+ "countable",
209
+ "hierarchyAble",
210
+ false
256
211
  ],
257
212
  [
258
- "articlePOS",
259
- "articlePOS"
213
+ "descending",
214
+ "hierarchyAble",
215
+ false
260
216
  ],
261
217
  [
262
- "between",
263
- "preposition"
218
+ "descending",
219
+ "isEdee",
220
+ false
264
221
  ],
265
222
  [
266
- "canBeDoQuestion",
267
- "canBeDoQuestion"
223
+ "descending",
224
+ "isEder",
225
+ false
268
226
  ],
269
227
  [
270
- "canBeQuestion",
271
- "canBeQuestion"
228
+ "descending",
229
+ "object",
230
+ false
272
231
  ],
273
232
  [
274
- "concept",
275
- "queryable"
233
+ "descending",
234
+ "property",
235
+ false
276
236
  ],
277
237
  [
278
- "concept",
279
- "theAble"
238
+ "descending",
239
+ "queryable",
240
+ false
280
241
  ],
281
242
  [
282
- "condition",
283
- "condition"
243
+ "descending",
244
+ "sort_ordering",
245
+ false
284
246
  ],
285
247
  [
286
- "countable",
287
- "hierarchyAble"
248
+ "descending",
249
+ "theAble",
250
+ false
288
251
  ],
289
252
  [
290
253
  "divideByExpression",
291
- "mathematicalExpression"
254
+ "mathematicalExpression",
255
+ false
292
256
  ],
293
257
  [
294
258
  "divideByOperator",
295
- "mathematicalOperator"
259
+ "mathematical_operator",
260
+ false
296
261
  ],
297
262
  [
298
263
  "doubleQuote",
299
- "queryable"
264
+ "queryable",
265
+ false
266
+ ],
267
+ [
268
+ "evaluate",
269
+ "verb",
270
+ false
300
271
  ],
301
272
  [
302
273
  "hasCountOfPieces",
303
- "countable"
274
+ "countable",
275
+ false
304
276
  ],
305
277
  [
306
278
  "have",
307
- "canBeDoQuestion"
279
+ "canBeDoQuestion",
280
+ false
308
281
  ],
309
282
  [
310
283
  "have",
311
- "canBeQuestion"
284
+ "canBeQuestion",
285
+ false
312
286
  ],
313
287
  [
314
288
  "hierarchyAble",
315
- "queryable"
289
+ "queryable",
290
+ false
316
291
  ],
317
292
  [
318
293
  "highest",
319
- "condition"
294
+ "condition",
295
+ false
320
296
  ],
321
297
  [
322
298
  "ifAble",
323
- "ifAble"
299
+ "ifAble",
300
+ false
324
301
  ],
325
302
  [
326
303
  "is",
327
- "canBeQuestion"
304
+ "canBeQuestion",
305
+ false
328
306
  ],
329
307
  [
330
308
  "is",
331
- "verby"
309
+ "verb",
310
+ false
332
311
  ],
333
312
  [
334
313
  "isEdee",
335
- "isEdee"
314
+ "isEdee",
315
+ false
336
316
  ],
337
317
  [
338
318
  "isEder",
339
- "isEder"
319
+ "isEder",
320
+ false
340
321
  ],
341
322
  [
342
323
  "it",
343
- "pronoun"
324
+ "pronoun",
325
+ false
344
326
  ],
345
327
  [
346
328
  "it",
347
- "queryable"
329
+ "queryable",
330
+ false
348
331
  ],
349
332
  [
350
333
  "it",
351
- "thisitthat"
334
+ "thisitthat",
335
+ false
352
336
  ],
353
337
  [
354
338
  "it",
355
- "toAble"
339
+ "toAble",
340
+ false
356
341
  ],
357
342
  [
358
343
  "lowest",
359
- "condition"
344
+ "condition",
345
+ false
360
346
  ],
361
347
  [
362
348
  "mathematical",
363
- "hierarchyAble"
349
+ "hierarchyAble",
350
+ false
364
351
  ],
365
352
  [
366
353
  "mathematical",
367
- "isEdee"
354
+ "isEdee",
355
+ false
368
356
  ],
369
357
  [
370
358
  "mathematical",
371
- "isEder"
359
+ "isEder",
360
+ false
372
361
  ],
373
362
  [
374
363
  "mathematical",
375
- "object"
364
+ "object",
365
+ false
376
366
  ],
377
367
  [
378
368
  "mathematical",
379
- "operator_modifier"
369
+ "operator_modifier",
370
+ false
380
371
  ],
381
372
  [
382
373
  "mathematical",
383
- "property"
374
+ "property",
375
+ false
384
376
  ],
385
377
  [
386
378
  "mathematical",
387
- "queryable"
379
+ "queryable",
380
+ false
388
381
  ],
389
382
  [
390
383
  "mathematical",
391
- "theAble"
384
+ "theAble",
385
+ false
392
386
  ],
393
387
  [
394
388
  "mathematicalExpression",
395
- "concept"
389
+ "concept",
390
+ false
396
391
  ],
397
392
  [
398
393
  "mathematicalExpression",
399
- "number"
394
+ "number",
395
+ false
400
396
  ],
401
397
  [
402
- "mathematicalOperator",
403
- "mathematicalOperator"
398
+ "mathematical_operator",
399
+ "adjective",
400
+ true
404
401
  ],
405
402
  [
406
403
  "mathematical_operator",
407
- "adjective"
404
+ "concept",
405
+ false
408
406
  ],
409
407
  [
410
408
  "mathematical_operator",
411
- "concept"
409
+ "hierarchyAble",
410
+ false
412
411
  ],
413
412
  [
414
413
  "mathematical_operator",
415
- "hierarchyAble"
414
+ "isEdee",
415
+ false
416
416
  ],
417
417
  [
418
418
  "mathematical_operator",
419
- "isEdee"
419
+ "isEder",
420
+ false
420
421
  ],
421
422
  [
422
423
  "mathematical_operator",
423
- "isEder"
424
+ "object",
425
+ false
424
426
  ],
425
427
  [
426
428
  "mathematical_operator",
427
- "object"
429
+ "operator",
430
+ false
428
431
  ],
429
432
  [
430
433
  "mathematical_operator",
431
- "operator"
434
+ "property",
435
+ false
432
436
  ],
433
437
  [
434
438
  "mathematical_operator",
435
- "property"
439
+ "queryable",
440
+ false
436
441
  ],
437
442
  [
438
443
  "mathematical_operator",
439
- "queryable"
444
+ "theAble",
445
+ false
440
446
  ],
441
447
  [
442
- "mathematical_operator",
443
- "theAble"
448
+ "memorable",
449
+ "theAble",
450
+ false
444
451
  ],
445
452
  [
446
453
  "minusExpression",
447
- "mathematicalExpression"
454
+ "mathematicalExpression",
455
+ false
448
456
  ],
449
457
  [
450
458
  "minusOperator",
451
- "mathematicalOperator"
459
+ "mathematical_operator",
460
+ false
452
461
  ],
453
462
  [
454
463
  "modifies",
455
- "verby"
456
- ],
457
- [
458
- "notAble",
459
- "notAble"
464
+ "verb",
465
+ false
460
466
  ],
461
467
  [
462
468
  "noun",
463
- "theAble"
469
+ "theAble",
470
+ false
464
471
  ],
465
472
  [
466
473
  "number",
467
- "quantifier"
474
+ "quantifier",
475
+ false
468
476
  ],
469
477
  [
470
478
  "number",
471
- "queryable"
479
+ "queryable",
480
+ false
472
481
  ],
473
482
  [
474
483
  "object",
475
- "queryable"
484
+ "queryable",
485
+ false
476
486
  ],
477
487
  [
478
488
  "object",
479
- "theAble"
489
+ "theAble",
490
+ false
480
491
  ],
481
492
  [
482
493
  "operator",
483
- "concept"
494
+ "concept",
495
+ false
484
496
  ],
485
497
  [
486
498
  "operator",
487
- "hierarchyAble"
499
+ "hierarchyAble",
500
+ false
488
501
  ],
489
502
  [
490
503
  "operator",
491
- "isEdee"
504
+ "isEdee",
505
+ false
492
506
  ],
493
507
  [
494
508
  "operator",
495
- "isEder"
509
+ "isEder",
510
+ false
496
511
  ],
497
512
  [
498
513
  "operator",
499
- "object"
514
+ "object",
515
+ false
500
516
  ],
501
517
  [
502
518
  "operator",
503
- "property"
519
+ "property",
520
+ false
504
521
  ],
505
522
  [
506
523
  "operator",
507
- "queryable"
524
+ "queryable",
525
+ false
508
526
  ],
509
527
  [
510
528
  "operator",
511
- "theAble"
529
+ "theAble",
530
+ false
512
531
  ],
513
532
  [
514
533
  "operator_modifier",
515
- "operator_modifier"
534
+ "operator_modifier",
535
+ false
516
536
  ],
517
537
  [
518
538
  "orAble",
519
- "ifAble"
539
+ "ifAble",
540
+ false
541
+ ],
542
+ [
543
+ "ordering",
544
+ "concept",
545
+ false
546
+ ],
547
+ [
548
+ "ordering",
549
+ "hierarchyAble",
550
+ false
551
+ ],
552
+ [
553
+ "ordering",
554
+ "isEdee",
555
+ false
556
+ ],
557
+ [
558
+ "ordering",
559
+ "isEder",
560
+ false
561
+ ],
562
+ [
563
+ "ordering",
564
+ "object",
565
+ false
566
+ ],
567
+ [
568
+ "ordering",
569
+ "property",
570
+ false
571
+ ],
572
+ [
573
+ "ordering",
574
+ "queryable",
575
+ false
576
+ ],
577
+ [
578
+ "ordering",
579
+ "theAble",
580
+ false
581
+ ],
582
+ [
583
+ "ordering_modifier",
584
+ "ordering_modifier",
585
+ false
520
586
  ],
521
587
  [
522
588
  "plusExpression",
523
- "mathematicalExpression"
589
+ "mathematicalExpression",
590
+ false
524
591
  ],
525
592
  [
526
593
  "plusOperator",
527
- "mathematicalOperator"
594
+ "mathematical_operator",
595
+ false
528
596
  ],
529
597
  [
530
598
  "preposition",
531
- "preposition"
599
+ "preposition",
600
+ false
532
601
  ],
533
602
  [
534
603
  "pronoun",
535
- "pronoun"
604
+ "pronoun",
605
+ false
536
606
  ],
537
607
  [
538
608
  "property",
539
- "queryable"
609
+ "queryable",
610
+ false
540
611
  ],
541
612
  [
542
613
  "property",
543
- "theAble"
614
+ "theAble",
615
+ false
544
616
  ],
545
617
  [
546
618
  "property",
547
- "unknown"
619
+ "unknown",
620
+ false
548
621
  ],
549
622
  [
550
623
  "punctuation",
551
- "punctuation"
624
+ "punctuation",
625
+ false
552
626
  ],
553
627
  [
554
628
  "quantifier",
555
- "quantifier"
629
+ "quantifier",
630
+ false
556
631
  ],
557
632
  [
558
633
  "queryable",
559
- "queryable"
634
+ "queryable",
635
+ false
560
636
  ],
561
637
  [
562
638
  "questionMark",
563
- "punctuation"
639
+ "punctuation",
640
+ false
564
641
  ],
565
642
  [
566
643
  "readonly",
567
- "queryable"
644
+ "queryable",
645
+ false
568
646
  ],
569
647
  [
570
648
  "reason",
571
- "queryable"
649
+ "queryable",
650
+ false
572
651
  ],
573
652
  [
574
653
  "reason",
575
- "theAble"
654
+ "theAble",
655
+ false
656
+ ],
657
+ [
658
+ "remember",
659
+ "verb",
660
+ false
661
+ ],
662
+ [
663
+ "sort",
664
+ "hierarchyAble",
665
+ false
666
+ ],
667
+ [
668
+ "sort",
669
+ "isEdee",
670
+ false
671
+ ],
672
+ [
673
+ "sort",
674
+ "isEder",
675
+ false
676
+ ],
677
+ [
678
+ "sort",
679
+ "object",
680
+ false
681
+ ],
682
+ [
683
+ "sort",
684
+ "ordering_modifier",
685
+ false
686
+ ],
687
+ [
688
+ "sort",
689
+ "property",
690
+ false
691
+ ],
692
+ [
693
+ "sort",
694
+ "queryable",
695
+ false
696
+ ],
697
+ [
698
+ "sort",
699
+ "theAble",
700
+ false
701
+ ],
702
+ [
703
+ "sortOrdering",
704
+ "adjective",
705
+ false
706
+ ],
707
+ [
708
+ "sort_ordering",
709
+ "adjective",
710
+ true
711
+ ],
712
+ [
713
+ "sort_ordering",
714
+ "concept",
715
+ false
716
+ ],
717
+ [
718
+ "sort_ordering",
719
+ "hierarchyAble",
720
+ false
721
+ ],
722
+ [
723
+ "sort_ordering",
724
+ "isEdee",
725
+ false
726
+ ],
727
+ [
728
+ "sort_ordering",
729
+ "isEder",
730
+ false
731
+ ],
732
+ [
733
+ "sort_ordering",
734
+ "object",
735
+ false
736
+ ],
737
+ [
738
+ "sort_ordering",
739
+ "ordering",
740
+ false
741
+ ],
742
+ [
743
+ "sort_ordering",
744
+ "property",
745
+ false
746
+ ],
747
+ [
748
+ "sort_ordering",
749
+ "queryable",
750
+ false
751
+ ],
752
+ [
753
+ "sort_ordering",
754
+ "theAble",
755
+ false
756
+ ],
757
+ [
758
+ "stm_before",
759
+ "adjective",
760
+ false
576
761
  ],
577
762
  [
578
763
  "that",
579
- "thisitthat"
764
+ "thisitthat",
765
+ false
580
766
  ],
581
767
  [
582
768
  "the",
583
- "articlePOS"
769
+ "articlePOS",
770
+ false
584
771
  ],
585
772
  [
586
773
  "theAble",
587
- "theAble"
774
+ "theAble",
775
+ false
588
776
  ],
589
777
  [
590
778
  "this",
591
- "pronoun"
779
+ "pronoun",
780
+ false
592
781
  ],
593
782
  [
594
783
  "this",
595
- "queryable"
784
+ "queryable",
785
+ false
596
786
  ],
597
787
  [
598
788
  "this",
599
- "thisitthat"
789
+ "thisitthat",
790
+ false
600
791
  ],
601
792
  [
602
793
  "thisitthat",
603
- "queryable"
794
+ "queryable",
795
+ false
604
796
  ],
605
797
  [
606
798
  "timesExpression",
607
- "mathematicalExpression"
799
+ "mathematicalExpression",
800
+ false
608
801
  ],
609
802
  [
610
803
  "timesOperator",
611
- "mathematicalOperator"
804
+ "mathematical_operator",
805
+ false
612
806
  ],
613
807
  [
614
808
  "to",
615
- "preposition"
809
+ "preposition",
810
+ false
616
811
  ],
617
812
  [
618
813
  "toAble",
619
- "toAble"
814
+ "toAble",
815
+ false
620
816
  ],
621
817
  [
622
818
  "type",
623
- "property"
819
+ "property",
820
+ false
624
821
  ],
625
822
  [
626
823
  "type",
627
- "whatAble"
628
- ],
629
- [
630
- "unknown",
631
- "hierarchyAble"
824
+ "whatAble",
825
+ false
632
826
  ],
633
827
  [
634
828
  "unknown",
635
- "notAble"
829
+ "hierarchyAble",
830
+ false
636
831
  ],
637
832
  [
638
833
  "unknown",
639
- "object"
834
+ "object",
835
+ false
640
836
  ],
641
837
  [
642
838
  "unknown",
643
- "queryable"
839
+ "queryable",
840
+ false
644
841
  ],
645
842
  [
646
843
  "unknown",
647
- "theAble"
844
+ "theAble",
845
+ false
648
846
  ],
649
847
  [
650
- "verby",
651
- "verby"
848
+ "verb",
849
+ "verb",
850
+ false
652
851
  ],
653
852
  [
654
853
  "what",
655
- "object"
854
+ "object",
855
+ false
656
856
  ],
657
857
  [
658
858
  "what",
659
- "queryable"
859
+ "queryable",
860
+ false
660
861
  ],
661
862
  [
662
863
  "whatAble",
663
- "queryable"
864
+ "queryable",
865
+ false
664
866
  ],
665
867
  [
666
868
  "whose",
667
- "object"
869
+ "object",
870
+ false
668
871
  ],
669
872
  [
670
873
  "x",
671
- "number"
874
+ "number",
875
+ false
672
876
  ],
673
877
  [
674
878
  "xfx",
675
- "queryable"
879
+ "queryable",
880
+ false
676
881
  ],
677
882
  [
678
883
  "y",
679
- "number"
884
+ "number",
885
+ false
680
886
  ]
681
887
  ],
682
888
  "metadata": {
@@ -867,7 +1073,7 @@
867
1073
  {
868
1074
  "context": [
869
1075
  [
870
- "mathematicalOperator",
1076
+ "mathematical_operator",
871
1077
  0
872
1078
  ],
873
1079
  [
@@ -882,12 +1088,12 @@
882
1088
  ],
883
1089
  "semantics": [
884
1090
  {
885
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:109"
1091
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5"
886
1092
  }
887
1093
  ],
888
1094
  "bridges": [
889
1095
  {
890
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:120",
1096
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
891
1097
  "id": "formulaForVariable",
892
1098
  "isA": [
893
1099
  "preposition",
@@ -897,7 +1103,7 @@
897
1103
  "bridge": "{ number: before[0].number, ...next(operator), what: before[0], equality: after[0], variable: after[1] }"
898
1104
  },
899
1105
  {
900
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:132",
1106
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
901
1107
  "id": "solve",
902
1108
  "bridge": "{ ...next(operator), equality: after[0], variable: after[2] }"
903
1109
  },
@@ -917,14 +1123,14 @@
917
1123
  "number"
918
1124
  ],
919
1125
  "before": [
920
- "verby"
1126
+ "verb"
921
1127
  ]
922
1128
  },
923
1129
  {
924
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:159",
1130
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
925
1131
  "id": "calculate",
926
1132
  "isA": [
927
- "verby"
1133
+ "verb"
928
1134
  ],
929
1135
  "bridge": "{ ...next(operator), expression: after[0] }",
930
1136
  "localHierarchy": [
@@ -935,14 +1141,14 @@
935
1141
  ]
936
1142
  },
937
1143
  {
938
- "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:171",
1144
+ "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
939
1145
  "id": "equals",
940
1146
  "bridge": "{ ...next(operator), left: before[0], right: after[0] }",
941
1147
  "words": [
942
1148
  "="
943
1149
  ],
944
1150
  "after": [
945
- "mathematicalOperator"
1151
+ "mathematical_operator"
946
1152
  ],
947
1153
  "localHierarchy": [
948
1154
  [