tpmkms_4wp 8.0.0-beta.3 → 8.0.0-beta.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/common/animals.instance.json +2542 -1375
  2. package/common/animals.js +2 -2
  3. package/common/avatar.js +2 -2
  4. package/common/characters.js +9 -11
  5. package/common/colors.instance.json +6646 -3529
  6. package/common/colors.js +2 -2
  7. package/common/colors.test.json +345 -780
  8. package/common/comparable.js +2 -15
  9. package/common/concept.js +17 -11
  10. package/common/countable.js +5 -5
  11. package/common/crew.instance.json +12534 -6597
  12. package/common/crew.js +4 -4
  13. package/common/crew.test.json +714 -452
  14. package/common/currency.js +7 -7
  15. package/common/dialogues.js +53 -138
  16. package/common/dimension.instance.json +246 -265
  17. package/common/dimension.js +12 -12
  18. package/common/dimension.test.json +446 -1640
  19. package/common/edible.instance.json +19308 -10008
  20. package/common/edible.js +2 -2
  21. package/common/emotions.instance.json +122 -129
  22. package/common/emotions.js +4 -4
  23. package/common/events.js +6 -6
  24. package/common/fastfood.instance.json +219409 -111252
  25. package/common/fastfood.js +24 -24
  26. package/common/formulas.instance.json +222 -256
  27. package/common/formulas.js +14 -14
  28. package/common/gdefaults.js +13 -13
  29. package/common/help.js +4 -4
  30. package/common/help.test.json +10 -22
  31. package/common/helpers/concept.js +9 -6
  32. package/common/helpers/dialogues.js +2 -3
  33. package/common/helpers/properties.js +48 -58
  34. package/common/hierarchy.js +12 -16
  35. package/common/javascript.js +8 -8
  36. package/common/kirk.instance.json +564 -290
  37. package/common/kirk.js +2 -2
  38. package/common/length.instance.json +5153 -4677
  39. package/common/length.js +2 -2
  40. package/common/math.instance.json +152 -1169
  41. package/common/math.js +11 -11
  42. package/common/meta.js +22 -29
  43. package/common/negation.instance.json +2 -0
  44. package/common/negation.js +38 -0
  45. package/common/negation.test.json +308 -0
  46. package/common/numbers.js +3 -3
  47. package/common/ordering.instance.json +292 -230
  48. package/common/ordering.js +5 -5
  49. package/common/people.instance.json +1902 -1015
  50. package/common/people.js +4 -5
  51. package/common/percentages.instance.json +2 -0
  52. package/common/percentages.js +57 -0
  53. package/common/percentages.test.json +751 -0
  54. package/common/pipboy.instance.json +7720 -6386
  55. package/common/pipboy.js +29 -32
  56. package/common/pokemon.instance.json +3954 -2081
  57. package/common/pokemon.js +4 -4
  58. package/common/pos.js +1 -1
  59. package/common/pressure.instance.json +1265 -1193
  60. package/common/pressure.js +2 -2
  61. package/common/properties.instance.json +106 -61
  62. package/common/properties.js +54 -125
  63. package/common/punctuation.js +2 -2
  64. package/common/reports.instance.json +557 -559
  65. package/common/reports.js +54 -74
  66. package/common/scorekeeper.js +13 -21
  67. package/common/sdefaults.js +13 -3
  68. package/common/sizeable.js +2 -2
  69. package/common/spock.instance.json +564 -290
  70. package/common/spock.js +2 -2
  71. package/common/stgame.js +13 -9
  72. package/common/stm.js +4 -4
  73. package/common/tell.js +10 -10
  74. package/common/temperature.instance.json +1297 -1209
  75. package/common/temperature.js +2 -2
  76. package/common/tester.js +2 -2
  77. package/common/testing.js +5 -5
  78. package/common/time.js +7 -7
  79. package/common/tokenize.js +1 -1
  80. package/common/ui.instance.json +238 -259
  81. package/common/ui.js +9 -9
  82. package/common/weight.instance.json +4905 -4166
  83. package/common/weight.js +2 -2
  84. package/common/yesno.js +1 -1
  85. package/main.js +51 -46
  86. package/package.json +13 -6
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "configs": [
3
3
  "mathematical modifies operator",
4
- "* + / and - are mathematical operators",
5
4
  {
6
5
  "name": "math",
7
6
  "operators": [
8
7
  "([mathematicalExpression])",
9
- "([mathematicalOperator])",
8
+ "([mathematical_operator])",
10
9
  "(([number|]) [plusOperator] ([number|]))",
11
10
  "(([number|]) [minusOperator] ([number|]))",
12
11
  "(([number|]) [timesOperator] ([number|]))",
@@ -33,7 +32,7 @@
33
32
  ]
34
33
  },
35
34
  {
36
- "id": "mathematicalOperator",
35
+ "id": "mathematical_operator",
37
36
  "before": [
38
37
  "verby"
39
38
  ],
@@ -65,7 +64,7 @@
65
64
  "level": 0,
66
65
  "bridge": "{ ...next(operator), marker: next(operator('plusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
67
66
  "isA": [
68
- "mathematicalOperator"
67
+ "mathematical_operator"
69
68
  ],
70
69
  "before": [],
71
70
  "localHierarchy": [
@@ -78,7 +77,7 @@
78
77
  "plus",
79
78
  "+"
80
79
  ],
81
- "generatorp": "({gp, context}) => context.word"
80
+ "generatorp": "({context}) => context.word"
82
81
  },
83
82
  {
84
83
  "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
@@ -88,8 +87,8 @@
88
87
  "isA": [
89
88
  "mathematicalExpression"
90
89
  ],
91
- "generatorp": "({gp, context}) => `${gp(context.x)} ${context.word} ${gp(context.y)}`",
92
- "evaluator": "({e, context}) => {\n const x = toValue(e(context.x)) \n const y = toValue(e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
90
+ "generatorp": "async ({gp, context}) => `${await gp(context.x)} ${context.word} ${await gp(context.y)}`",
91
+ "evaluator": "async ({e, context}) => {\n const x = toValue(await e(context.x)) \n const y = toValue(await e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
93
92
  },
94
93
  {
95
94
  "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
@@ -97,7 +96,7 @@
97
96
  "level": 0,
98
97
  "bridge": "{ ...next(operator), marker: next(operator('minusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
99
98
  "isA": [
100
- "mathematicalOperator"
99
+ "mathematical_operator"
101
100
  ],
102
101
  "before": [],
103
102
  "localHierarchy": [
@@ -110,7 +109,7 @@
110
109
  "minus",
111
110
  "-"
112
111
  ],
113
- "generatorp": "({gp, context}) => context.word"
112
+ "generatorp": "({context}) => context.word"
114
113
  },
115
114
  {
116
115
  "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
@@ -120,8 +119,8 @@
120
119
  "isA": [
121
120
  "mathematicalExpression"
122
121
  ],
123
- "generatorp": "({gp, context}) => `${gp(context.x)} ${context.word} ${gp(context.y)}`",
124
- "evaluator": "({e, context}) => {\n const x = toValue(e(context.x)) \n const y = toValue(e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
122
+ "generatorp": "async ({gp, context}) => `${await gp(context.x)} ${context.word} ${await gp(context.y)}`",
123
+ "evaluator": "async ({e, context}) => {\n const x = toValue(await e(context.x)) \n const y = toValue(await e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
125
124
  },
126
125
  {
127
126
  "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
@@ -129,7 +128,7 @@
129
128
  "level": 0,
130
129
  "bridge": "{ ...next(operator), marker: next(operator('timesExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
131
130
  "isA": [
132
- "mathematicalOperator"
131
+ "mathematical_operator"
133
132
  ],
134
133
  "before": [
135
134
  [
@@ -151,7 +150,7 @@
151
150
  "times",
152
151
  "*"
153
152
  ],
154
- "generatorp": "({gp, context}) => context.word"
153
+ "generatorp": "({context}) => context.word"
155
154
  },
156
155
  {
157
156
  "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
@@ -161,8 +160,8 @@
161
160
  "isA": [
162
161
  "mathematicalExpression"
163
162
  ],
164
- "generatorp": "({gp, context}) => `${gp(context.x)} ${context.word} ${gp(context.y)}`",
165
- "evaluator": "({e, context}) => {\n const x = toValue(e(context.x)) \n const y = toValue(e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
163
+ "generatorp": "async ({gp, context}) => `${await gp(context.x)} ${context.word} ${await gp(context.y)}`",
164
+ "evaluator": "async ({e, context}) => {\n const x = toValue(await e(context.x)) \n const y = toValue(await e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
166
165
  },
167
166
  {
168
167
  "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
@@ -170,7 +169,7 @@
170
169
  "level": 0,
171
170
  "bridge": "{ ...next(operator), marker: next(operator('divideByExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
172
171
  "isA": [
173
- "mathematicalOperator"
172
+ "mathematical_operator"
174
173
  ],
175
174
  "before": [
176
175
  [
@@ -191,7 +190,7 @@
191
190
  "words": [
192
191
  "/"
193
192
  ],
194
- "generatorp": "({gp, context}) => context.word"
193
+ "generatorp": "({context}) => context.word"
195
194
  },
196
195
  {
197
196
  "where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
@@ -201,8 +200,8 @@
201
200
  "isA": [
202
201
  "mathematicalExpression"
203
202
  ],
204
- "generatorp": "({gp, context}) => `${gp(context.x)} ${context.word} ${gp(context.y)}`",
205
- "evaluator": "({e, context}) => {\n const x = toValue(e(context.x)) \n const y = toValue(e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
203
+ "generatorp": "async ({gp, context}) => `${await gp(context.x)} ${context.word} ${await gp(context.y)}`",
204
+ "evaluator": "async ({e, context}) => {\n const x = toValue(await e(context.x)) \n const y = toValue(await e(context.y))\n if (!x || !y) {\n // context.evalue = { ...context, paraphrase: true, x: { ...context.x, value: x }, y: { ...context.y, value: y } }\n context.isResponse = false\n } else {\n context.evalue = apply(x, y)\n context.evalue.isResponse = true\n context.evalue.paraphrase = false\n // context.paraphrase = false\n // context.isResponse = true\n }\n /*\n if (!context.value) {\n context.isResponse = false\n context.paraphrase = true\n }\n */\n }"
206
205
  }
207
206
  ]
208
207
  }
@@ -212,267 +211,323 @@
212
211
  "hierarchy": [
213
212
  [
214
213
  "a",
215
- "articlePOS"
214
+ "articlePOS",
215
+ false
216
216
  ],
217
217
  [
218
218
  "all",
219
- "quantifier"
219
+ "quantifier",
220
+ false
220
221
  ],
221
222
  [
222
223
  "articlePOS",
223
- "articlePOS"
224
+ "articlePOS",
225
+ false
224
226
  ],
225
227
  [
226
228
  "between",
227
- "preposition"
229
+ "preposition",
230
+ false
228
231
  ],
229
232
  [
230
233
  "canBeDoQuestion",
231
- "canBeDoQuestion"
234
+ "canBeDoQuestion",
235
+ false
232
236
  ],
233
237
  [
234
238
  "canBeQuestion",
235
- "canBeQuestion"
239
+ "canBeQuestion",
240
+ false
236
241
  ],
237
242
  [
238
243
  "concept",
239
- "queryable"
244
+ "queryable",
245
+ false
240
246
  ],
241
247
  [
242
248
  "concept",
243
- "theAble"
249
+ "theAble",
250
+ false
244
251
  ],
245
252
  [
246
253
  "condition",
247
- "condition"
254
+ "condition",
255
+ false
248
256
  ],
249
257
  [
250
258
  "countable",
251
- "hierarchyAble"
259
+ "hierarchyAble",
260
+ false
252
261
  ],
253
262
  [
254
263
  "doubleQuote",
255
- "queryable"
264
+ "queryable",
265
+ false
256
266
  ],
257
267
  [
258
268
  "hasCountOfPieces",
259
- "countable"
269
+ "countable",
270
+ false
260
271
  ],
261
272
  [
262
273
  "have",
263
- "canBeDoQuestion"
274
+ "canBeDoQuestion",
275
+ false
264
276
  ],
265
277
  [
266
278
  "have",
267
- "canBeQuestion"
279
+ "canBeQuestion",
280
+ false
268
281
  ],
269
282
  [
270
283
  "hierarchyAble",
271
- "queryable"
284
+ "queryable",
285
+ false
272
286
  ],
273
287
  [
274
288
  "highest",
275
- "condition"
289
+ "condition",
290
+ false
276
291
  ],
277
292
  [
278
293
  "ifAble",
279
- "ifAble"
294
+ "ifAble",
295
+ false
280
296
  ],
281
297
  [
282
298
  "is",
283
- "canBeQuestion"
299
+ "canBeQuestion",
300
+ false
284
301
  ],
285
302
  [
286
303
  "is",
287
- "verby"
304
+ "verby",
305
+ false
288
306
  ],
289
307
  [
290
308
  "it",
291
- "pronoun"
309
+ "pronoun",
310
+ false
292
311
  ],
293
312
  [
294
313
  "it",
295
- "queryable"
314
+ "queryable",
315
+ false
296
316
  ],
297
317
  [
298
318
  "it",
299
- "thisitthat"
319
+ "thisitthat",
320
+ false
300
321
  ],
301
322
  [
302
323
  "it",
303
- "toAble"
324
+ "toAble",
325
+ false
304
326
  ],
305
327
  [
306
328
  "lowest",
307
- "condition"
329
+ "condition",
330
+ false
308
331
  ],
309
332
  [
310
333
  "modifies",
311
- "verby"
312
- ],
313
- [
314
- "notAble",
315
- "notAble"
334
+ "verby",
335
+ false
316
336
  ],
317
337
  [
318
338
  "noun",
319
- "theAble"
339
+ "theAble",
340
+ false
320
341
  ],
321
342
  [
322
343
  "number",
323
- "quantifier"
344
+ "quantifier",
345
+ false
324
346
  ],
325
347
  [
326
348
  "number",
327
- "queryable"
349
+ "queryable",
350
+ false
328
351
  ],
329
352
  [
330
353
  "object",
331
- "queryable"
354
+ "queryable",
355
+ false
332
356
  ],
333
357
  [
334
358
  "object",
335
- "theAble"
359
+ "theAble",
360
+ false
336
361
  ],
337
362
  [
338
363
  "orAble",
339
- "ifAble"
364
+ "ifAble",
365
+ false
340
366
  ],
341
367
  [
342
368
  "preposition",
343
- "preposition"
369
+ "preposition",
370
+ false
344
371
  ],
345
372
  [
346
373
  "pronoun",
347
- "pronoun"
374
+ "pronoun",
375
+ false
348
376
  ],
349
377
  [
350
378
  "property",
351
- "queryable"
379
+ "queryable",
380
+ false
352
381
  ],
353
382
  [
354
383
  "property",
355
- "theAble"
384
+ "theAble",
385
+ false
356
386
  ],
357
387
  [
358
388
  "property",
359
- "unknown"
389
+ "unknown",
390
+ false
360
391
  ],
361
392
  [
362
393
  "punctuation",
363
- "punctuation"
394
+ "punctuation",
395
+ false
364
396
  ],
365
397
  [
366
398
  "quantifier",
367
- "quantifier"
399
+ "quantifier",
400
+ false
368
401
  ],
369
402
  [
370
403
  "queryable",
371
- "queryable"
404
+ "queryable",
405
+ false
372
406
  ],
373
407
  [
374
408
  "questionMark",
375
- "punctuation"
409
+ "punctuation",
410
+ false
376
411
  ],
377
412
  [
378
413
  "readonly",
379
- "queryable"
414
+ "queryable",
415
+ false
380
416
  ],
381
417
  [
382
418
  "reason",
383
- "queryable"
419
+ "queryable",
420
+ false
384
421
  ],
385
422
  [
386
423
  "reason",
387
- "theAble"
424
+ "theAble",
425
+ false
388
426
  ],
389
427
  [
390
428
  "that",
391
- "thisitthat"
429
+ "thisitthat",
430
+ false
392
431
  ],
393
432
  [
394
433
  "the",
395
- "articlePOS"
434
+ "articlePOS",
435
+ false
396
436
  ],
397
437
  [
398
438
  "theAble",
399
- "theAble"
439
+ "theAble",
440
+ false
400
441
  ],
401
442
  [
402
443
  "this",
403
- "pronoun"
444
+ "pronoun",
445
+ false
404
446
  ],
405
447
  [
406
448
  "this",
407
- "queryable"
449
+ "queryable",
450
+ false
408
451
  ],
409
452
  [
410
453
  "this",
411
- "thisitthat"
454
+ "thisitthat",
455
+ false
412
456
  ],
413
457
  [
414
458
  "thisitthat",
415
- "queryable"
459
+ "queryable",
460
+ false
416
461
  ],
417
462
  [
418
463
  "to",
419
- "preposition"
464
+ "preposition",
465
+ false
420
466
  ],
421
467
  [
422
468
  "toAble",
423
- "toAble"
469
+ "toAble",
470
+ false
424
471
  ],
425
472
  [
426
473
  "type",
427
- "property"
474
+ "property",
475
+ false
428
476
  ],
429
477
  [
430
478
  "type",
431
- "whatAble"
432
- ],
433
- [
434
- "unknown",
435
- "hierarchyAble"
479
+ "whatAble",
480
+ false
436
481
  ],
437
482
  [
438
483
  "unknown",
439
- "notAble"
484
+ "hierarchyAble",
485
+ false
440
486
  ],
441
487
  [
442
488
  "unknown",
443
- "object"
489
+ "object",
490
+ false
444
491
  ],
445
492
  [
446
493
  "unknown",
447
- "queryable"
494
+ "queryable",
495
+ false
448
496
  ],
449
497
  [
450
498
  "unknown",
451
- "theAble"
499
+ "theAble",
500
+ false
452
501
  ],
453
502
  [
454
503
  "verby",
455
- "verby"
504
+ "verby",
505
+ false
456
506
  ],
457
507
  [
458
508
  "what",
459
- "object"
509
+ "object",
510
+ false
460
511
  ],
461
512
  [
462
513
  "what",
463
- "queryable"
514
+ "queryable",
515
+ false
464
516
  ],
465
517
  [
466
518
  "whatAble",
467
- "queryable"
519
+ "queryable",
520
+ false
468
521
  ],
469
522
  [
470
523
  "whose",
471
- "object"
524
+ "object",
525
+ false
472
526
  ],
473
527
  [
474
528
  "xfx",
475
- "queryable"
529
+ "queryable",
530
+ false
476
531
  ]
477
532
  ],
478
533
  "metadata": {
@@ -631,964 +686,12 @@
631
686
  "query": "mathematical modifies operator"
632
687
  }
633
688
  },
634
- {
635
- "hierarchy": [
636
- [
637
- "a",
638
- "articlePOS"
639
- ],
640
- [
641
- "adjective",
642
- "adjective"
643
- ],
644
- [
645
- "all",
646
- "quantifier"
647
- ],
648
- [
649
- "articlePOS",
650
- "articlePOS"
651
- ],
652
- [
653
- "between",
654
- "preposition"
655
- ],
656
- [
657
- "canBeDoQuestion",
658
- "canBeDoQuestion"
659
- ],
660
- [
661
- "canBeQuestion",
662
- "canBeQuestion"
663
- ],
664
- [
665
- "concept",
666
- "queryable"
667
- ],
668
- [
669
- "concept",
670
- "theAble"
671
- ],
672
- [
673
- "condition",
674
- "condition"
675
- ],
676
- [
677
- "countable",
678
- "hierarchyAble"
679
- ],
680
- [
681
- "doubleQuote",
682
- "queryable"
683
- ],
684
- [
685
- "hasCountOfPieces",
686
- "countable"
687
- ],
688
- [
689
- "have",
690
- "canBeDoQuestion"
691
- ],
692
- [
693
- "have",
694
- "canBeQuestion"
695
- ],
696
- [
697
- "hierarchyAble",
698
- "queryable"
699
- ],
700
- [
701
- "highest",
702
- "condition"
703
- ],
704
- [
705
- "ifAble",
706
- "ifAble"
707
- ],
708
- [
709
- "is",
710
- "canBeQuestion"
711
- ],
712
- [
713
- "is",
714
- "verby"
715
- ],
716
- [
717
- "isEdee",
718
- "isEdee"
719
- ],
720
- [
721
- "isEder",
722
- "isEder"
723
- ],
724
- [
725
- "it",
726
- "pronoun"
727
- ],
728
- [
729
- "it",
730
- "queryable"
731
- ],
732
- [
733
- "it",
734
- "thisitthat"
735
- ],
736
- [
737
- "it",
738
- "toAble"
739
- ],
740
- [
741
- "lowest",
742
- "condition"
743
- ],
744
- [
745
- "mathematical",
746
- "hierarchyAble"
747
- ],
748
- [
749
- "mathematical",
750
- "isEdee"
751
- ],
752
- [
753
- "mathematical",
754
- "isEder"
755
- ],
756
- [
757
- "mathematical",
758
- "object"
759
- ],
760
- [
761
- "mathematical",
762
- "operator_modifier"
763
- ],
764
- [
765
- "mathematical",
766
- "property"
767
- ],
768
- [
769
- "mathematical",
770
- "queryable"
771
- ],
772
- [
773
- "mathematical",
774
- "theAble"
775
- ],
776
- [
777
- "mathematical_operator",
778
- "adjective"
779
- ],
780
- [
781
- "mathematical_operator",
782
- "concept"
783
- ],
784
- [
785
- "mathematical_operator",
786
- "hierarchyAble"
787
- ],
788
- [
789
- "mathematical_operator",
790
- "isEdee"
791
- ],
792
- [
793
- "mathematical_operator",
794
- "isEder"
795
- ],
796
- [
797
- "mathematical_operator",
798
- "object"
799
- ],
800
- [
801
- "mathematical_operator",
802
- "operator"
803
- ],
804
- [
805
- "mathematical_operator",
806
- "property"
807
- ],
808
- [
809
- "mathematical_operator",
810
- "queryable"
811
- ],
812
- [
813
- "mathematical_operator",
814
- "theAble"
815
- ],
816
- [
817
- "modifies",
818
- "verby"
819
- ],
820
- [
821
- "notAble",
822
- "notAble"
823
- ],
824
- [
825
- "noun",
826
- "theAble"
827
- ],
828
- [
829
- "number",
830
- "quantifier"
831
- ],
832
- [
833
- "number",
834
- "queryable"
835
- ],
836
- [
837
- "object",
838
- "queryable"
839
- ],
840
- [
841
- "object",
842
- "theAble"
843
- ],
844
- [
845
- "operator",
846
- "concept"
847
- ],
848
- [
849
- "operator",
850
- "hierarchyAble"
851
- ],
852
- [
853
- "operator",
854
- "isEdee"
855
- ],
856
- [
857
- "operator",
858
- "isEder"
859
- ],
860
- [
861
- "operator",
862
- "object"
863
- ],
864
- [
865
- "operator",
866
- "property"
867
- ],
868
- [
869
- "operator",
870
- "queryable"
871
- ],
872
- [
873
- "operator",
874
- "theAble"
875
- ],
876
- [
877
- "operator_modifier",
878
- "operator_modifier"
879
- ],
880
- [
881
- "orAble",
882
- "ifAble"
883
- ],
884
- [
885
- "preposition",
886
- "preposition"
887
- ],
888
- [
889
- "pronoun",
890
- "pronoun"
891
- ],
892
- [
893
- "property",
894
- "queryable"
895
- ],
896
- [
897
- "property",
898
- "theAble"
899
- ],
900
- [
901
- "property",
902
- "unknown"
903
- ],
904
- [
905
- "punctuation",
906
- "punctuation"
907
- ],
908
- [
909
- "quantifier",
910
- "quantifier"
911
- ],
912
- [
913
- "queryable",
914
- "queryable"
915
- ],
916
- [
917
- "questionMark",
918
- "punctuation"
919
- ],
920
- [
921
- "readonly",
922
- "queryable"
923
- ],
924
- [
925
- "reason",
926
- "queryable"
927
- ],
928
- [
929
- "reason",
930
- "theAble"
931
- ],
932
- [
933
- "that",
934
- "thisitthat"
935
- ],
936
- [
937
- "the",
938
- "articlePOS"
939
- ],
940
- [
941
- "theAble",
942
- "theAble"
943
- ],
944
- [
945
- "this",
946
- "pronoun"
947
- ],
948
- [
949
- "this",
950
- "queryable"
951
- ],
952
- [
953
- "this",
954
- "thisitthat"
955
- ],
956
- [
957
- "thisitthat",
958
- "queryable"
959
- ],
960
- [
961
- "to",
962
- "preposition"
963
- ],
964
- [
965
- "toAble",
966
- "toAble"
967
- ],
968
- [
969
- "type",
970
- "property"
971
- ],
972
- [
973
- "type",
974
- "whatAble"
975
- ],
976
- [
977
- "unknown",
978
- "hierarchyAble"
979
- ],
980
- [
981
- "unknown",
982
- "notAble"
983
- ],
984
- [
985
- "unknown",
986
- "object"
987
- ],
988
- [
989
- "unknown",
990
- "queryable"
991
- ],
992
- [
993
- "unknown",
994
- "theAble"
995
- ],
996
- [
997
- "verby",
998
- "verby"
999
- ],
1000
- [
1001
- "what",
1002
- "object"
1003
- ],
1004
- [
1005
- "what",
1006
- "queryable"
1007
- ],
1008
- [
1009
- "whatAble",
1010
- "queryable"
1011
- ],
1012
- [
1013
- "whose",
1014
- "object"
1015
- ],
1016
- [
1017
- "xfx",
1018
- "queryable"
1019
- ]
1020
- ],
1021
- "metadata": {
1022
- "opChoices": [
1023
- {
1024
- "op": [
1025
- "unknown",
1026
- 0
1027
- ],
1028
- "ops": [
1029
- [
1030
- "unknown",
1031
- 0
1032
- ],
1033
- [
1034
- "unknown",
1035
- 0
1036
- ],
1037
- [
1038
- "unknown",
1039
- 0
1040
- ],
1041
- [
1042
- "unknown",
1043
- 0
1044
- ],
1045
- [
1046
- "is",
1047
- 0
1048
- ],
1049
- [
1050
- "mathematical",
1051
- 0
1052
- ],
1053
- [
1054
- "operator",
1055
- 0
1056
- ],
1057
- [
1058
- "mathematical_operator",
1059
- 0
1060
- ],
1061
- [
1062
- "list",
1063
- 0
1064
- ]
1065
- ],
1066
- "counter": 1
1067
- },
1068
- {
1069
- "op": [
1070
- "unknown",
1071
- 0
1072
- ],
1073
- "ops": [
1074
- [
1075
- "unknown",
1076
- 0
1077
- ],
1078
- [
1079
- "unknown",
1080
- 0
1081
- ],
1082
- [
1083
- "unknown",
1084
- 0
1085
- ],
1086
- [
1087
- "is",
1088
- 0
1089
- ],
1090
- [
1091
- "mathematical",
1092
- 0
1093
- ],
1094
- [
1095
- "operator",
1096
- 0
1097
- ],
1098
- [
1099
- "mathematical_operator",
1100
- 0
1101
- ],
1102
- [
1103
- "list",
1104
- 0
1105
- ]
1106
- ],
1107
- "counter": 2
1108
- },
1109
- {
1110
- "op": [
1111
- "unknown",
1112
- 0
1113
- ],
1114
- "ops": [
1115
- [
1116
- "unknown",
1117
- 0
1118
- ],
1119
- [
1120
- "unknown",
1121
- 0
1122
- ],
1123
- [
1124
- "is",
1125
- 0
1126
- ],
1127
- [
1128
- "mathematical",
1129
- 0
1130
- ],
1131
- [
1132
- "operator",
1133
- 0
1134
- ],
1135
- [
1136
- "mathematical_operator",
1137
- 0
1138
- ],
1139
- [
1140
- "list",
1141
- 0
1142
- ]
1143
- ],
1144
- "counter": 3
1145
- },
1146
- {
1147
- "op": [
1148
- "unknown",
1149
- 0
1150
- ],
1151
- "ops": [
1152
- [
1153
- "unknown",
1154
- 0
1155
- ],
1156
- [
1157
- "is",
1158
- 0
1159
- ],
1160
- [
1161
- "mathematical",
1162
- 0
1163
- ],
1164
- [
1165
- "operator",
1166
- 0
1167
- ],
1168
- [
1169
- "mathematical_operator",
1170
- 0
1171
- ],
1172
- [
1173
- "list",
1174
- 0
1175
- ]
1176
- ],
1177
- "counter": 4
1178
- },
1179
- {
1180
- "op": [
1181
- "list",
1182
- 0
1183
- ],
1184
- "ops": [
1185
- [
1186
- "is",
1187
- 0
1188
- ],
1189
- [
1190
- "mathematical",
1191
- 0
1192
- ],
1193
- [
1194
- "operator",
1195
- 0
1196
- ],
1197
- [
1198
- "mathematical_operator",
1199
- 0
1200
- ],
1201
- [
1202
- "list",
1203
- 0
1204
- ]
1205
- ],
1206
- "counter": 5
1207
- },
1208
- {
1209
- "op": [
1210
- "list",
1211
- 1
1212
- ],
1213
- "ops": [
1214
- [
1215
- "is",
1216
- 0
1217
- ],
1218
- [
1219
- "mathematical",
1220
- 0
1221
- ],
1222
- [
1223
- "operator",
1224
- 0
1225
- ],
1226
- [
1227
- "mathematical_operator",
1228
- 0
1229
- ],
1230
- [
1231
- "list",
1232
- 1
1233
- ]
1234
- ],
1235
- "counter": 6
1236
- },
1237
- {
1238
- "op": [
1239
- "list",
1240
- 1
1241
- ],
1242
- "ops": [
1243
- [
1244
- "is",
1245
- 0
1246
- ],
1247
- [
1248
- "mathematical",
1249
- 0
1250
- ],
1251
- [
1252
- "operator",
1253
- 0
1254
- ],
1255
- [
1256
- "mathematical_operator",
1257
- 0
1258
- ],
1259
- [
1260
- "list",
1261
- 1
1262
- ]
1263
- ],
1264
- "counter": 7
1265
- },
1266
- {
1267
- "op": [
1268
- "mathematical_operator",
1269
- 0
1270
- ],
1271
- "ops": [
1272
- [
1273
- "is",
1274
- 0
1275
- ],
1276
- [
1277
- "mathematical",
1278
- 0
1279
- ],
1280
- [
1281
- "operator",
1282
- 0
1283
- ],
1284
- [
1285
- "mathematical_operator",
1286
- 0
1287
- ]
1288
- ],
1289
- "counter": 8
1290
- },
1291
- {
1292
- "op": [
1293
- "is",
1294
- 0
1295
- ],
1296
- "ops": [
1297
- [
1298
- "is",
1299
- 0
1300
- ]
1301
- ],
1302
- "counter": 9
1303
- },
1304
- {
1305
- "op": [
1306
- "is",
1307
- 1
1308
- ],
1309
- "ops": [
1310
- [
1311
- "is",
1312
- 1
1313
- ]
1314
- ],
1315
- "counter": 10
1316
- }
1317
- ]
1318
- },
1319
- "trace": "undefined",
1320
- "contexts": [
1321
- {
1322
- "number": "many",
1323
- "text": "* + / and - are mathematical operators",
1324
- "marker": "is",
1325
- "word": "are",
1326
- "range": {
1327
- "start": 0,
1328
- "end": 37
1329
- },
1330
- "one": {
1331
- "number": "many",
1332
- "marker": "list",
1333
- "default": true,
1334
- "word": "and",
1335
- "text": "* + / and -",
1336
- "range": {
1337
- "start": 0,
1338
- "end": 37
1339
- },
1340
- "types": [
1341
- "list",
1342
- "unknown"
1343
- ],
1344
- "listable": true,
1345
- "isList": true,
1346
- "value": [
1347
- {
1348
- "marker": "unknown",
1349
- "value": "*",
1350
- "word": "*",
1351
- "text": "*",
1352
- "range": {
1353
- "start": 0,
1354
- "end": 0
1355
- },
1356
- "unknown": true,
1357
- "dead": true,
1358
- "level": 1
1359
- },
1360
- {
1361
- "marker": "unknown",
1362
- "value": "+",
1363
- "word": "+",
1364
- "text": "+",
1365
- "range": {
1366
- "start": 2,
1367
- "end": 2
1368
- },
1369
- "unknown": true,
1370
- "dead": true,
1371
- "level": 1
1372
- },
1373
- {
1374
- "marker": "unknown",
1375
- "value": "/",
1376
- "word": "/",
1377
- "text": "/",
1378
- "range": {
1379
- "start": 4,
1380
- "end": 4
1381
- },
1382
- "unknown": true,
1383
- "dead": true,
1384
- "level": 1
1385
- },
1386
- {
1387
- "marker": "unknown",
1388
- "value": "-",
1389
- "word": "-",
1390
- "text": "-",
1391
- "range": {
1392
- "start": 10,
1393
- "end": 10
1394
- },
1395
- "unknown": true,
1396
- "dead": true,
1397
- "level": 1
1398
- }
1399
- ],
1400
- "level": 1
1401
- },
1402
- "two": {
1403
- "value": "mathematical_operator",
1404
- "number": "many",
1405
- "text": "mathematical operators",
1406
- "marker": "mathematical_operator",
1407
- "word": "operators",
1408
- "range": {
1409
- "start": 16,
1410
- "end": 37
1411
- },
1412
- "types": [
1413
- "mathematical_operator",
1414
- "operator"
1415
- ],
1416
- "modifier_mathematical": {
1417
- "value": "mathematical",
1418
- "number": "one",
1419
- "text": "mathematical",
1420
- "marker": "mathematical",
1421
- "word": "mathematical",
1422
- "range": {
1423
- "start": 16,
1424
- "end": 27
1425
- },
1426
- "types": [
1427
- "mathematical"
1428
- ],
1429
- "level": 0
1430
- },
1431
- "atomic": true,
1432
- "dead": true,
1433
- "modifiers": [
1434
- "modifier_mathematical"
1435
- ],
1436
- "level": 1,
1437
- "concept": true
1438
- },
1439
- "dead": true,
1440
- "level": 2,
1441
- "topLevel": true,
1442
- "touchedBy": [
1443
- "math#call2"
1444
- ]
1445
- }
1446
- ],
1447
- "generated": [
1448
- ""
1449
- ],
1450
- "paraphrases": [
1451
- "*, +, / and - are mathematical operators"
1452
- ],
1453
- "paraphrasesParenthesized": [],
1454
- "generatedParenthesized": [],
1455
- "responses": [
1456
- ""
1457
- ],
1458
- "associations": [
1459
- [
1460
- [
1461
- "is",
1462
- 0
1463
- ],
1464
- [
1465
- "list",
1466
- 0
1467
- ],
1468
- [
1469
- "mathematical",
1470
- 0
1471
- ],
1472
- [
1473
- "operator",
1474
- 0
1475
- ],
1476
- [
1477
- "unknown",
1478
- 0
1479
- ]
1480
- ],
1481
- [
1482
- [
1483
- "is",
1484
- 0
1485
- ],
1486
- [
1487
- "list",
1488
- 0
1489
- ],
1490
- [
1491
- "mathematical",
1492
- 0
1493
- ],
1494
- [
1495
- "operator",
1496
- 0
1497
- ],
1498
- [
1499
- "unknown",
1500
- 0
1501
- ],
1502
- [
1503
- "unknown",
1504
- 1
1505
- ]
1506
- ],
1507
- [
1508
- [
1509
- "is",
1510
- 0
1511
- ],
1512
- [
1513
- "list",
1514
- 0
1515
- ],
1516
- [
1517
- "mathematical",
1518
- 0
1519
- ],
1520
- [
1521
- "operator",
1522
- 0
1523
- ],
1524
- [
1525
- "unknown",
1526
- 1
1527
- ]
1528
- ],
1529
- [
1530
- [
1531
- "is",
1532
- 0
1533
- ],
1534
- [
1535
- "list",
1536
- 1
1537
- ]
1538
- ],
1539
- [
1540
- [
1541
- "is",
1542
- 0
1543
- ],
1544
- [
1545
- "list",
1546
- 1
1547
- ],
1548
- [
1549
- "mathematical",
1550
- 0
1551
- ],
1552
- [
1553
- "operator",
1554
- 0
1555
- ]
1556
- ],
1557
- [
1558
- [
1559
- "is",
1560
- 0
1561
- ],
1562
- [
1563
- "list",
1564
- 1
1565
- ],
1566
- [
1567
- "mathematical",
1568
- 0
1569
- ],
1570
- [
1571
- "operator",
1572
- 0
1573
- ],
1574
- [
1575
- "unknown",
1576
- 1
1577
- ]
1578
- ]
1579
- ],
1580
- "learned_contextual_priorities": [],
1581
- "query": "* + / and - are mathematical operators",
1582
- "key": {
1583
- "query": "* + / and - are mathematical operators"
1584
- }
1585
- },
1586
689
  {
1587
690
  "extraConfig": true,
1588
691
  "name": "math",
1589
692
  "operators": [
1590
693
  "([mathematicalExpression])",
1591
- "([mathematicalOperator])",
694
+ "([mathematical_operator])",
1592
695
  "(([number|]) [plusOperator] ([number|]))",
1593
696
  "(([number|]) [minusOperator] ([number|]))",
1594
697
  "(([number|]) [timesOperator] ([number|]))",
@@ -1615,7 +718,7 @@
1615
718
  ]
1616
719
  },
1617
720
  {
1618
- "id": "mathematicalOperator",
721
+ "id": "mathematical_operator",
1619
722
  "before": [
1620
723
  "verby"
1621
724
  ],
@@ -1647,7 +750,7 @@
1647
750
  "level": 0,
1648
751
  "bridge": "{ ...next(operator), marker: next(operator('plusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1649
752
  "isA": [
1650
- "mathematicalOperator"
753
+ "mathematical_operator"
1651
754
  ],
1652
755
  "before": [],
1653
756
  "localHierarchy": [
@@ -1676,7 +779,7 @@
1676
779
  "level": 0,
1677
780
  "bridge": "{ ...next(operator), marker: next(operator('minusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1678
781
  "isA": [
1679
- "mathematicalOperator"
782
+ "mathematical_operator"
1680
783
  ],
1681
784
  "before": [],
1682
785
  "localHierarchy": [
@@ -1705,7 +808,7 @@
1705
808
  "level": 0,
1706
809
  "bridge": "{ ...next(operator), marker: next(operator('timesExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1707
810
  "isA": [
1708
- "mathematicalOperator"
811
+ "mathematical_operator"
1709
812
  ],
1710
813
  "before": [
1711
814
  [
@@ -1743,7 +846,7 @@
1743
846
  "level": 0,
1744
847
  "bridge": "{ ...next(operator), marker: next(operator('divideByExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1745
848
  "isA": [
1746
- "mathematicalOperator"
849
+ "mathematical_operator"
1747
850
  ],
1748
851
  "before": [
1749
852
  [
@@ -1780,126 +883,6 @@
1780
883
  "fragments": [],
1781
884
  "semantics": [],
1782
885
  "associations": [
1783
- [
1784
- [
1785
- "is",
1786
- 0
1787
- ],
1788
- [
1789
- "list",
1790
- 0
1791
- ],
1792
- [
1793
- "mathematical",
1794
- 0
1795
- ],
1796
- [
1797
- "operator",
1798
- 0
1799
- ],
1800
- [
1801
- "unknown",
1802
- 0
1803
- ]
1804
- ],
1805
- [
1806
- [
1807
- "is",
1808
- 0
1809
- ],
1810
- [
1811
- "list",
1812
- 0
1813
- ],
1814
- [
1815
- "mathematical",
1816
- 0
1817
- ],
1818
- [
1819
- "operator",
1820
- 0
1821
- ],
1822
- [
1823
- "unknown",
1824
- 0
1825
- ],
1826
- [
1827
- "unknown",
1828
- 1
1829
- ]
1830
- ],
1831
- [
1832
- [
1833
- "is",
1834
- 0
1835
- ],
1836
- [
1837
- "list",
1838
- 0
1839
- ],
1840
- [
1841
- "mathematical",
1842
- 0
1843
- ],
1844
- [
1845
- "operator",
1846
- 0
1847
- ],
1848
- [
1849
- "unknown",
1850
- 1
1851
- ]
1852
- ],
1853
- [
1854
- [
1855
- "is",
1856
- 0
1857
- ],
1858
- [
1859
- "list",
1860
- 1
1861
- ]
1862
- ],
1863
- [
1864
- [
1865
- "is",
1866
- 0
1867
- ],
1868
- [
1869
- "list",
1870
- 1
1871
- ],
1872
- [
1873
- "mathematical",
1874
- 0
1875
- ],
1876
- [
1877
- "operator",
1878
- 0
1879
- ]
1880
- ],
1881
- [
1882
- [
1883
- "is",
1884
- 0
1885
- ],
1886
- [
1887
- "list",
1888
- 1
1889
- ],
1890
- [
1891
- "mathematical",
1892
- 0
1893
- ],
1894
- [
1895
- "operator",
1896
- 0
1897
- ],
1898
- [
1899
- "unknown",
1900
- 1
1901
- ]
1902
- ],
1903
886
  [
1904
887
  [
1905
888
  "modifies",