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
@@ -43,7 +43,7 @@
43
43
  {
44
44
  "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:77",
45
45
  "match": "({context}) => context.marker == 'noconversion'",
46
- "apply": "({context, gp}) => `there is no conversion between ${gp(context.from)} and ${gp(context.to)}`"
46
+ "apply": "async ({context, gp}) => `there is no conversion between ${await gp(context.from)} and ${await gp(context.to)}`"
47
47
  }
48
48
  ],
49
49
  "bridges": [
@@ -75,7 +75,7 @@
75
75
  "isA": [
76
76
  "amount"
77
77
  ],
78
- "generatorp": "({context, g}) => (context.amount) ? `${g(context.amount)} ${context.word}` : context.word",
78
+ "generatorp": "async ({context, g}) => (context.amount) ? `${await g(context.amount)} ${context.word}` : context.word",
79
79
  "bridge": "{ ...next(operator), value: before[0].value, amount: before[0] }"
80
80
  },
81
81
  {
@@ -91,6 +91,12 @@
91
91
  "expression",
92
92
  "queryable"
93
93
  ],
94
+ "localHierarchy": [
95
+ [
96
+ "unknown",
97
+ "dimension"
98
+ ]
99
+ ],
94
100
  "after": [
95
101
  [
96
102
  "possession",
@@ -101,11 +107,14 @@
101
107
  1
102
108
  ]
103
109
  ],
104
- "generatorp": "({context, g}) => `${g(context.from)} ${context.word} ${g(context.to)}`",
105
- "evaluator": "({context, kms, e, error}) => {\n /*\n error(({context, e}) => {\n context.evalue = 'dont know...'\n })\n */\n const from = context.from;\n const to = context.to;\n let evalue;\n let efrom = from\n if (!from.unit) {\n efrom = e(from).evalue\n }\n if (to.value == efrom.unit.value) {\n evalue = efrom.amount\n } else {\n const formula = kms.formulas.api.get(to, [efrom.unit])\n if (!formula) {\n const reason = { marker: 'reason', focusableForPhrase: true, evalue: { marker: 'noconversion', from: efrom.unit, to } }\n kms.stm.api.mentioned(reason)\n error(reason)\n }\n kms.stm.api.setVariable(efrom.unit.value, efrom.amount)\n evalue = e(formula)\n }\n /*\n '{\n \"marker\":\"dimension\",\n \"unit\":{\"marker\":\"unit\",\"range\":{\"start\":19,\"end\":25},\"word\":\"celcius\",\"text\":\"celcius\",\"value\":\"celcius\",\"unknown\":true,\"types\":[\"unit\",\"unknown\"]},\n \"value\":10,\n \"amount\":{\"word\":\"degrees\",\"number\":\"many\",\"text\":\"10 degrees\",\"marker\":\"degree\",\"range\":{\"start\":8,\"end\":17},\"value\":10,\"amount\":{\"value\":10,\"text\":\"10\",\"marker\":\"number\",\"word\":\"10\",\"range\":{\"start\":8,\"end\":9},\"types\":[\"number\"]}},\n \"text\":\"10 degrees celcius\",\"range\":{\"start\":8,\"end\":25}}'\n */\n context.evalue = { \n paraphrase: true,\n marker: 'dimension',\n level: 1,\n unit: to,\n amount: { evalue, paraphrase: undefined }\n }\n }"
110
+ "generatorp": "async ({context, g}) => `${await g(context.from)} ${context.word} ${await g(context.to)}`",
111
+ "evaluator": "async ({context, kms, e, error}) => {\n /*\n error(({context, e}) => {\n context.evalue = 'dont know...'\n })\n */\n const from = context.from;\n const to = context.to;\n let evalue;\n let efrom = from\n if (!from.unit) {\n efrom = (await e(from)).evalue\n }\n if (to.value == efrom.unit.value) {\n evalue = efrom.amount\n } else {\n const formula = kms.formulas.api.get(to, [efrom.unit])\n if (!formula) {\n const reason = { marker: 'reason', focusableForPhrase: true, evalue: { marker: 'noconversion', from: efrom.unit, to } }\n kms.stm.api.mentioned({ context: reason })\n error(reason)\n }\n kms.stm.api.setVariable(efrom.unit.value, efrom.amount)\n evalue = await e(formula)\n }\n /*\n '{\n \"marker\":\"dimension\",\n \"unit\":{\"marker\":\"unit\",\"range\":{\"start\":19,\"end\":25},\"word\":\"celcius\",\"text\":\"celcius\",\"value\":\"celcius\",\"unknown\":true,\"types\":[\"unit\",\"unknown\"]},\n \"value\":10,\n \"amount\":{\"word\":\"degrees\",\"number\":\"many\",\"text\":\"10 degrees\",\"marker\":\"degree\",\"range\":{\"start\":8,\"end\":17},\"value\":10,\"amount\":{\"value\":10,\"text\":\"10\",\"marker\":\"number\",\"word\":\"10\",\"range\":{\"start\":8,\"end\":9},\"types\":[\"number\"]}},\n \"text\":\"10 degrees celcius\",\"range\":{\"start\":8,\"end\":25}}'\n */\n context.evalue = { \n paraphrase: true,\n marker: 'dimension',\n level: 1,\n unit: to,\n amount: { evalue, paraphrase: undefined }\n }\n }"
106
112
  },
107
113
  {
108
- "id": "unit"
114
+ "id": "unit",
115
+ "isA": [
116
+ "number"
117
+ ]
109
118
  }
110
119
  ]
111
120
  }
@@ -114,624 +123,839 @@
114
123
  {
115
124
  "hierarchy": [
116
125
  [
117
- "*",
118
- "hierarchyAble"
119
- ],
120
- [
121
- "*",
122
- "isEdee"
123
- ],
124
- [
125
- "*",
126
- "isEder"
127
- ],
128
- [
129
- "*",
130
- "mathematical_operator"
131
- ],
132
- [
133
- "*",
134
- "object"
135
- ],
136
- [
137
- "*",
138
- "property"
139
- ],
140
- [
141
- "*",
142
- "queryable"
143
- ],
144
- [
145
- "*",
146
- "theAble"
147
- ],
148
- [
149
- "+",
150
- "hierarchyAble"
151
- ],
152
- [
153
- "+",
154
- "isEdee"
155
- ],
156
- [
157
- "+",
158
- "isEder"
159
- ],
160
- [
161
- "+",
162
- "mathematical_operator"
163
- ],
164
- [
165
- "+",
166
- "object"
167
- ],
168
- [
169
- "+",
170
- "property"
171
- ],
172
- [
173
- "+",
174
- "queryable"
126
+ "a",
127
+ "articlePOS",
128
+ false
175
129
  ],
176
130
  [
177
- "+",
178
- "theAble"
131
+ "adjective",
132
+ "adjective",
133
+ false
179
134
  ],
180
135
  [
181
- "-",
182
- "hierarchyAble"
136
+ "all",
137
+ "quantifier",
138
+ false
183
139
  ],
184
140
  [
185
- "-",
186
- "isEdee"
141
+ "articlePOS",
142
+ "articlePOS",
143
+ false
187
144
  ],
188
145
  [
189
- "-",
190
- "isEder"
146
+ "ascending",
147
+ "hierarchyAble",
148
+ false
191
149
  ],
192
150
  [
193
- "-",
194
- "mathematical_operator"
151
+ "ascending",
152
+ "isEdee",
153
+ false
195
154
  ],
196
155
  [
197
- "-",
198
- "object"
156
+ "ascending",
157
+ "isEder",
158
+ false
199
159
  ],
200
160
  [
201
- "-",
202
- "property"
161
+ "ascending",
162
+ "object",
163
+ false
203
164
  ],
204
165
  [
205
- "-",
206
- "queryable"
166
+ "ascending",
167
+ "property",
168
+ false
207
169
  ],
208
170
  [
209
- "-",
210
- "theAble"
171
+ "ascending",
172
+ "queryable",
173
+ false
211
174
  ],
212
175
  [
213
- "/",
214
- "hierarchyAble"
176
+ "ascending",
177
+ "sort_ordering",
178
+ false
215
179
  ],
216
180
  [
217
- "/",
218
- "isEdee"
181
+ "ascending",
182
+ "theAble",
183
+ false
219
184
  ],
220
185
  [
221
- "/",
222
- "isEder"
186
+ "between",
187
+ "preposition",
188
+ false
223
189
  ],
224
190
  [
225
- "/",
226
- "mathematical_operator"
191
+ "calculate",
192
+ "verb",
193
+ false
227
194
  ],
228
195
  [
229
- "/",
230
- "object"
196
+ "canBeDoQuestion",
197
+ "canBeDoQuestion",
198
+ false
231
199
  ],
232
200
  [
233
- "/",
234
- "property"
201
+ "canBeQuestion",
202
+ "canBeQuestion",
203
+ false
235
204
  ],
236
205
  [
237
- "/",
238
- "queryable"
206
+ "concept",
207
+ "queryable",
208
+ false
239
209
  ],
240
210
  [
241
- "/",
242
- "theAble"
211
+ "concept",
212
+ "theAble",
213
+ false
243
214
  ],
244
215
  [
245
- "a",
246
- "articlePOS"
216
+ "condition",
217
+ "condition",
218
+ false
247
219
  ],
248
220
  [
249
- "adjective",
250
- "adjective"
221
+ "countable",
222
+ "hierarchyAble",
223
+ false
251
224
  ],
252
225
  [
253
- "all",
254
- "quantifier"
226
+ "descending",
227
+ "hierarchyAble",
228
+ false
255
229
  ],
256
230
  [
257
- "articlePOS",
258
- "articlePOS"
231
+ "descending",
232
+ "isEdee",
233
+ false
259
234
  ],
260
235
  [
261
- "between",
262
- "preposition"
236
+ "descending",
237
+ "isEder",
238
+ false
263
239
  ],
264
240
  [
265
- "calculate",
266
- "verby"
241
+ "descending",
242
+ "object",
243
+ false
267
244
  ],
268
245
  [
269
- "canBeDoQuestion",
270
- "canBeDoQuestion"
246
+ "descending",
247
+ "property",
248
+ false
271
249
  ],
272
250
  [
273
- "canBeQuestion",
274
- "canBeQuestion"
251
+ "descending",
252
+ "queryable",
253
+ false
275
254
  ],
276
255
  [
277
- "concept",
278
- "queryable"
256
+ "descending",
257
+ "sort_ordering",
258
+ false
279
259
  ],
280
260
  [
281
- "concept",
282
- "theAble"
261
+ "descending",
262
+ "theAble",
263
+ false
283
264
  ],
284
265
  [
285
- "condition",
286
- "condition"
266
+ "divideByExpression",
267
+ "mathematicalExpression",
268
+ false
287
269
  ],
288
270
  [
289
- "countable",
290
- "hierarchyAble"
271
+ "divideByOperator",
272
+ "mathematical_operator",
273
+ false
291
274
  ],
292
275
  [
293
- "divideByExpression",
294
- "mathematicalExpression"
276
+ "doubleQuote",
277
+ "queryable",
278
+ false
295
279
  ],
296
280
  [
297
- "divideByOperator",
298
- "mathematicalOperator"
281
+ "evaluate",
282
+ "verb",
283
+ false
299
284
  ],
300
285
  [
301
286
  "expression",
302
- "expression"
287
+ "expression",
288
+ false
303
289
  ],
304
290
  [
305
291
  "forVariable",
306
- "preposition"
292
+ "preposition",
293
+ false
307
294
  ],
308
295
  [
309
296
  "formula",
310
- "concept"
297
+ "concept",
298
+ false
311
299
  ],
312
300
  [
313
301
  "formula",
314
- "hierarchyAble"
302
+ "hierarchyAble",
303
+ false
315
304
  ],
316
305
  [
317
306
  "formula",
318
- "isEdee"
307
+ "isEdee",
308
+ false
319
309
  ],
320
310
  [
321
311
  "formula",
322
- "isEder"
312
+ "isEder",
313
+ false
323
314
  ],
324
315
  [
325
316
  "formula",
326
- "object"
317
+ "object",
318
+ false
327
319
  ],
328
320
  [
329
321
  "formula",
330
- "property"
322
+ "property",
323
+ false
331
324
  ],
332
325
  [
333
326
  "formula",
334
- "queryable"
327
+ "queryable",
328
+ false
335
329
  ],
336
330
  [
337
331
  "formula",
338
- "theAble"
332
+ "theAble",
333
+ false
339
334
  ],
340
335
  [
341
336
  "formulaForVariable",
342
- "preposition"
337
+ "preposition",
338
+ false
343
339
  ],
344
340
  [
345
341
  "formulaForVariable",
346
- "queryable"
342
+ "queryable",
343
+ false
347
344
  ],
348
345
  [
349
346
  "hasCountOfPieces",
350
- "countable"
347
+ "countable",
348
+ false
351
349
  ],
352
350
  [
353
351
  "have",
354
- "canBeDoQuestion"
352
+ "canBeDoQuestion",
353
+ false
355
354
  ],
356
355
  [
357
356
  "have",
358
- "canBeQuestion"
357
+ "canBeQuestion",
358
+ false
359
359
  ],
360
360
  [
361
361
  "hierarchyAble",
362
- "queryable"
362
+ "queryable",
363
+ false
363
364
  ],
364
365
  [
365
366
  "highest",
366
- "condition"
367
+ "condition",
368
+ false
367
369
  ],
368
370
  [
369
371
  "ifAble",
370
- "ifAble"
372
+ "ifAble",
373
+ false
371
374
  ],
372
375
  [
373
376
  "is",
374
- "canBeQuestion"
377
+ "canBeQuestion",
378
+ false
375
379
  ],
376
380
  [
377
381
  "is",
378
- "verby"
382
+ "verb",
383
+ false
379
384
  ],
380
385
  [
381
386
  "isEdee",
382
- "isEdee"
387
+ "isEdee",
388
+ false
383
389
  ],
384
390
  [
385
391
  "isEder",
386
- "isEder"
392
+ "isEder",
393
+ false
387
394
  ],
388
395
  [
389
396
  "it",
390
- "pronoun"
397
+ "pronoun",
398
+ false
391
399
  ],
392
400
  [
393
401
  "it",
394
- "queryable"
402
+ "queryable",
403
+ false
395
404
  ],
396
405
  [
397
406
  "it",
398
- "thisitthat"
407
+ "thisitthat",
408
+ false
399
409
  ],
400
410
  [
401
411
  "it",
402
- "toAble"
412
+ "toAble",
413
+ false
403
414
  ],
404
415
  [
405
416
  "lowest",
406
- "condition"
417
+ "condition",
418
+ false
407
419
  ],
408
420
  [
409
421
  "mathematical",
410
- "hierarchyAble"
422
+ "hierarchyAble",
423
+ false
411
424
  ],
412
425
  [
413
426
  "mathematical",
414
- "isEdee"
427
+ "isEdee",
428
+ false
415
429
  ],
416
430
  [
417
431
  "mathematical",
418
- "isEder"
432
+ "isEder",
433
+ false
419
434
  ],
420
435
  [
421
436
  "mathematical",
422
- "object"
437
+ "object",
438
+ false
423
439
  ],
424
440
  [
425
441
  "mathematical",
426
- "operator_modifier"
442
+ "operator_modifier",
443
+ false
427
444
  ],
428
445
  [
429
446
  "mathematical",
430
- "property"
447
+ "property",
448
+ false
431
449
  ],
432
450
  [
433
451
  "mathematical",
434
- "queryable"
452
+ "queryable",
453
+ false
435
454
  ],
436
455
  [
437
456
  "mathematical",
438
- "theAble"
457
+ "theAble",
458
+ false
439
459
  ],
440
460
  [
441
461
  "mathematicalExpression",
442
- "concept"
462
+ "concept",
463
+ false
443
464
  ],
444
465
  [
445
466
  "mathematicalExpression",
446
- "expression"
467
+ "expression",
468
+ false
447
469
  ],
448
470
  [
449
471
  "mathematicalExpression",
450
- "number"
472
+ "number",
473
+ false
451
474
  ],
452
475
  [
453
- "mathematicalOperator",
454
- "mathematicalOperator"
476
+ "mathematical_operator",
477
+ "adjective",
478
+ true
455
479
  ],
456
480
  [
457
481
  "mathematical_operator",
458
- "adjective"
482
+ "concept",
483
+ false
459
484
  ],
460
485
  [
461
486
  "mathematical_operator",
462
- "concept"
487
+ "hierarchyAble",
488
+ false
463
489
  ],
464
490
  [
465
491
  "mathematical_operator",
466
- "hierarchyAble"
492
+ "isEdee",
493
+ false
467
494
  ],
468
495
  [
469
496
  "mathematical_operator",
470
- "isEdee"
497
+ "isEder",
498
+ false
471
499
  ],
472
500
  [
473
501
  "mathematical_operator",
474
- "isEder"
502
+ "object",
503
+ false
475
504
  ],
476
505
  [
477
506
  "mathematical_operator",
478
- "object"
507
+ "operator",
508
+ false
479
509
  ],
480
510
  [
481
511
  "mathematical_operator",
482
- "operator"
512
+ "property",
513
+ false
483
514
  ],
484
515
  [
485
516
  "mathematical_operator",
486
- "property"
517
+ "queryable",
518
+ false
487
519
  ],
488
520
  [
489
521
  "mathematical_operator",
490
- "queryable"
522
+ "theAble",
523
+ false
491
524
  ],
492
525
  [
493
- "mathematical_operator",
494
- "theAble"
526
+ "memorable",
527
+ "theAble",
528
+ false
495
529
  ],
496
530
  [
497
531
  "minusExpression",
498
- "mathematicalExpression"
532
+ "mathematicalExpression",
533
+ false
499
534
  ],
500
535
  [
501
536
  "minusOperator",
502
- "mathematicalOperator"
537
+ "mathematical_operator",
538
+ false
503
539
  ],
504
540
  [
505
541
  "modifies",
506
- "verby"
507
- ],
508
- [
509
- "notAble",
510
- "notAble"
542
+ "verb",
543
+ false
511
544
  ],
512
545
  [
513
546
  "noun",
514
- "theAble"
547
+ "theAble",
548
+ false
515
549
  ],
516
550
  [
517
551
  "number",
518
- "expression"
552
+ "expression",
553
+ false
519
554
  ],
520
555
  [
521
556
  "number",
522
- "quantifier"
557
+ "quantifier",
558
+ false
523
559
  ],
524
560
  [
525
561
  "number",
526
- "queryable"
562
+ "queryable",
563
+ false
527
564
  ],
528
565
  [
529
566
  "object",
530
- "queryable"
567
+ "queryable",
568
+ false
531
569
  ],
532
570
  [
533
571
  "object",
534
- "theAble"
572
+ "theAble",
573
+ false
535
574
  ],
536
575
  [
537
576
  "operator",
538
- "concept"
577
+ "concept",
578
+ false
539
579
  ],
540
580
  [
541
581
  "operator",
542
- "hierarchyAble"
582
+ "hierarchyAble",
583
+ false
543
584
  ],
544
585
  [
545
586
  "operator",
546
- "isEdee"
587
+ "isEdee",
588
+ false
547
589
  ],
548
590
  [
549
591
  "operator",
550
- "isEder"
592
+ "isEder",
593
+ false
551
594
  ],
552
595
  [
553
596
  "operator",
554
- "object"
597
+ "object",
598
+ false
555
599
  ],
556
600
  [
557
601
  "operator",
558
- "property"
602
+ "property",
603
+ false
559
604
  ],
560
605
  [
561
606
  "operator",
562
- "queryable"
607
+ "queryable",
608
+ false
563
609
  ],
564
610
  [
565
611
  "operator",
566
- "theAble"
612
+ "theAble",
613
+ false
567
614
  ],
568
615
  [
569
616
  "operator_modifier",
570
- "operator_modifier"
617
+ "operator_modifier",
618
+ false
571
619
  ],
572
620
  [
573
621
  "orAble",
574
- "ifAble"
622
+ "ifAble",
623
+ false
624
+ ],
625
+ [
626
+ "ordering",
627
+ "concept",
628
+ false
629
+ ],
630
+ [
631
+ "ordering",
632
+ "hierarchyAble",
633
+ false
634
+ ],
635
+ [
636
+ "ordering",
637
+ "isEdee",
638
+ false
639
+ ],
640
+ [
641
+ "ordering",
642
+ "isEder",
643
+ false
644
+ ],
645
+ [
646
+ "ordering",
647
+ "object",
648
+ false
649
+ ],
650
+ [
651
+ "ordering",
652
+ "property",
653
+ false
654
+ ],
655
+ [
656
+ "ordering",
657
+ "queryable",
658
+ false
659
+ ],
660
+ [
661
+ "ordering",
662
+ "theAble",
663
+ false
664
+ ],
665
+ [
666
+ "ordering_modifier",
667
+ "ordering_modifier",
668
+ false
575
669
  ],
576
670
  [
577
671
  "plusExpression",
578
- "mathematicalExpression"
672
+ "mathematicalExpression",
673
+ false
579
674
  ],
580
675
  [
581
676
  "plusOperator",
582
- "mathematicalOperator"
677
+ "mathematical_operator",
678
+ false
583
679
  ],
584
680
  [
585
681
  "preposition",
586
- "preposition"
682
+ "preposition",
683
+ false
587
684
  ],
588
685
  [
589
686
  "pronoun",
590
- "pronoun"
591
- ],
592
- [
593
- "property",
594
- "queryable"
687
+ "pronoun",
688
+ false
595
689
  ],
596
690
  [
597
691
  "property",
598
- "theAble"
692
+ "queryable",
693
+ false
599
694
  ],
600
695
  [
601
696
  "property",
602
- "unknown"
697
+ "theAble",
698
+ false
603
699
  ],
604
700
  [
605
701
  "punctuation",
606
- "punctuation"
702
+ "punctuation",
703
+ false
607
704
  ],
608
705
  [
609
706
  "quantifier",
610
- "quantifier"
707
+ "quantifier",
708
+ false
611
709
  ],
612
710
  [
613
711
  "queryable",
614
- "queryable"
712
+ "queryable",
713
+ false
615
714
  ],
616
715
  [
617
716
  "questionMark",
618
- "punctuation"
717
+ "punctuation",
718
+ false
619
719
  ],
620
720
  [
621
721
  "readonly",
622
- "queryable"
722
+ "queryable",
723
+ false
623
724
  ],
624
725
  [
625
726
  "reason",
626
- "queryable"
727
+ "queryable",
728
+ false
627
729
  ],
628
730
  [
629
731
  "reason",
630
- "theAble"
732
+ "theAble",
733
+ false
734
+ ],
735
+ [
736
+ "remember",
737
+ "verb",
738
+ false
739
+ ],
740
+ [
741
+ "sort",
742
+ "hierarchyAble",
743
+ false
744
+ ],
745
+ [
746
+ "sort",
747
+ "isEdee",
748
+ false
749
+ ],
750
+ [
751
+ "sort",
752
+ "isEder",
753
+ false
754
+ ],
755
+ [
756
+ "sort",
757
+ "object",
758
+ false
759
+ ],
760
+ [
761
+ "sort",
762
+ "ordering_modifier",
763
+ false
764
+ ],
765
+ [
766
+ "sort",
767
+ "property",
768
+ false
769
+ ],
770
+ [
771
+ "sort",
772
+ "queryable",
773
+ false
774
+ ],
775
+ [
776
+ "sort",
777
+ "theAble",
778
+ false
779
+ ],
780
+ [
781
+ "sortOrdering",
782
+ "adjective",
783
+ false
784
+ ],
785
+ [
786
+ "sort_ordering",
787
+ "adjective",
788
+ true
789
+ ],
790
+ [
791
+ "sort_ordering",
792
+ "concept",
793
+ false
794
+ ],
795
+ [
796
+ "sort_ordering",
797
+ "hierarchyAble",
798
+ false
799
+ ],
800
+ [
801
+ "sort_ordering",
802
+ "isEdee",
803
+ false
804
+ ],
805
+ [
806
+ "sort_ordering",
807
+ "isEder",
808
+ false
809
+ ],
810
+ [
811
+ "sort_ordering",
812
+ "object",
813
+ false
814
+ ],
815
+ [
816
+ "sort_ordering",
817
+ "ordering",
818
+ false
819
+ ],
820
+ [
821
+ "sort_ordering",
822
+ "property",
823
+ false
824
+ ],
825
+ [
826
+ "sort_ordering",
827
+ "queryable",
828
+ false
829
+ ],
830
+ [
831
+ "sort_ordering",
832
+ "theAble",
833
+ false
834
+ ],
835
+ [
836
+ "stm_before",
837
+ "adjective",
838
+ false
631
839
  ],
632
840
  [
633
841
  "that",
634
- "thisitthat"
842
+ "thisitthat",
843
+ false
635
844
  ],
636
845
  [
637
846
  "the",
638
- "articlePOS"
847
+ "articlePOS",
848
+ false
639
849
  ],
640
850
  [
641
851
  "theAble",
642
- "theAble"
852
+ "theAble",
853
+ false
643
854
  ],
644
855
  [
645
856
  "this",
646
- "pronoun"
857
+ "pronoun",
858
+ false
647
859
  ],
648
860
  [
649
861
  "this",
650
- "queryable"
862
+ "queryable",
863
+ false
651
864
  ],
652
865
  [
653
866
  "this",
654
- "thisitthat"
867
+ "thisitthat",
868
+ false
655
869
  ],
656
870
  [
657
871
  "thisitthat",
658
- "queryable"
872
+ "queryable",
873
+ false
659
874
  ],
660
875
  [
661
876
  "timesExpression",
662
- "mathematicalExpression"
877
+ "mathematicalExpression",
878
+ false
663
879
  ],
664
880
  [
665
881
  "timesOperator",
666
- "mathematicalOperator"
882
+ "mathematical_operator",
883
+ false
667
884
  ],
668
885
  [
669
886
  "to",
670
- "preposition"
887
+ "preposition",
888
+ false
671
889
  ],
672
890
  [
673
891
  "toAble",
674
- "toAble"
892
+ "toAble",
893
+ false
675
894
  ],
676
895
  [
677
896
  "type",
678
- "property"
897
+ "property",
898
+ false
679
899
  ],
680
900
  [
681
901
  "type",
682
- "whatAble"
683
- ],
684
- [
685
- "unknown",
686
- "hierarchyAble"
687
- ],
688
- [
689
- "unknown",
690
- "notAble"
902
+ "whatAble",
903
+ false
691
904
  ],
692
905
  [
693
906
  "unknown",
694
- "object"
907
+ "hierarchyAble",
908
+ false
695
909
  ],
696
910
  [
697
911
  "unknown",
698
- "queryable"
912
+ "queryable",
913
+ false
699
914
  ],
700
915
  [
701
916
  "unknown",
702
- "theAble"
917
+ "theAble",
918
+ false
703
919
  ],
704
920
  [
705
- "verby",
706
- "verby"
921
+ "verb",
922
+ "verb",
923
+ false
707
924
  ],
708
925
  [
709
926
  "what",
710
- "object"
927
+ "object",
928
+ false
711
929
  ],
712
930
  [
713
931
  "what",
714
- "queryable"
932
+ "queryable",
933
+ false
715
934
  ],
716
935
  [
717
936
  "whatAble",
718
- "queryable"
937
+ "queryable",
938
+ false
719
939
  ],
720
940
  [
721
941
  "whose",
722
- "object"
942
+ "object",
943
+ false
723
944
  ],
724
945
  [
725
946
  "x",
726
- "number"
947
+ "number",
948
+ false
727
949
  ],
728
950
  [
729
951
  "xfx",
730
- "queryable"
952
+ "queryable",
953
+ false
731
954
  ],
732
955
  [
733
956
  "y",
734
- "number"
957
+ "number",
958
+ false
735
959
  ]
736
960
  ],
737
961
  "metadata": {
@@ -743,15 +967,15 @@
743
967
  ],
744
968
  "ops": [
745
969
  [
746
- "unknown",
970
+ "is",
747
971
  0
748
972
  ],
749
973
  [
750
- "unknown",
974
+ "list",
751
975
  0
752
976
  ],
753
977
  [
754
- "is",
978
+ "unknown",
755
979
  0
756
980
  ],
757
981
  [
@@ -759,7 +983,7 @@
759
983
  0
760
984
  ],
761
985
  [
762
- "list",
986
+ "unknown",
763
987
  0
764
988
  ]
765
989
  ],
@@ -772,11 +996,11 @@
772
996
  ],
773
997
  "ops": [
774
998
  [
775
- "unknown",
999
+ "is",
776
1000
  0
777
1001
  ],
778
1002
  [
779
- "is",
1003
+ "list",
780
1004
  0
781
1005
  ],
782
1006
  [
@@ -784,7 +1008,7 @@
784
1008
  0
785
1009
  ],
786
1010
  [
787
- "list",
1011
+ "unknown",
788
1012
  0
789
1013
  ]
790
1014
  ],
@@ -801,11 +1025,11 @@
801
1025
  0
802
1026
  ],
803
1027
  [
804
- "unknown",
1028
+ "list",
805
1029
  0
806
1030
  ],
807
1031
  [
808
- "list",
1032
+ "unknown",
809
1033
  0
810
1034
  ]
811
1035
  ],
@@ -828,23 +1052,6 @@
828
1052
  ],
829
1053
  "counter": 4
830
1054
  },
831
- {
832
- "op": [
833
- "list",
834
- 1
835
- ],
836
- "ops": [
837
- [
838
- "list",
839
- 1
840
- ],
841
- [
842
- "is",
843
- 0
844
- ]
845
- ],
846
- "counter": 5
847
- },
848
1055
  {
849
1056
  "op": [
850
1057
  "is",
@@ -856,7 +1063,7 @@
856
1063
  0
857
1064
  ]
858
1065
  ],
859
- "counter": 6
1066
+ "counter": 5
860
1067
  },
861
1068
  {
862
1069
  "op": [
@@ -869,7 +1076,7 @@
869
1076
  1
870
1077
  ]
871
1078
  ],
872
- "counter": 7
1079
+ "counter": 6
873
1080
  }
874
1081
  ]
875
1082
  },
@@ -887,7 +1094,19 @@
887
1094
  "one": {
888
1095
  "number": "many",
889
1096
  "marker": "list",
1097
+ "default": true,
1098
+ "word": "and",
1099
+ "text": "dimension and unit",
1100
+ "range": {
1101
+ "start": 0,
1102
+ "end": 30
1103
+ },
1104
+ "types": [
1105
+ "list",
1106
+ "unknown"
1107
+ ],
890
1108
  "listable": true,
1109
+ "isList": true,
891
1110
  "value": [
892
1111
  {
893
1112
  "value": "dimension",
@@ -900,7 +1119,7 @@
900
1119
  "end": 8
901
1120
  },
902
1121
  "dead": true,
903
- "level": 2
1122
+ "level": 1
904
1123
  },
905
1124
  {
906
1125
  "value": "unit",
@@ -913,18 +1132,9 @@
913
1132
  "end": 17
914
1133
  },
915
1134
  "dead": true,
916
- "level": 2
1135
+ "level": 1
917
1136
  }
918
1137
  ],
919
- "range": {
920
- "start": 0,
921
- "end": 30
922
- },
923
- "types": [
924
- "list",
925
- "unknown"
926
- ],
927
- "text": "dimension and unit are concepts",
928
1138
  "level": 1
929
1139
  },
930
1140
  "two": {
@@ -1119,6 +1329,12 @@
1119
1329
  "expression",
1120
1330
  "queryable"
1121
1331
  ],
1332
+ "localHierarchy": [
1333
+ [
1334
+ "unknown",
1335
+ "dimension"
1336
+ ]
1337
+ ],
1122
1338
  "after": [
1123
1339
  [
1124
1340
  "possession",
@@ -1131,7 +1347,10 @@
1131
1347
  ]
1132
1348
  },
1133
1349
  {
1134
- "id": "unit"
1350
+ "id": "unit",
1351
+ "isA": [
1352
+ "number"
1353
+ ]
1135
1354
  }
1136
1355
  ]
1137
1356
  }