ekms 8.0.0 → 8.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 (122) hide show
  1. package/common/animals.instance.json +3003 -1651
  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 -30
  10. package/common/colors.instance.json +25513 -0
  11. package/common/colors.js +67 -0
  12. package/common/colors.test.json +4425 -0
  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 +16855 -9731
  23. package/common/crew.js +39 -42
  24. package/common/crew.test.json +714 -452
  25. package/common/currency.js +28 -46
  26. package/common/dialogues.js +177 -426
  27. package/common/dialogues.test.json +684 -450
  28. package/common/dimension.instance.json +508 -289
  29. package/common/dimension.js +22 -24
  30. package/common/dimension.test.json +727 -1944
  31. package/common/edible.instance.json +20548 -10848
  32. package/common/edible.js +4 -9
  33. package/common/emotions.instance.json +255 -123
  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 +223039 -113390
  40. package/common/fastfood.js +77 -87
  41. package/common/fastfood.test.json +8205 -3733
  42. package/common/formulas.instance.json +444 -244
  43. package/common/formulas.js +20 -27
  44. package/common/formulas.test.json +1027 -955
  45. package/common/gdefaults.js +40 -27
  46. package/common/help.js +9 -14
  47. package/common/help.test.json +71 -18
  48. package/common/helpers/concept.js +33 -10
  49. package/common/helpers/dialogues.js +22 -4
  50. package/common/helpers/formulas.js +0 -14
  51. package/common/helpers/meta.js +0 -1
  52. package/common/helpers/properties.js +72 -76
  53. package/common/helpers.js +35 -24
  54. package/common/hierarchy.js +17 -25
  55. package/common/javascript.js +12 -19
  56. package/common/kirk.instance.json +586 -298
  57. package/common/kirk.js +6 -9
  58. package/common/length.instance.json +9158 -5124
  59. package/common/length.js +5 -9
  60. package/common/listener.js +48 -0
  61. package/common/listener.test.json +104 -0
  62. package/common/math.instance.json +409 -1202
  63. package/common/math.js +17 -21
  64. package/common/meta.js +24 -50
  65. package/common/nameable.instance.json +2 -0
  66. package/common/nameable.js +144 -0
  67. package/common/nameable.test.json +3191 -0
  68. package/common/negation.instance.json +2 -0
  69. package/common/negation.js +38 -0
  70. package/common/negation.test.json +308 -0
  71. package/common/numbers.js +28 -32
  72. package/common/ordering.instance.json +449 -273
  73. package/common/ordering.js +81 -87
  74. package/common/ordinals.instance.json +2 -0
  75. package/common/ordinals.js +60 -0
  76. package/common/ordinals.test.json +306 -0
  77. package/common/people.instance.json +2176 -1141
  78. package/common/people.js +9 -14
  79. package/common/percentages.instance.json +2 -0
  80. package/common/percentages.js +53 -0
  81. package/common/percentages.test.json +751 -0
  82. package/common/pipboy.instance.json +12120 -6879
  83. package/common/pipboy.js +53 -62
  84. package/common/pipboy.test.json +2835 -0
  85. package/common/pokemon.instance.json +4415 -2351
  86. package/common/pokemon.js +8 -21
  87. package/common/pos.js +16 -14
  88. package/common/pressure.instance.json +2348 -1373
  89. package/common/pressure.js +5 -9
  90. package/common/properties.instance.json +151 -87
  91. package/common/properties.js +156 -167
  92. package/common/properties.test.json +17605 -4030
  93. package/common/punctuation.js +24 -8
  94. package/common/punctuation.test.json +233 -5
  95. package/common/reports.instance.json +1027 -551
  96. package/common/reports.js +77 -103
  97. package/common/reports.test.json +15623 -10458
  98. package/common/scorekeeper.js +19 -31
  99. package/common/sdefaults.js +17 -8
  100. package/common/sizeable.js +13 -12
  101. package/common/spock.instance.json +585 -297
  102. package/common/spock.js +6 -9
  103. package/common/stgame.js +20 -20
  104. package/common/stm.js +182 -29
  105. package/common/stm.test.json +1734 -1
  106. package/common/tell.js +15 -19
  107. package/common/temperature.instance.json +2480 -1493
  108. package/common/temperature.js +5 -9
  109. package/common/tester.js +15 -4
  110. package/common/testing.js +8 -13
  111. package/common/time.js +21 -26
  112. package/common/tokenize.js +8 -8
  113. package/common/tokenize.test.json +86 -1
  114. package/common/ui.instance.json +151 -460
  115. package/common/ui.js +22 -34
  116. package/common/ui.test.json +641 -5357
  117. package/common/weight.instance.json +8072 -4490
  118. package/common/weight.js +5 -9
  119. package/common/weight.test.json +242 -238
  120. package/common/yesno.js +6 -6
  121. package/main.js +68 -45
  122. package/package.json +44 -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,564 +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"
118
+ "a",
119
+ "articlePOS",
120
+ false
176
121
  ],
177
122
  [
178
- "+",
179
- "theAble"
123
+ "adjective",
124
+ "adjective",
125
+ false
180
126
  ],
181
127
  [
182
- "-",
183
- "hierarchyAble"
128
+ "all",
129
+ "quantifier",
130
+ false
184
131
  ],
185
132
  [
186
- "-",
187
- "isEdee"
133
+ "articlePOS",
134
+ "articlePOS",
135
+ false
188
136
  ],
189
137
  [
190
- "-",
191
- "isEder"
138
+ "ascending",
139
+ "hierarchyAble",
140
+ false
192
141
  ],
193
142
  [
194
- "-",
195
- "mathematical_operator"
143
+ "ascending",
144
+ "isEdee",
145
+ false
196
146
  ],
197
147
  [
198
- "-",
199
- "object"
148
+ "ascending",
149
+ "isEder",
150
+ false
200
151
  ],
201
152
  [
202
- "-",
203
- "property"
153
+ "ascending",
154
+ "object",
155
+ false
204
156
  ],
205
157
  [
206
- "-",
207
- "queryable"
158
+ "ascending",
159
+ "property",
160
+ false
208
161
  ],
209
162
  [
210
- "-",
211
- "theAble"
163
+ "ascending",
164
+ "queryable",
165
+ false
212
166
  ],
213
167
  [
214
- "/",
215
- "hierarchyAble"
168
+ "ascending",
169
+ "sort_ordering",
170
+ false
216
171
  ],
217
172
  [
218
- "/",
219
- "isEdee"
173
+ "ascending",
174
+ "theAble",
175
+ false
220
176
  ],
221
177
  [
222
- "/",
223
- "isEder"
178
+ "between",
179
+ "preposition",
180
+ false
224
181
  ],
225
182
  [
226
- "/",
227
- "mathematical_operator"
183
+ "canBeDoQuestion",
184
+ "canBeDoQuestion",
185
+ false
228
186
  ],
229
187
  [
230
- "/",
231
- "object"
188
+ "canBeQuestion",
189
+ "canBeQuestion",
190
+ false
232
191
  ],
233
192
  [
234
- "/",
235
- "property"
193
+ "concept",
194
+ "queryable",
195
+ false
236
196
  ],
237
197
  [
238
- "/",
239
- "queryable"
198
+ "concept",
199
+ "theAble",
200
+ false
240
201
  ],
241
202
  [
242
- "/",
243
- "theAble"
203
+ "condition",
204
+ "condition",
205
+ false
244
206
  ],
245
207
  [
246
- "a",
247
- "articlePOS"
208
+ "countable",
209
+ "hierarchyAble",
210
+ false
248
211
  ],
249
212
  [
250
- "adjective",
251
- "adjective"
213
+ "descending",
214
+ "hierarchyAble",
215
+ false
252
216
  ],
253
217
  [
254
- "all",
255
- "quantifier"
218
+ "descending",
219
+ "isEdee",
220
+ false
256
221
  ],
257
222
  [
258
- "articlePOS",
259
- "articlePOS"
223
+ "descending",
224
+ "isEder",
225
+ false
260
226
  ],
261
227
  [
262
- "between",
263
- "preposition"
228
+ "descending",
229
+ "object",
230
+ false
264
231
  ],
265
232
  [
266
- "canBeDoQuestion",
267
- "canBeDoQuestion"
233
+ "descending",
234
+ "property",
235
+ false
268
236
  ],
269
237
  [
270
- "canBeQuestion",
271
- "canBeQuestion"
238
+ "descending",
239
+ "queryable",
240
+ false
272
241
  ],
273
242
  [
274
- "concept",
275
- "queryable"
243
+ "descending",
244
+ "sort_ordering",
245
+ false
276
246
  ],
277
247
  [
278
- "concept",
279
- "theAble"
248
+ "descending",
249
+ "theAble",
250
+ false
280
251
  ],
281
252
  [
282
- "condition",
283
- "condition"
253
+ "divideByExpression",
254
+ "mathematicalExpression",
255
+ false
284
256
  ],
285
257
  [
286
- "countable",
287
- "hierarchyAble"
258
+ "divideByOperator",
259
+ "mathematical_operator",
260
+ false
288
261
  ],
289
262
  [
290
- "divideByExpression",
291
- "mathematicalExpression"
263
+ "doubleQuote",
264
+ "queryable",
265
+ false
292
266
  ],
293
267
  [
294
- "divideByOperator",
295
- "mathematicalOperator"
268
+ "evaluate",
269
+ "verb",
270
+ false
296
271
  ],
297
272
  [
298
273
  "hasCountOfPieces",
299
- "countable"
274
+ "countable",
275
+ false
300
276
  ],
301
277
  [
302
278
  "have",
303
- "canBeDoQuestion"
279
+ "canBeDoQuestion",
280
+ false
304
281
  ],
305
282
  [
306
283
  "have",
307
- "canBeQuestion"
284
+ "canBeQuestion",
285
+ false
308
286
  ],
309
287
  [
310
288
  "hierarchyAble",
311
- "queryable"
289
+ "queryable",
290
+ false
312
291
  ],
313
292
  [
314
293
  "highest",
315
- "condition"
294
+ "condition",
295
+ false
316
296
  ],
317
297
  [
318
298
  "ifAble",
319
- "ifAble"
299
+ "ifAble",
300
+ false
320
301
  ],
321
302
  [
322
303
  "is",
323
- "canBeQuestion"
304
+ "canBeQuestion",
305
+ false
324
306
  ],
325
307
  [
326
308
  "is",
327
- "verby"
309
+ "verb",
310
+ false
328
311
  ],
329
312
  [
330
313
  "isEdee",
331
- "isEdee"
314
+ "isEdee",
315
+ false
332
316
  ],
333
317
  [
334
318
  "isEder",
335
- "isEder"
319
+ "isEder",
320
+ false
336
321
  ],
337
322
  [
338
323
  "it",
339
- "pronoun"
324
+ "pronoun",
325
+ false
340
326
  ],
341
327
  [
342
328
  "it",
343
- "queryable"
329
+ "queryable",
330
+ false
344
331
  ],
345
332
  [
346
333
  "it",
347
- "thisitthat"
334
+ "thisitthat",
335
+ false
348
336
  ],
349
337
  [
350
338
  "it",
351
- "toAble"
339
+ "toAble",
340
+ false
352
341
  ],
353
342
  [
354
343
  "lowest",
355
- "condition"
344
+ "condition",
345
+ false
356
346
  ],
357
347
  [
358
348
  "mathematical",
359
- "hierarchyAble"
349
+ "hierarchyAble",
350
+ false
360
351
  ],
361
352
  [
362
353
  "mathematical",
363
- "isEdee"
354
+ "isEdee",
355
+ false
364
356
  ],
365
357
  [
366
358
  "mathematical",
367
- "isEder"
359
+ "isEder",
360
+ false
368
361
  ],
369
362
  [
370
363
  "mathematical",
371
- "object"
364
+ "object",
365
+ false
372
366
  ],
373
367
  [
374
368
  "mathematical",
375
- "operator_modifier"
369
+ "operator_modifier",
370
+ false
376
371
  ],
377
372
  [
378
373
  "mathematical",
379
- "property"
374
+ "property",
375
+ false
380
376
  ],
381
377
  [
382
378
  "mathematical",
383
- "queryable"
379
+ "queryable",
380
+ false
384
381
  ],
385
382
  [
386
383
  "mathematical",
387
- "theAble"
384
+ "theAble",
385
+ false
388
386
  ],
389
387
  [
390
388
  "mathematicalExpression",
391
- "concept"
389
+ "concept",
390
+ false
392
391
  ],
393
392
  [
394
393
  "mathematicalExpression",
395
- "number"
394
+ "number",
395
+ false
396
396
  ],
397
397
  [
398
- "mathematicalOperator",
399
- "mathematicalOperator"
398
+ "mathematical_operator",
399
+ "adjective",
400
+ true
400
401
  ],
401
402
  [
402
403
  "mathematical_operator",
403
- "adjective"
404
+ "concept",
405
+ false
404
406
  ],
405
407
  [
406
408
  "mathematical_operator",
407
- "concept"
409
+ "hierarchyAble",
410
+ false
408
411
  ],
409
412
  [
410
413
  "mathematical_operator",
411
- "hierarchyAble"
414
+ "isEdee",
415
+ false
412
416
  ],
413
417
  [
414
418
  "mathematical_operator",
415
- "isEdee"
419
+ "isEder",
420
+ false
416
421
  ],
417
422
  [
418
423
  "mathematical_operator",
419
- "isEder"
424
+ "object",
425
+ false
420
426
  ],
421
427
  [
422
428
  "mathematical_operator",
423
- "object"
429
+ "operator",
430
+ false
424
431
  ],
425
432
  [
426
433
  "mathematical_operator",
427
- "operator"
434
+ "property",
435
+ false
428
436
  ],
429
437
  [
430
438
  "mathematical_operator",
431
- "property"
439
+ "queryable",
440
+ false
432
441
  ],
433
442
  [
434
443
  "mathematical_operator",
435
- "queryable"
444
+ "theAble",
445
+ false
436
446
  ],
437
447
  [
438
- "mathematical_operator",
439
- "theAble"
448
+ "memorable",
449
+ "theAble",
450
+ false
440
451
  ],
441
452
  [
442
453
  "minusExpression",
443
- "mathematicalExpression"
454
+ "mathematicalExpression",
455
+ false
444
456
  ],
445
457
  [
446
458
  "minusOperator",
447
- "mathematicalOperator"
459
+ "mathematical_operator",
460
+ false
448
461
  ],
449
462
  [
450
463
  "modifies",
451
- "verby"
452
- ],
453
- [
454
- "notAble",
455
- "notAble"
464
+ "verb",
465
+ false
456
466
  ],
457
467
  [
458
468
  "noun",
459
- "theAble"
469
+ "theAble",
470
+ false
460
471
  ],
461
472
  [
462
473
  "number",
463
- "quantifier"
474
+ "quantifier",
475
+ false
464
476
  ],
465
477
  [
466
478
  "number",
467
- "queryable"
479
+ "queryable",
480
+ false
468
481
  ],
469
482
  [
470
483
  "object",
471
- "queryable"
484
+ "queryable",
485
+ false
472
486
  ],
473
487
  [
474
488
  "object",
475
- "theAble"
489
+ "theAble",
490
+ false
476
491
  ],
477
492
  [
478
493
  "operator",
479
- "concept"
494
+ "concept",
495
+ false
480
496
  ],
481
497
  [
482
498
  "operator",
483
- "hierarchyAble"
499
+ "hierarchyAble",
500
+ false
484
501
  ],
485
502
  [
486
503
  "operator",
487
- "isEdee"
504
+ "isEdee",
505
+ false
488
506
  ],
489
507
  [
490
508
  "operator",
491
- "isEder"
509
+ "isEder",
510
+ false
492
511
  ],
493
512
  [
494
513
  "operator",
495
- "object"
514
+ "object",
515
+ false
496
516
  ],
497
517
  [
498
518
  "operator",
499
- "property"
519
+ "property",
520
+ false
500
521
  ],
501
522
  [
502
523
  "operator",
503
- "queryable"
524
+ "queryable",
525
+ false
504
526
  ],
505
527
  [
506
528
  "operator",
507
- "theAble"
529
+ "theAble",
530
+ false
508
531
  ],
509
532
  [
510
533
  "operator_modifier",
511
- "operator_modifier"
534
+ "operator_modifier",
535
+ false
512
536
  ],
513
537
  [
514
538
  "orAble",
515
- "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
516
586
  ],
517
587
  [
518
588
  "plusExpression",
519
- "mathematicalExpression"
589
+ "mathematicalExpression",
590
+ false
520
591
  ],
521
592
  [
522
593
  "plusOperator",
523
- "mathematicalOperator"
594
+ "mathematical_operator",
595
+ false
524
596
  ],
525
597
  [
526
598
  "preposition",
527
- "preposition"
599
+ "preposition",
600
+ false
528
601
  ],
529
602
  [
530
603
  "pronoun",
531
- "pronoun"
532
- ],
533
- [
534
- "property",
535
- "queryable"
604
+ "pronoun",
605
+ false
536
606
  ],
537
607
  [
538
608
  "property",
539
- "theAble"
609
+ "queryable",
610
+ false
540
611
  ],
541
612
  [
542
613
  "property",
543
- "unknown"
614
+ "theAble",
615
+ false
544
616
  ],
545
617
  [
546
618
  "punctuation",
547
- "punctuation"
619
+ "punctuation",
620
+ false
548
621
  ],
549
622
  [
550
623
  "quantifier",
551
- "quantifier"
624
+ "quantifier",
625
+ false
552
626
  ],
553
627
  [
554
628
  "queryable",
555
- "queryable"
629
+ "queryable",
630
+ false
556
631
  ],
557
632
  [
558
633
  "questionMark",
559
- "punctuation"
634
+ "punctuation",
635
+ false
560
636
  ],
561
637
  [
562
638
  "readonly",
563
- "queryable"
639
+ "queryable",
640
+ false
564
641
  ],
565
642
  [
566
643
  "reason",
567
- "queryable"
644
+ "queryable",
645
+ false
568
646
  ],
569
647
  [
570
648
  "reason",
571
- "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
572
756
  ],
573
757
  [
574
758
  "that",
575
- "thisitthat"
759
+ "thisitthat",
760
+ false
576
761
  ],
577
762
  [
578
763
  "the",
579
- "articlePOS"
764
+ "articlePOS",
765
+ false
580
766
  ],
581
767
  [
582
768
  "theAble",
583
- "theAble"
769
+ "theAble",
770
+ false
584
771
  ],
585
772
  [
586
773
  "this",
587
- "pronoun"
774
+ "pronoun",
775
+ false
588
776
  ],
589
777
  [
590
778
  "this",
591
- "queryable"
779
+ "queryable",
780
+ false
592
781
  ],
593
782
  [
594
783
  "this",
595
- "thisitthat"
784
+ "thisitthat",
785
+ false
596
786
  ],
597
787
  [
598
788
  "thisitthat",
599
- "queryable"
789
+ "queryable",
790
+ false
600
791
  ],
601
792
  [
602
793
  "timesExpression",
603
- "mathematicalExpression"
794
+ "mathematicalExpression",
795
+ false
604
796
  ],
605
797
  [
606
798
  "timesOperator",
607
- "mathematicalOperator"
799
+ "mathematical_operator",
800
+ false
608
801
  ],
609
802
  [
610
803
  "to",
611
- "preposition"
804
+ "preposition",
805
+ false
612
806
  ],
613
807
  [
614
808
  "toAble",
615
- "toAble"
809
+ "toAble",
810
+ false
616
811
  ],
617
812
  [
618
813
  "type",
619
- "property"
814
+ "property",
815
+ false
620
816
  ],
621
817
  [
622
818
  "type",
623
- "whatAble"
624
- ],
625
- [
626
- "unknown",
627
- "hierarchyAble"
628
- ],
629
- [
630
- "unknown",
631
- "notAble"
819
+ "whatAble",
820
+ false
632
821
  ],
633
822
  [
634
823
  "unknown",
635
- "object"
824
+ "hierarchyAble",
825
+ false
636
826
  ],
637
827
  [
638
828
  "unknown",
639
- "queryable"
829
+ "queryable",
830
+ false
640
831
  ],
641
832
  [
642
833
  "unknown",
643
- "theAble"
834
+ "theAble",
835
+ false
644
836
  ],
645
837
  [
646
- "verby",
647
- "verby"
838
+ "verb",
839
+ "verb",
840
+ false
648
841
  ],
649
842
  [
650
843
  "what",
651
- "object"
844
+ "object",
845
+ false
652
846
  ],
653
847
  [
654
848
  "what",
655
- "queryable"
849
+ "queryable",
850
+ false
656
851
  ],
657
852
  [
658
853
  "whatAble",
659
- "queryable"
854
+ "queryable",
855
+ false
660
856
  ],
661
857
  [
662
858
  "whose",
663
- "object"
859
+ "object",
860
+ false
664
861
  ],
665
862
  [
666
863
  "x",
667
- "number"
864
+ "number",
865
+ false
668
866
  ],
669
867
  [
670
868
  "xfx",
671
- "queryable"
869
+ "queryable",
870
+ false
672
871
  ],
673
872
  [
674
873
  "y",
675
- "number"
874
+ "number",
875
+ false
676
876
  ]
677
877
  ],
678
878
  "metadata": {
@@ -684,11 +884,11 @@
684
884
  ],
685
885
  "ops": [
686
886
  [
687
- "unknown",
887
+ "is",
688
888
  0
689
889
  ],
690
890
  [
691
- "is",
891
+ "unknown",
692
892
  0
693
893
  ],
694
894
  [
@@ -863,7 +1063,7 @@
863
1063
  {
864
1064
  "context": [
865
1065
  [
866
- "mathematicalOperator",
1066
+ "mathematical_operator",
867
1067
  0
868
1068
  ],
869
1069
  [
@@ -913,14 +1113,14 @@
913
1113
  "number"
914
1114
  ],
915
1115
  "before": [
916
- "verby"
1116
+ "verb"
917
1117
  ]
918
1118
  },
919
1119
  {
920
1120
  "where": "/home/dev/code/theprogrammablemind/kms/common/formulas.js:159",
921
1121
  "id": "calculate",
922
1122
  "isA": [
923
- "verby"
1123
+ "verb"
924
1124
  ],
925
1125
  "bridge": "{ ...next(operator), expression: after[0] }",
926
1126
  "localHierarchy": [
@@ -938,7 +1138,7 @@
938
1138
  "="
939
1139
  ],
940
1140
  "after": [
941
- "mathematicalOperator"
1141
+ "mathematical_operator"
942
1142
  ],
943
1143
  "localHierarchy": [
944
1144
  [