ekms 8.0.0-beta.9 → 8.0.0-beta.90

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 (112) hide show
  1. package/common/animals.instance.json +2915 -1553
  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/asking.instance.json +2 -0
  6. package/common/asking.js +253 -0
  7. package/common/asking.test.json +2290 -0
  8. package/common/avatar.js +6 -10
  9. package/common/characters.js +23 -29
  10. package/common/colors.instance.json +7487 -4114
  11. package/common/colors.js +5 -9
  12. package/common/colors.test.json +345 -780
  13. package/common/comparable.instance.json +1750 -0
  14. package/common/comparable.js +36 -28
  15. package/common/comparable.test.json +1196 -2
  16. package/common/concept.js +121 -119
  17. package/common/conjunction.instance.json +2 -0
  18. package/common/conjunction.js +104 -0
  19. package/common/conjunction.test.json +322 -0
  20. package/common/countable.js +20 -14
  21. package/common/countable.test.json +1050 -0
  22. package/common/crew.instance.json +13553 -7026
  23. package/common/crew.js +37 -42
  24. package/common/crew.test.json +714 -452
  25. package/common/currency.js +28 -46
  26. package/common/dialogues.js +150 -426
  27. package/common/dialogues.test.json +0 -786
  28. package/common/dimension.instance.json +491 -262
  29. package/common/dimension.js +22 -24
  30. package/common/dimension.test.json +508 -1702
  31. package/common/edible.instance.json +20446 -10806
  32. package/common/edible.js +4 -9
  33. package/common/emotions.instance.json +192 -124
  34. package/common/emotions.js +36 -39
  35. package/common/evaluate.instance.json +2 -0
  36. package/common/evaluate.js +53 -0
  37. package/common/evaluate.test.json +574 -0
  38. package/common/events.js +11 -15
  39. package/common/fastfood.instance.json +222642 -113618
  40. package/common/fastfood.js +76 -86
  41. package/common/fastfood.test.json +268 -90
  42. package/common/formulas.instance.json +443 -247
  43. package/common/formulas.js +20 -27
  44. package/common/gdefaults.js +40 -27
  45. package/common/help.js +9 -14
  46. package/common/help.test.json +65 -16
  47. package/common/helpers/concept.js +10 -7
  48. package/common/helpers/dialogues.js +5 -3
  49. package/common/helpers/properties.js +67 -64
  50. package/common/helpers.js +35 -24
  51. package/common/hierarchy.js +17 -25
  52. package/common/javascript.js +12 -19
  53. package/common/kirk.instance.json +583 -299
  54. package/common/kirk.js +6 -9
  55. package/common/length.instance.json +9005 -5001
  56. package/common/length.js +5 -9
  57. package/common/listener.js +48 -0
  58. package/common/listener.test.json +104 -0
  59. package/common/math.instance.json +406 -1178
  60. package/common/math.js +17 -21
  61. package/common/meta.js +24 -48
  62. package/common/nameable.instance.json +2 -0
  63. package/common/nameable.js +144 -0
  64. package/common/nameable.test.json +3191 -0
  65. package/common/negation.js +11 -7
  66. package/common/numbers.js +28 -32
  67. package/common/ordering.instance.json +443 -343
  68. package/common/ordering.js +81 -87
  69. package/common/ordinals.instance.json +2 -0
  70. package/common/ordinals.js +60 -0
  71. package/common/ordinals.test.json +306 -0
  72. package/common/people.instance.json +2210 -1150
  73. package/common/people.js +9 -14
  74. package/common/percentages.instance.json +2 -0
  75. package/common/percentages.js +53 -0
  76. package/common/percentages.test.json +751 -0
  77. package/common/pipboy.instance.json +11845 -6590
  78. package/common/pipboy.js +51 -62
  79. package/common/pokemon.instance.json +4300 -2285
  80. package/common/pokemon.js +8 -21
  81. package/common/pos.js +16 -14
  82. package/common/pressure.instance.json +2325 -1340
  83. package/common/pressure.js +5 -9
  84. package/common/properties.instance.json +148 -88
  85. package/common/properties.js +149 -160
  86. package/common/punctuation.js +16 -8
  87. package/common/reports.instance.json +1019 -551
  88. package/common/reports.js +77 -101
  89. package/common/reports.test.json +15623 -10458
  90. package/common/scorekeeper.js +19 -31
  91. package/common/sdefaults.js +17 -8
  92. package/common/sizeable.js +7 -11
  93. package/common/spock.instance.json +582 -298
  94. package/common/spock.js +6 -9
  95. package/common/stgame.js +20 -20
  96. package/common/stm.js +173 -31
  97. package/common/stm.test.json +1734 -1
  98. package/common/tell.js +15 -19
  99. package/common/temperature.instance.json +2430 -1429
  100. package/common/temperature.js +5 -9
  101. package/common/tester.js +15 -4
  102. package/common/testing.js +8 -12
  103. package/common/time.js +21 -26
  104. package/common/tokenize.js +6 -7
  105. package/common/ui.instance.json +150 -463
  106. package/common/ui.js +22 -33
  107. package/common/ui.test.json +641 -5357
  108. package/common/weight.instance.json +8034 -4503
  109. package/common/weight.js +5 -9
  110. package/common/yesno.js +6 -6
  111. package/main.js +20 -4
  112. package/package.json +37 -6
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "context": [
16
16
  [
17
- "mathematicalOperator",
17
+ "mathematical_operator",
18
18
  0
19
19
  ],
20
20
  [
@@ -31,7 +31,7 @@
31
31
  {
32
32
  "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:109",
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": [
@@ -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
51
  "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:132",
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,24 +70,24 @@
70
70
  "number"
71
71
  ],
72
72
  "before": [
73
- "verby"
73
+ "verb"
74
74
  ]
75
75
  },
76
76
  {
77
77
  "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:159",
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
93
  "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:171",
@@ -97,7 +97,7 @@
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,764 @@
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"
536
- ],
537
- [
538
- "property",
539
- "queryable"
604
+ "pronoun",
605
+ false
540
606
  ],
541
607
  [
542
608
  "property",
543
- "theAble"
609
+ "queryable",
610
+ false
544
611
  ],
545
612
  [
546
613
  "property",
547
- "unknown"
614
+ "theAble",
615
+ false
548
616
  ],
549
617
  [
550
618
  "punctuation",
551
- "punctuation"
619
+ "punctuation",
620
+ false
552
621
  ],
553
622
  [
554
623
  "quantifier",
555
- "quantifier"
624
+ "quantifier",
625
+ false
556
626
  ],
557
627
  [
558
628
  "queryable",
559
- "queryable"
629
+ "queryable",
630
+ false
560
631
  ],
561
632
  [
562
633
  "questionMark",
563
- "punctuation"
634
+ "punctuation",
635
+ false
564
636
  ],
565
637
  [
566
638
  "readonly",
567
- "queryable"
639
+ "queryable",
640
+ false
568
641
  ],
569
642
  [
570
643
  "reason",
571
- "queryable"
644
+ "queryable",
645
+ false
572
646
  ],
573
647
  [
574
648
  "reason",
575
- "theAble"
649
+ "theAble",
650
+ false
651
+ ],
652
+ [
653
+ "remember",
654
+ "verb",
655
+ false
656
+ ],
657
+ [
658
+ "sort",
659
+ "hierarchyAble",
660
+ false
661
+ ],
662
+ [
663
+ "sort",
664
+ "isEdee",
665
+ false
666
+ ],
667
+ [
668
+ "sort",
669
+ "isEder",
670
+ false
671
+ ],
672
+ [
673
+ "sort",
674
+ "object",
675
+ false
676
+ ],
677
+ [
678
+ "sort",
679
+ "ordering_modifier",
680
+ false
681
+ ],
682
+ [
683
+ "sort",
684
+ "property",
685
+ false
686
+ ],
687
+ [
688
+ "sort",
689
+ "queryable",
690
+ false
691
+ ],
692
+ [
693
+ "sort",
694
+ "theAble",
695
+ false
696
+ ],
697
+ [
698
+ "sortOrdering",
699
+ "adjective",
700
+ false
701
+ ],
702
+ [
703
+ "sort_ordering",
704
+ "adjective",
705
+ true
706
+ ],
707
+ [
708
+ "sort_ordering",
709
+ "concept",
710
+ false
711
+ ],
712
+ [
713
+ "sort_ordering",
714
+ "hierarchyAble",
715
+ false
716
+ ],
717
+ [
718
+ "sort_ordering",
719
+ "isEdee",
720
+ false
721
+ ],
722
+ [
723
+ "sort_ordering",
724
+ "isEder",
725
+ false
726
+ ],
727
+ [
728
+ "sort_ordering",
729
+ "object",
730
+ false
731
+ ],
732
+ [
733
+ "sort_ordering",
734
+ "ordering",
735
+ false
736
+ ],
737
+ [
738
+ "sort_ordering",
739
+ "property",
740
+ false
741
+ ],
742
+ [
743
+ "sort_ordering",
744
+ "queryable",
745
+ false
746
+ ],
747
+ [
748
+ "sort_ordering",
749
+ "theAble",
750
+ false
751
+ ],
752
+ [
753
+ "stm_before",
754
+ "adjective",
755
+ false
576
756
  ],
577
757
  [
578
758
  "that",
579
- "thisitthat"
759
+ "thisitthat",
760
+ false
580
761
  ],
581
762
  [
582
763
  "the",
583
- "articlePOS"
764
+ "articlePOS",
765
+ false
584
766
  ],
585
767
  [
586
768
  "theAble",
587
- "theAble"
769
+ "theAble",
770
+ false
588
771
  ],
589
772
  [
590
773
  "this",
591
- "pronoun"
774
+ "pronoun",
775
+ false
592
776
  ],
593
777
  [
594
778
  "this",
595
- "queryable"
779
+ "queryable",
780
+ false
596
781
  ],
597
782
  [
598
783
  "this",
599
- "thisitthat"
784
+ "thisitthat",
785
+ false
600
786
  ],
601
787
  [
602
788
  "thisitthat",
603
- "queryable"
789
+ "queryable",
790
+ false
604
791
  ],
605
792
  [
606
793
  "timesExpression",
607
- "mathematicalExpression"
794
+ "mathematicalExpression",
795
+ false
608
796
  ],
609
797
  [
610
798
  "timesOperator",
611
- "mathematicalOperator"
799
+ "mathematical_operator",
800
+ false
612
801
  ],
613
802
  [
614
803
  "to",
615
- "preposition"
804
+ "preposition",
805
+ false
616
806
  ],
617
807
  [
618
808
  "toAble",
619
- "toAble"
809
+ "toAble",
810
+ false
620
811
  ],
621
812
  [
622
813
  "type",
623
- "property"
814
+ "property",
815
+ false
624
816
  ],
625
817
  [
626
818
  "type",
627
- "whatAble"
628
- ],
629
- [
630
- "unknown",
631
- "hierarchyAble"
632
- ],
633
- [
634
- "unknown",
635
- "notAble"
819
+ "whatAble",
820
+ false
636
821
  ],
637
822
  [
638
823
  "unknown",
639
- "object"
824
+ "hierarchyAble",
825
+ false
640
826
  ],
641
827
  [
642
828
  "unknown",
643
- "queryable"
829
+ "queryable",
830
+ false
644
831
  ],
645
832
  [
646
833
  "unknown",
647
- "theAble"
834
+ "theAble",
835
+ false
648
836
  ],
649
837
  [
650
- "verby",
651
- "verby"
838
+ "verb",
839
+ "verb",
840
+ false
652
841
  ],
653
842
  [
654
843
  "what",
655
- "object"
844
+ "object",
845
+ false
656
846
  ],
657
847
  [
658
848
  "what",
659
- "queryable"
849
+ "queryable",
850
+ false
660
851
  ],
661
852
  [
662
853
  "whatAble",
663
- "queryable"
854
+ "queryable",
855
+ false
664
856
  ],
665
857
  [
666
858
  "whose",
667
- "object"
859
+ "object",
860
+ false
668
861
  ],
669
862
  [
670
863
  "x",
671
- "number"
864
+ "number",
865
+ false
672
866
  ],
673
867
  [
674
868
  "xfx",
675
- "queryable"
869
+ "queryable",
870
+ false
676
871
  ],
677
872
  [
678
873
  "y",
679
- "number"
874
+ "number",
875
+ false
680
876
  ]
681
877
  ],
682
878
  "metadata": {
@@ -688,11 +884,11 @@
688
884
  ],
689
885
  "ops": [
690
886
  [
691
- "unknown",
887
+ "is",
692
888
  0
693
889
  ],
694
890
  [
695
- "is",
891
+ "unknown",
696
892
  0
697
893
  ],
698
894
  [
@@ -867,7 +1063,7 @@
867
1063
  {
868
1064
  "context": [
869
1065
  [
870
- "mathematicalOperator",
1066
+ "mathematical_operator",
871
1067
  0
872
1068
  ],
873
1069
  [
@@ -917,14 +1113,14 @@
917
1113
  "number"
918
1114
  ],
919
1115
  "before": [
920
- "verby"
1116
+ "verb"
921
1117
  ]
922
1118
  },
923
1119
  {
924
1120
  "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:159",
925
1121
  "id": "calculate",
926
1122
  "isA": [
927
- "verby"
1123
+ "verb"
928
1124
  ],
929
1125
  "bridge": "{ ...next(operator), expression: after[0] }",
930
1126
  "localHierarchy": [
@@ -942,7 +1138,7 @@
942
1138
  "="
943
1139
  ],
944
1140
  "after": [
945
- "mathematicalOperator"
1141
+ "mathematical_operator"
946
1142
  ],
947
1143
  "localHierarchy": [
948
1144
  [