ekms 7.12.8 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/common/animals.instance.json +89 -293
- package/common/animals.js +1 -1
- package/common/avatar.js +7 -5
- package/common/characters.js +12 -5
- package/common/crew.instance.json +289 -577
- package/common/crew.js +1 -1
- package/common/currency.js +0 -2
- package/common/dialogues.js +122 -17
- package/common/dimension.instance.json +747 -73
- package/common/dimension.js +15 -7
- package/common/edible.instance.json +243 -435
- package/common/edible.js +1 -1
- package/common/emotions.instance.json +29 -65
- package/common/emotions.js +1 -1
- package/common/fastfood.instance.json +1080 -2072
- package/common/fastfood.js +1 -1
- package/common/formulas.instance.json +992 -0
- package/common/formulas.js +19 -6
- package/common/formulas.test.json +1187 -3651
- package/common/gdefaults.js +2 -0
- package/common/help.js +7 -2
- package/common/help.test.json +9 -5
- package/common/helpers.js +5 -0
- package/common/javascript.js +8 -6
- package/common/kirk.instance.json +1 -1
- package/common/kirk.js +1 -1
- package/common/length.instance.json +316 -740
- package/common/length.js +1 -1
- package/common/math.instance.json +1959 -1
- package/common/math.js +17 -5
- package/common/meta.instance.json +1 -1
- package/common/meta.js +35 -10
- package/common/numbers.js +28 -24
- package/common/ordering.instance.json +37 -153
- package/common/ordering.js +1 -1
- package/common/people.instance.json +50 -78
- package/common/people.js +1 -1
- package/common/pipboy.instance.json +23431 -1082
- package/common/pipboy.js +31 -4
- package/common/pipboy.test.json +13 -9
- package/common/pokemon.instance.json +41 -141
- package/common/pokemon.js +1 -1
- package/common/pressure.instance.json +93 -33
- package/common/pressure.js +1 -1
- package/common/properties.instance.json +21 -49
- package/common/properties.js +13 -8
- package/common/reports.instance.json +23 -63
- package/common/reports.js +9 -7
- package/common/scorekeeper.instance.json +1 -1
- package/common/scorekeeper.js +9 -7
- package/common/spock.instance.json +1 -1
- package/common/spock.js +1 -1
- package/common/tell.js +4 -2
- package/common/temperature.instance.json +97 -193
- package/common/temperature.js +1 -1
- package/common/time.js +36 -20
- package/common/time.test.json +66 -44
- package/common/tokenize.js +46 -0
- package/common/ui.instance.json +9 -1
- package/common/weight.instance.json +273 -217
- package/common/weight.js +1 -1
- package/main.js +2 -8
- package/package.json +6 -18
- package/common/dimensionTemplate.instance.json +0 -582
- package/common/dimensionTemplate.js +0 -35
- package/common/formulasTemplate.instance.json +0 -483
- package/common/formulasTemplate.js +0 -30
- package/common/formulasTemplate.test.json +0 -2
- package/common/mathTemplate.instance.json +0 -1635
- package/common/mathTemplate.js +0 -32
- package/common/mathTemplate.test.json +0 -1422
- package/common/pipboyTemplate.instance.json +0 -17420
- package/common/pipboyTemplate.js +0 -48
- package/common/pipboyTemplate.test.json +0 -2
- /package/common/{dimensionTemplate.test.json → tokenize.test.json} +0 -0
@@ -1,2 +1,1960 @@
|
|
1
1
|
{
|
2
|
-
|
2
|
+
"configs": [
|
3
|
+
"mathematical modifies operator",
|
4
|
+
"* + / and - are mathematical operators",
|
5
|
+
{
|
6
|
+
"name": "math",
|
7
|
+
"operators": [
|
8
|
+
"([mathematicalExpression])",
|
9
|
+
"([mathematicalOperator])",
|
10
|
+
"(([number|]) [plusOperator] ([number|]))",
|
11
|
+
"(([number|]) [minusOperator] ([number|]))",
|
12
|
+
"(([number|]) [timesOperator] ([number|]))",
|
13
|
+
"(([number|]) [divideByOperator|] ([number|]))",
|
14
|
+
"([plusExpression|])",
|
15
|
+
"([minusExpression|])",
|
16
|
+
"([timesExpression|])",
|
17
|
+
"([divideByExpression|])",
|
18
|
+
{
|
19
|
+
"pattern": "([x])",
|
20
|
+
"development": true
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"pattern": "([y])",
|
24
|
+
"development": true
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"bridges": [
|
28
|
+
{
|
29
|
+
"id": "mathematicalExpression",
|
30
|
+
"isA": [
|
31
|
+
"concept",
|
32
|
+
"number"
|
33
|
+
]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"id": "mathematicalOperator",
|
37
|
+
"before": [
|
38
|
+
"verby"
|
39
|
+
],
|
40
|
+
"after": [
|
41
|
+
"adjective"
|
42
|
+
]
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"id": "x",
|
46
|
+
"isA": [
|
47
|
+
"number"
|
48
|
+
],
|
49
|
+
"level": 0,
|
50
|
+
"bridge": "{ ...next(operator) }",
|
51
|
+
"development": true
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"id": "y",
|
55
|
+
"isA": [
|
56
|
+
"number"
|
57
|
+
],
|
58
|
+
"level": 0,
|
59
|
+
"bridge": "{ ...next(operator) }",
|
60
|
+
"development": true
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
64
|
+
"id": "plusOperator",
|
65
|
+
"level": 0,
|
66
|
+
"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
|
+
"isA": [
|
68
|
+
"mathematicalOperator"
|
69
|
+
],
|
70
|
+
"before": [],
|
71
|
+
"localHierarchy": [
|
72
|
+
[
|
73
|
+
"unknown",
|
74
|
+
"number"
|
75
|
+
]
|
76
|
+
],
|
77
|
+
"words": [
|
78
|
+
"plus",
|
79
|
+
"+"
|
80
|
+
],
|
81
|
+
"generatorp": "({gp, context}) => context.word"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
85
|
+
"id": "plusExpression",
|
86
|
+
"level": 0,
|
87
|
+
"bridge": "{ ...next(operator) }",
|
88
|
+
"isA": [
|
89
|
+
"mathematicalExpression"
|
90
|
+
],
|
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 }"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
96
|
+
"id": "minusOperator",
|
97
|
+
"level": 0,
|
98
|
+
"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
|
+
"isA": [
|
100
|
+
"mathematicalOperator"
|
101
|
+
],
|
102
|
+
"before": [],
|
103
|
+
"localHierarchy": [
|
104
|
+
[
|
105
|
+
"unknown",
|
106
|
+
"number"
|
107
|
+
]
|
108
|
+
],
|
109
|
+
"words": [
|
110
|
+
"minus",
|
111
|
+
"-"
|
112
|
+
],
|
113
|
+
"generatorp": "({gp, context}) => context.word"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
117
|
+
"id": "minusExpression",
|
118
|
+
"level": 0,
|
119
|
+
"bridge": "{ ...next(operator) }",
|
120
|
+
"isA": [
|
121
|
+
"mathematicalExpression"
|
122
|
+
],
|
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 }"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
128
|
+
"id": "timesOperator",
|
129
|
+
"level": 0,
|
130
|
+
"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
|
+
"isA": [
|
132
|
+
"mathematicalOperator"
|
133
|
+
],
|
134
|
+
"before": [
|
135
|
+
[
|
136
|
+
"plusOperator",
|
137
|
+
0
|
138
|
+
],
|
139
|
+
[
|
140
|
+
"minusOperator",
|
141
|
+
0
|
142
|
+
]
|
143
|
+
],
|
144
|
+
"localHierarchy": [
|
145
|
+
[
|
146
|
+
"unknown",
|
147
|
+
"number"
|
148
|
+
]
|
149
|
+
],
|
150
|
+
"words": [
|
151
|
+
"times",
|
152
|
+
"*"
|
153
|
+
],
|
154
|
+
"generatorp": "({gp, context}) => context.word"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
158
|
+
"id": "timesExpression",
|
159
|
+
"level": 0,
|
160
|
+
"bridge": "{ ...next(operator) }",
|
161
|
+
"isA": [
|
162
|
+
"mathematicalExpression"
|
163
|
+
],
|
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 }"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
169
|
+
"id": "divideByOperator",
|
170
|
+
"level": 0,
|
171
|
+
"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
|
+
"isA": [
|
173
|
+
"mathematicalOperator"
|
174
|
+
],
|
175
|
+
"before": [
|
176
|
+
[
|
177
|
+
"plusOperator",
|
178
|
+
0
|
179
|
+
],
|
180
|
+
[
|
181
|
+
"minusOperator",
|
182
|
+
0
|
183
|
+
]
|
184
|
+
],
|
185
|
+
"localHierarchy": [
|
186
|
+
[
|
187
|
+
"unknown",
|
188
|
+
"number"
|
189
|
+
]
|
190
|
+
],
|
191
|
+
"words": [
|
192
|
+
"/"
|
193
|
+
],
|
194
|
+
"generatorp": "({gp, context}) => context.word"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
198
|
+
"id": "divideByExpression",
|
199
|
+
"level": 0,
|
200
|
+
"bridge": "{ ...next(operator) }",
|
201
|
+
"isA": [
|
202
|
+
"mathematicalExpression"
|
203
|
+
],
|
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 }"
|
206
|
+
}
|
207
|
+
]
|
208
|
+
}
|
209
|
+
],
|
210
|
+
"resultss": [
|
211
|
+
{
|
212
|
+
"hierarchy": [
|
213
|
+
[
|
214
|
+
"a",
|
215
|
+
"articlePOS"
|
216
|
+
],
|
217
|
+
[
|
218
|
+
"all",
|
219
|
+
"quantifier"
|
220
|
+
],
|
221
|
+
[
|
222
|
+
"articlePOS",
|
223
|
+
"articlePOS"
|
224
|
+
],
|
225
|
+
[
|
226
|
+
"between",
|
227
|
+
"preposition"
|
228
|
+
],
|
229
|
+
[
|
230
|
+
"canBeDoQuestion",
|
231
|
+
"canBeDoQuestion"
|
232
|
+
],
|
233
|
+
[
|
234
|
+
"canBeQuestion",
|
235
|
+
"canBeQuestion"
|
236
|
+
],
|
237
|
+
[
|
238
|
+
"concept",
|
239
|
+
"queryable"
|
240
|
+
],
|
241
|
+
[
|
242
|
+
"concept",
|
243
|
+
"theAble"
|
244
|
+
],
|
245
|
+
[
|
246
|
+
"condition",
|
247
|
+
"condition"
|
248
|
+
],
|
249
|
+
[
|
250
|
+
"countable",
|
251
|
+
"hierarchyAble"
|
252
|
+
],
|
253
|
+
[
|
254
|
+
"hasCountOfPieces",
|
255
|
+
"countable"
|
256
|
+
],
|
257
|
+
[
|
258
|
+
"have",
|
259
|
+
"canBeDoQuestion"
|
260
|
+
],
|
261
|
+
[
|
262
|
+
"have",
|
263
|
+
"canBeQuestion"
|
264
|
+
],
|
265
|
+
[
|
266
|
+
"hierarchyAble",
|
267
|
+
"queryable"
|
268
|
+
],
|
269
|
+
[
|
270
|
+
"highest",
|
271
|
+
"condition"
|
272
|
+
],
|
273
|
+
[
|
274
|
+
"ifAble",
|
275
|
+
"ifAble"
|
276
|
+
],
|
277
|
+
[
|
278
|
+
"is",
|
279
|
+
"canBeQuestion"
|
280
|
+
],
|
281
|
+
[
|
282
|
+
"is",
|
283
|
+
"verby"
|
284
|
+
],
|
285
|
+
[
|
286
|
+
"it",
|
287
|
+
"pronoun"
|
288
|
+
],
|
289
|
+
[
|
290
|
+
"it",
|
291
|
+
"queryable"
|
292
|
+
],
|
293
|
+
[
|
294
|
+
"it",
|
295
|
+
"thisitthat"
|
296
|
+
],
|
297
|
+
[
|
298
|
+
"it",
|
299
|
+
"toAble"
|
300
|
+
],
|
301
|
+
[
|
302
|
+
"lowest",
|
303
|
+
"condition"
|
304
|
+
],
|
305
|
+
[
|
306
|
+
"modifies",
|
307
|
+
"verby"
|
308
|
+
],
|
309
|
+
[
|
310
|
+
"notAble",
|
311
|
+
"notAble"
|
312
|
+
],
|
313
|
+
[
|
314
|
+
"noun",
|
315
|
+
"theAble"
|
316
|
+
],
|
317
|
+
[
|
318
|
+
"number",
|
319
|
+
"quantifier"
|
320
|
+
],
|
321
|
+
[
|
322
|
+
"number",
|
323
|
+
"queryable"
|
324
|
+
],
|
325
|
+
[
|
326
|
+
"object",
|
327
|
+
"queryable"
|
328
|
+
],
|
329
|
+
[
|
330
|
+
"object",
|
331
|
+
"theAble"
|
332
|
+
],
|
333
|
+
[
|
334
|
+
"orAble",
|
335
|
+
"ifAble"
|
336
|
+
],
|
337
|
+
[
|
338
|
+
"preposition",
|
339
|
+
"preposition"
|
340
|
+
],
|
341
|
+
[
|
342
|
+
"pronoun",
|
343
|
+
"pronoun"
|
344
|
+
],
|
345
|
+
[
|
346
|
+
"property",
|
347
|
+
"queryable"
|
348
|
+
],
|
349
|
+
[
|
350
|
+
"property",
|
351
|
+
"theAble"
|
352
|
+
],
|
353
|
+
[
|
354
|
+
"property",
|
355
|
+
"unknown"
|
356
|
+
],
|
357
|
+
[
|
358
|
+
"punctuation",
|
359
|
+
"punctuation"
|
360
|
+
],
|
361
|
+
[
|
362
|
+
"quantifier",
|
363
|
+
"quantifier"
|
364
|
+
],
|
365
|
+
[
|
366
|
+
"queryable",
|
367
|
+
"queryable"
|
368
|
+
],
|
369
|
+
[
|
370
|
+
"questionMark",
|
371
|
+
"punctuation"
|
372
|
+
],
|
373
|
+
[
|
374
|
+
"readonly",
|
375
|
+
"queryable"
|
376
|
+
],
|
377
|
+
[
|
378
|
+
"reason",
|
379
|
+
"queryable"
|
380
|
+
],
|
381
|
+
[
|
382
|
+
"reason",
|
383
|
+
"theAble"
|
384
|
+
],
|
385
|
+
[
|
386
|
+
"that",
|
387
|
+
"thisitthat"
|
388
|
+
],
|
389
|
+
[
|
390
|
+
"the",
|
391
|
+
"articlePOS"
|
392
|
+
],
|
393
|
+
[
|
394
|
+
"theAble",
|
395
|
+
"theAble"
|
396
|
+
],
|
397
|
+
[
|
398
|
+
"this",
|
399
|
+
"pronoun"
|
400
|
+
],
|
401
|
+
[
|
402
|
+
"this",
|
403
|
+
"queryable"
|
404
|
+
],
|
405
|
+
[
|
406
|
+
"this",
|
407
|
+
"thisitthat"
|
408
|
+
],
|
409
|
+
[
|
410
|
+
"thisitthat",
|
411
|
+
"queryable"
|
412
|
+
],
|
413
|
+
[
|
414
|
+
"to",
|
415
|
+
"preposition"
|
416
|
+
],
|
417
|
+
[
|
418
|
+
"toAble",
|
419
|
+
"toAble"
|
420
|
+
],
|
421
|
+
[
|
422
|
+
"type",
|
423
|
+
"property"
|
424
|
+
],
|
425
|
+
[
|
426
|
+
"type",
|
427
|
+
"whatAble"
|
428
|
+
],
|
429
|
+
[
|
430
|
+
"unknown",
|
431
|
+
"hierarchyAble"
|
432
|
+
],
|
433
|
+
[
|
434
|
+
"unknown",
|
435
|
+
"notAble"
|
436
|
+
],
|
437
|
+
[
|
438
|
+
"unknown",
|
439
|
+
"object"
|
440
|
+
],
|
441
|
+
[
|
442
|
+
"unknown",
|
443
|
+
"queryable"
|
444
|
+
],
|
445
|
+
[
|
446
|
+
"unknown",
|
447
|
+
"theAble"
|
448
|
+
],
|
449
|
+
[
|
450
|
+
"verby",
|
451
|
+
"verby"
|
452
|
+
],
|
453
|
+
[
|
454
|
+
"what",
|
455
|
+
"object"
|
456
|
+
],
|
457
|
+
[
|
458
|
+
"what",
|
459
|
+
"queryable"
|
460
|
+
],
|
461
|
+
[
|
462
|
+
"whatAble",
|
463
|
+
"queryable"
|
464
|
+
],
|
465
|
+
[
|
466
|
+
"whose",
|
467
|
+
"object"
|
468
|
+
],
|
469
|
+
[
|
470
|
+
"xfx",
|
471
|
+
"queryable"
|
472
|
+
]
|
473
|
+
],
|
474
|
+
"metadata": {
|
475
|
+
"opChoices": [
|
476
|
+
{
|
477
|
+
"op": [
|
478
|
+
"unknown",
|
479
|
+
0
|
480
|
+
],
|
481
|
+
"ops": [
|
482
|
+
[
|
483
|
+
"unknown",
|
484
|
+
0
|
485
|
+
],
|
486
|
+
[
|
487
|
+
"modifies",
|
488
|
+
0
|
489
|
+
],
|
490
|
+
[
|
491
|
+
"unknown",
|
492
|
+
0
|
493
|
+
]
|
494
|
+
],
|
495
|
+
"counter": 1
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"op": [
|
499
|
+
"unknown",
|
500
|
+
0
|
501
|
+
],
|
502
|
+
"ops": [
|
503
|
+
[
|
504
|
+
"modifies",
|
505
|
+
0
|
506
|
+
],
|
507
|
+
[
|
508
|
+
"unknown",
|
509
|
+
0
|
510
|
+
]
|
511
|
+
],
|
512
|
+
"counter": 2
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"op": [
|
516
|
+
"modifies",
|
517
|
+
0
|
518
|
+
],
|
519
|
+
"ops": [
|
520
|
+
[
|
521
|
+
"modifies",
|
522
|
+
0
|
523
|
+
]
|
524
|
+
],
|
525
|
+
"counter": 3
|
526
|
+
}
|
527
|
+
]
|
528
|
+
},
|
529
|
+
"trace": "undefined",
|
530
|
+
"contexts": [
|
531
|
+
{
|
532
|
+
"word": "modifies",
|
533
|
+
"number": "one",
|
534
|
+
"flatten": false,
|
535
|
+
"text": "mathematical modifies operator",
|
536
|
+
"marker": "modifies",
|
537
|
+
"range": {
|
538
|
+
"start": 0,
|
539
|
+
"end": 29
|
540
|
+
},
|
541
|
+
"dead": true,
|
542
|
+
"modifiers": [
|
543
|
+
{
|
544
|
+
"value": "mathematical",
|
545
|
+
"unknown": true,
|
546
|
+
"text": "mathematical",
|
547
|
+
"marker": "unknown",
|
548
|
+
"word": "mathematical",
|
549
|
+
"range": {
|
550
|
+
"start": 0,
|
551
|
+
"end": 11
|
552
|
+
},
|
553
|
+
"dead": true,
|
554
|
+
"level": 1
|
555
|
+
}
|
556
|
+
],
|
557
|
+
"concept": {
|
558
|
+
"value": "operator",
|
559
|
+
"unknown": true,
|
560
|
+
"text": "operator",
|
561
|
+
"marker": "unknown",
|
562
|
+
"word": "operator",
|
563
|
+
"range": {
|
564
|
+
"start": 22,
|
565
|
+
"end": 29
|
566
|
+
},
|
567
|
+
"dead": true,
|
568
|
+
"level": 1
|
569
|
+
},
|
570
|
+
"level": 1,
|
571
|
+
"topLevel": true,
|
572
|
+
"touchedBy": [
|
573
|
+
"math#call2"
|
574
|
+
]
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"generated": [
|
578
|
+
""
|
579
|
+
],
|
580
|
+
"paraphrases": [
|
581
|
+
"mathematical modifies operator"
|
582
|
+
],
|
583
|
+
"paraphrasesParenthesized": [],
|
584
|
+
"generatedParenthesized": [],
|
585
|
+
"responses": [
|
586
|
+
""
|
587
|
+
],
|
588
|
+
"associations": [
|
589
|
+
[
|
590
|
+
[
|
591
|
+
"modifies",
|
592
|
+
0
|
593
|
+
],
|
594
|
+
[
|
595
|
+
"unknown",
|
596
|
+
0
|
597
|
+
]
|
598
|
+
],
|
599
|
+
[
|
600
|
+
[
|
601
|
+
"modifies",
|
602
|
+
0
|
603
|
+
],
|
604
|
+
[
|
605
|
+
"unknown",
|
606
|
+
0
|
607
|
+
],
|
608
|
+
[
|
609
|
+
"unknown",
|
610
|
+
1
|
611
|
+
]
|
612
|
+
],
|
613
|
+
[
|
614
|
+
[
|
615
|
+
"modifies",
|
616
|
+
0
|
617
|
+
],
|
618
|
+
[
|
619
|
+
"unknown",
|
620
|
+
1
|
621
|
+
]
|
622
|
+
]
|
623
|
+
],
|
624
|
+
"learned_contextual_priorities": [],
|
625
|
+
"query": "mathematical modifies operator",
|
626
|
+
"key": {
|
627
|
+
"query": "mathematical modifies operator"
|
628
|
+
}
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"hierarchy": [
|
632
|
+
[
|
633
|
+
"a",
|
634
|
+
"articlePOS"
|
635
|
+
],
|
636
|
+
[
|
637
|
+
"adjective",
|
638
|
+
"adjective"
|
639
|
+
],
|
640
|
+
[
|
641
|
+
"all",
|
642
|
+
"quantifier"
|
643
|
+
],
|
644
|
+
[
|
645
|
+
"articlePOS",
|
646
|
+
"articlePOS"
|
647
|
+
],
|
648
|
+
[
|
649
|
+
"between",
|
650
|
+
"preposition"
|
651
|
+
],
|
652
|
+
[
|
653
|
+
"canBeDoQuestion",
|
654
|
+
"canBeDoQuestion"
|
655
|
+
],
|
656
|
+
[
|
657
|
+
"canBeQuestion",
|
658
|
+
"canBeQuestion"
|
659
|
+
],
|
660
|
+
[
|
661
|
+
"concept",
|
662
|
+
"queryable"
|
663
|
+
],
|
664
|
+
[
|
665
|
+
"concept",
|
666
|
+
"theAble"
|
667
|
+
],
|
668
|
+
[
|
669
|
+
"condition",
|
670
|
+
"condition"
|
671
|
+
],
|
672
|
+
[
|
673
|
+
"countable",
|
674
|
+
"hierarchyAble"
|
675
|
+
],
|
676
|
+
[
|
677
|
+
"hasCountOfPieces",
|
678
|
+
"countable"
|
679
|
+
],
|
680
|
+
[
|
681
|
+
"have",
|
682
|
+
"canBeDoQuestion"
|
683
|
+
],
|
684
|
+
[
|
685
|
+
"have",
|
686
|
+
"canBeQuestion"
|
687
|
+
],
|
688
|
+
[
|
689
|
+
"hierarchyAble",
|
690
|
+
"queryable"
|
691
|
+
],
|
692
|
+
[
|
693
|
+
"highest",
|
694
|
+
"condition"
|
695
|
+
],
|
696
|
+
[
|
697
|
+
"ifAble",
|
698
|
+
"ifAble"
|
699
|
+
],
|
700
|
+
[
|
701
|
+
"is",
|
702
|
+
"canBeQuestion"
|
703
|
+
],
|
704
|
+
[
|
705
|
+
"is",
|
706
|
+
"verby"
|
707
|
+
],
|
708
|
+
[
|
709
|
+
"isEdee",
|
710
|
+
"isEdee"
|
711
|
+
],
|
712
|
+
[
|
713
|
+
"isEder",
|
714
|
+
"isEder"
|
715
|
+
],
|
716
|
+
[
|
717
|
+
"it",
|
718
|
+
"pronoun"
|
719
|
+
],
|
720
|
+
[
|
721
|
+
"it",
|
722
|
+
"queryable"
|
723
|
+
],
|
724
|
+
[
|
725
|
+
"it",
|
726
|
+
"thisitthat"
|
727
|
+
],
|
728
|
+
[
|
729
|
+
"it",
|
730
|
+
"toAble"
|
731
|
+
],
|
732
|
+
[
|
733
|
+
"lowest",
|
734
|
+
"condition"
|
735
|
+
],
|
736
|
+
[
|
737
|
+
"mathematical",
|
738
|
+
"hierarchyAble"
|
739
|
+
],
|
740
|
+
[
|
741
|
+
"mathematical",
|
742
|
+
"isEdee"
|
743
|
+
],
|
744
|
+
[
|
745
|
+
"mathematical",
|
746
|
+
"isEder"
|
747
|
+
],
|
748
|
+
[
|
749
|
+
"mathematical",
|
750
|
+
"object"
|
751
|
+
],
|
752
|
+
[
|
753
|
+
"mathematical",
|
754
|
+
"operator_modifier"
|
755
|
+
],
|
756
|
+
[
|
757
|
+
"mathematical",
|
758
|
+
"property"
|
759
|
+
],
|
760
|
+
[
|
761
|
+
"mathematical",
|
762
|
+
"queryable"
|
763
|
+
],
|
764
|
+
[
|
765
|
+
"mathematical",
|
766
|
+
"theAble"
|
767
|
+
],
|
768
|
+
[
|
769
|
+
"mathematical_operator",
|
770
|
+
"adjective"
|
771
|
+
],
|
772
|
+
[
|
773
|
+
"mathematical_operator",
|
774
|
+
"concept"
|
775
|
+
],
|
776
|
+
[
|
777
|
+
"mathematical_operator",
|
778
|
+
"hierarchyAble"
|
779
|
+
],
|
780
|
+
[
|
781
|
+
"mathematical_operator",
|
782
|
+
"isEdee"
|
783
|
+
],
|
784
|
+
[
|
785
|
+
"mathematical_operator",
|
786
|
+
"isEder"
|
787
|
+
],
|
788
|
+
[
|
789
|
+
"mathematical_operator",
|
790
|
+
"object"
|
791
|
+
],
|
792
|
+
[
|
793
|
+
"mathematical_operator",
|
794
|
+
"operator"
|
795
|
+
],
|
796
|
+
[
|
797
|
+
"mathematical_operator",
|
798
|
+
"property"
|
799
|
+
],
|
800
|
+
[
|
801
|
+
"mathematical_operator",
|
802
|
+
"queryable"
|
803
|
+
],
|
804
|
+
[
|
805
|
+
"mathematical_operator",
|
806
|
+
"theAble"
|
807
|
+
],
|
808
|
+
[
|
809
|
+
"modifies",
|
810
|
+
"verby"
|
811
|
+
],
|
812
|
+
[
|
813
|
+
"notAble",
|
814
|
+
"notAble"
|
815
|
+
],
|
816
|
+
[
|
817
|
+
"noun",
|
818
|
+
"theAble"
|
819
|
+
],
|
820
|
+
[
|
821
|
+
"number",
|
822
|
+
"quantifier"
|
823
|
+
],
|
824
|
+
[
|
825
|
+
"number",
|
826
|
+
"queryable"
|
827
|
+
],
|
828
|
+
[
|
829
|
+
"object",
|
830
|
+
"queryable"
|
831
|
+
],
|
832
|
+
[
|
833
|
+
"object",
|
834
|
+
"theAble"
|
835
|
+
],
|
836
|
+
[
|
837
|
+
"operator",
|
838
|
+
"concept"
|
839
|
+
],
|
840
|
+
[
|
841
|
+
"operator",
|
842
|
+
"hierarchyAble"
|
843
|
+
],
|
844
|
+
[
|
845
|
+
"operator",
|
846
|
+
"isEdee"
|
847
|
+
],
|
848
|
+
[
|
849
|
+
"operator",
|
850
|
+
"isEder"
|
851
|
+
],
|
852
|
+
[
|
853
|
+
"operator",
|
854
|
+
"object"
|
855
|
+
],
|
856
|
+
[
|
857
|
+
"operator",
|
858
|
+
"property"
|
859
|
+
],
|
860
|
+
[
|
861
|
+
"operator",
|
862
|
+
"queryable"
|
863
|
+
],
|
864
|
+
[
|
865
|
+
"operator",
|
866
|
+
"theAble"
|
867
|
+
],
|
868
|
+
[
|
869
|
+
"operator_modifier",
|
870
|
+
"operator_modifier"
|
871
|
+
],
|
872
|
+
[
|
873
|
+
"orAble",
|
874
|
+
"ifAble"
|
875
|
+
],
|
876
|
+
[
|
877
|
+
"preposition",
|
878
|
+
"preposition"
|
879
|
+
],
|
880
|
+
[
|
881
|
+
"pronoun",
|
882
|
+
"pronoun"
|
883
|
+
],
|
884
|
+
[
|
885
|
+
"property",
|
886
|
+
"queryable"
|
887
|
+
],
|
888
|
+
[
|
889
|
+
"property",
|
890
|
+
"theAble"
|
891
|
+
],
|
892
|
+
[
|
893
|
+
"property",
|
894
|
+
"unknown"
|
895
|
+
],
|
896
|
+
[
|
897
|
+
"punctuation",
|
898
|
+
"punctuation"
|
899
|
+
],
|
900
|
+
[
|
901
|
+
"quantifier",
|
902
|
+
"quantifier"
|
903
|
+
],
|
904
|
+
[
|
905
|
+
"queryable",
|
906
|
+
"queryable"
|
907
|
+
],
|
908
|
+
[
|
909
|
+
"questionMark",
|
910
|
+
"punctuation"
|
911
|
+
],
|
912
|
+
[
|
913
|
+
"readonly",
|
914
|
+
"queryable"
|
915
|
+
],
|
916
|
+
[
|
917
|
+
"reason",
|
918
|
+
"queryable"
|
919
|
+
],
|
920
|
+
[
|
921
|
+
"reason",
|
922
|
+
"theAble"
|
923
|
+
],
|
924
|
+
[
|
925
|
+
"that",
|
926
|
+
"thisitthat"
|
927
|
+
],
|
928
|
+
[
|
929
|
+
"the",
|
930
|
+
"articlePOS"
|
931
|
+
],
|
932
|
+
[
|
933
|
+
"theAble",
|
934
|
+
"theAble"
|
935
|
+
],
|
936
|
+
[
|
937
|
+
"this",
|
938
|
+
"pronoun"
|
939
|
+
],
|
940
|
+
[
|
941
|
+
"this",
|
942
|
+
"queryable"
|
943
|
+
],
|
944
|
+
[
|
945
|
+
"this",
|
946
|
+
"thisitthat"
|
947
|
+
],
|
948
|
+
[
|
949
|
+
"thisitthat",
|
950
|
+
"queryable"
|
951
|
+
],
|
952
|
+
[
|
953
|
+
"to",
|
954
|
+
"preposition"
|
955
|
+
],
|
956
|
+
[
|
957
|
+
"toAble",
|
958
|
+
"toAble"
|
959
|
+
],
|
960
|
+
[
|
961
|
+
"type",
|
962
|
+
"property"
|
963
|
+
],
|
964
|
+
[
|
965
|
+
"type",
|
966
|
+
"whatAble"
|
967
|
+
],
|
968
|
+
[
|
969
|
+
"unknown",
|
970
|
+
"hierarchyAble"
|
971
|
+
],
|
972
|
+
[
|
973
|
+
"unknown",
|
974
|
+
"notAble"
|
975
|
+
],
|
976
|
+
[
|
977
|
+
"unknown",
|
978
|
+
"object"
|
979
|
+
],
|
980
|
+
[
|
981
|
+
"unknown",
|
982
|
+
"queryable"
|
983
|
+
],
|
984
|
+
[
|
985
|
+
"unknown",
|
986
|
+
"theAble"
|
987
|
+
],
|
988
|
+
[
|
989
|
+
"verby",
|
990
|
+
"verby"
|
991
|
+
],
|
992
|
+
[
|
993
|
+
"what",
|
994
|
+
"object"
|
995
|
+
],
|
996
|
+
[
|
997
|
+
"what",
|
998
|
+
"queryable"
|
999
|
+
],
|
1000
|
+
[
|
1001
|
+
"whatAble",
|
1002
|
+
"queryable"
|
1003
|
+
],
|
1004
|
+
[
|
1005
|
+
"whose",
|
1006
|
+
"object"
|
1007
|
+
],
|
1008
|
+
[
|
1009
|
+
"xfx",
|
1010
|
+
"queryable"
|
1011
|
+
]
|
1012
|
+
],
|
1013
|
+
"metadata": {
|
1014
|
+
"opChoices": [
|
1015
|
+
{
|
1016
|
+
"op": [
|
1017
|
+
"unknown",
|
1018
|
+
0
|
1019
|
+
],
|
1020
|
+
"ops": [
|
1021
|
+
[
|
1022
|
+
"unknown",
|
1023
|
+
0
|
1024
|
+
],
|
1025
|
+
[
|
1026
|
+
"unknown",
|
1027
|
+
0
|
1028
|
+
],
|
1029
|
+
[
|
1030
|
+
"unknown",
|
1031
|
+
0
|
1032
|
+
],
|
1033
|
+
[
|
1034
|
+
"unknown",
|
1035
|
+
0
|
1036
|
+
],
|
1037
|
+
[
|
1038
|
+
"is",
|
1039
|
+
0
|
1040
|
+
],
|
1041
|
+
[
|
1042
|
+
"mathematical",
|
1043
|
+
0
|
1044
|
+
],
|
1045
|
+
[
|
1046
|
+
"operator",
|
1047
|
+
0
|
1048
|
+
],
|
1049
|
+
[
|
1050
|
+
"mathematical_operator",
|
1051
|
+
0
|
1052
|
+
],
|
1053
|
+
[
|
1054
|
+
"list",
|
1055
|
+
0
|
1056
|
+
]
|
1057
|
+
],
|
1058
|
+
"counter": 1
|
1059
|
+
},
|
1060
|
+
{
|
1061
|
+
"op": [
|
1062
|
+
"unknown",
|
1063
|
+
0
|
1064
|
+
],
|
1065
|
+
"ops": [
|
1066
|
+
[
|
1067
|
+
"unknown",
|
1068
|
+
0
|
1069
|
+
],
|
1070
|
+
[
|
1071
|
+
"unknown",
|
1072
|
+
0
|
1073
|
+
],
|
1074
|
+
[
|
1075
|
+
"unknown",
|
1076
|
+
0
|
1077
|
+
],
|
1078
|
+
[
|
1079
|
+
"is",
|
1080
|
+
0
|
1081
|
+
],
|
1082
|
+
[
|
1083
|
+
"mathematical",
|
1084
|
+
0
|
1085
|
+
],
|
1086
|
+
[
|
1087
|
+
"operator",
|
1088
|
+
0
|
1089
|
+
],
|
1090
|
+
[
|
1091
|
+
"mathematical_operator",
|
1092
|
+
0
|
1093
|
+
],
|
1094
|
+
[
|
1095
|
+
"list",
|
1096
|
+
0
|
1097
|
+
]
|
1098
|
+
],
|
1099
|
+
"counter": 2
|
1100
|
+
},
|
1101
|
+
{
|
1102
|
+
"op": [
|
1103
|
+
"unknown",
|
1104
|
+
0
|
1105
|
+
],
|
1106
|
+
"ops": [
|
1107
|
+
[
|
1108
|
+
"unknown",
|
1109
|
+
0
|
1110
|
+
],
|
1111
|
+
[
|
1112
|
+
"unknown",
|
1113
|
+
0
|
1114
|
+
],
|
1115
|
+
[
|
1116
|
+
"is",
|
1117
|
+
0
|
1118
|
+
],
|
1119
|
+
[
|
1120
|
+
"mathematical",
|
1121
|
+
0
|
1122
|
+
],
|
1123
|
+
[
|
1124
|
+
"operator",
|
1125
|
+
0
|
1126
|
+
],
|
1127
|
+
[
|
1128
|
+
"mathematical_operator",
|
1129
|
+
0
|
1130
|
+
],
|
1131
|
+
[
|
1132
|
+
"list",
|
1133
|
+
0
|
1134
|
+
]
|
1135
|
+
],
|
1136
|
+
"counter": 3
|
1137
|
+
},
|
1138
|
+
{
|
1139
|
+
"op": [
|
1140
|
+
"unknown",
|
1141
|
+
0
|
1142
|
+
],
|
1143
|
+
"ops": [
|
1144
|
+
[
|
1145
|
+
"unknown",
|
1146
|
+
0
|
1147
|
+
],
|
1148
|
+
[
|
1149
|
+
"is",
|
1150
|
+
0
|
1151
|
+
],
|
1152
|
+
[
|
1153
|
+
"mathematical",
|
1154
|
+
0
|
1155
|
+
],
|
1156
|
+
[
|
1157
|
+
"operator",
|
1158
|
+
0
|
1159
|
+
],
|
1160
|
+
[
|
1161
|
+
"mathematical_operator",
|
1162
|
+
0
|
1163
|
+
],
|
1164
|
+
[
|
1165
|
+
"list",
|
1166
|
+
0
|
1167
|
+
]
|
1168
|
+
],
|
1169
|
+
"counter": 4
|
1170
|
+
},
|
1171
|
+
{
|
1172
|
+
"op": [
|
1173
|
+
"list",
|
1174
|
+
0
|
1175
|
+
],
|
1176
|
+
"ops": [
|
1177
|
+
[
|
1178
|
+
"is",
|
1179
|
+
0
|
1180
|
+
],
|
1181
|
+
[
|
1182
|
+
"mathematical",
|
1183
|
+
0
|
1184
|
+
],
|
1185
|
+
[
|
1186
|
+
"operator",
|
1187
|
+
0
|
1188
|
+
],
|
1189
|
+
[
|
1190
|
+
"mathematical_operator",
|
1191
|
+
0
|
1192
|
+
],
|
1193
|
+
[
|
1194
|
+
"list",
|
1195
|
+
0
|
1196
|
+
]
|
1197
|
+
],
|
1198
|
+
"counter": 5
|
1199
|
+
},
|
1200
|
+
{
|
1201
|
+
"op": [
|
1202
|
+
"list",
|
1203
|
+
1
|
1204
|
+
],
|
1205
|
+
"ops": [
|
1206
|
+
[
|
1207
|
+
"list",
|
1208
|
+
1
|
1209
|
+
],
|
1210
|
+
[
|
1211
|
+
"is",
|
1212
|
+
0
|
1213
|
+
],
|
1214
|
+
[
|
1215
|
+
"mathematical",
|
1216
|
+
0
|
1217
|
+
],
|
1218
|
+
[
|
1219
|
+
"operator",
|
1220
|
+
0
|
1221
|
+
],
|
1222
|
+
[
|
1223
|
+
"mathematical_operator",
|
1224
|
+
0
|
1225
|
+
],
|
1226
|
+
[
|
1227
|
+
"list",
|
1228
|
+
1
|
1229
|
+
]
|
1230
|
+
],
|
1231
|
+
"counter": 6
|
1232
|
+
},
|
1233
|
+
{
|
1234
|
+
"op": [
|
1235
|
+
"list",
|
1236
|
+
1
|
1237
|
+
],
|
1238
|
+
"ops": [
|
1239
|
+
[
|
1240
|
+
"is",
|
1241
|
+
0
|
1242
|
+
],
|
1243
|
+
[
|
1244
|
+
"mathematical",
|
1245
|
+
0
|
1246
|
+
],
|
1247
|
+
[
|
1248
|
+
"operator",
|
1249
|
+
0
|
1250
|
+
],
|
1251
|
+
[
|
1252
|
+
"mathematical_operator",
|
1253
|
+
0
|
1254
|
+
],
|
1255
|
+
[
|
1256
|
+
"list",
|
1257
|
+
1
|
1258
|
+
]
|
1259
|
+
],
|
1260
|
+
"counter": 7
|
1261
|
+
},
|
1262
|
+
{
|
1263
|
+
"op": [
|
1264
|
+
"list",
|
1265
|
+
1
|
1266
|
+
],
|
1267
|
+
"ops": [
|
1268
|
+
[
|
1269
|
+
"is",
|
1270
|
+
0
|
1271
|
+
],
|
1272
|
+
[
|
1273
|
+
"mathematical",
|
1274
|
+
0
|
1275
|
+
],
|
1276
|
+
[
|
1277
|
+
"operator",
|
1278
|
+
0
|
1279
|
+
],
|
1280
|
+
[
|
1281
|
+
"mathematical_operator",
|
1282
|
+
0
|
1283
|
+
],
|
1284
|
+
[
|
1285
|
+
"list",
|
1286
|
+
1
|
1287
|
+
]
|
1288
|
+
],
|
1289
|
+
"counter": 8
|
1290
|
+
},
|
1291
|
+
{
|
1292
|
+
"op": [
|
1293
|
+
"mathematical_operator",
|
1294
|
+
0
|
1295
|
+
],
|
1296
|
+
"ops": [
|
1297
|
+
[
|
1298
|
+
"is",
|
1299
|
+
0
|
1300
|
+
],
|
1301
|
+
[
|
1302
|
+
"mathematical",
|
1303
|
+
0
|
1304
|
+
],
|
1305
|
+
[
|
1306
|
+
"operator",
|
1307
|
+
0
|
1308
|
+
],
|
1309
|
+
[
|
1310
|
+
"mathematical_operator",
|
1311
|
+
0
|
1312
|
+
]
|
1313
|
+
],
|
1314
|
+
"counter": 9
|
1315
|
+
},
|
1316
|
+
{
|
1317
|
+
"op": [
|
1318
|
+
"is",
|
1319
|
+
0
|
1320
|
+
],
|
1321
|
+
"ops": [
|
1322
|
+
[
|
1323
|
+
"is",
|
1324
|
+
0
|
1325
|
+
]
|
1326
|
+
],
|
1327
|
+
"counter": 10
|
1328
|
+
},
|
1329
|
+
{
|
1330
|
+
"op": [
|
1331
|
+
"is",
|
1332
|
+
1
|
1333
|
+
],
|
1334
|
+
"ops": [
|
1335
|
+
[
|
1336
|
+
"is",
|
1337
|
+
1
|
1338
|
+
]
|
1339
|
+
],
|
1340
|
+
"counter": 11
|
1341
|
+
}
|
1342
|
+
]
|
1343
|
+
},
|
1344
|
+
"trace": "undefined",
|
1345
|
+
"contexts": [
|
1346
|
+
{
|
1347
|
+
"number": "many",
|
1348
|
+
"text": "* + / and - are mathematical operators",
|
1349
|
+
"marker": "is",
|
1350
|
+
"word": "are",
|
1351
|
+
"range": {
|
1352
|
+
"start": 0,
|
1353
|
+
"end": 37
|
1354
|
+
},
|
1355
|
+
"one": {
|
1356
|
+
"number": "many",
|
1357
|
+
"marker": "list",
|
1358
|
+
"listable": true,
|
1359
|
+
"value": [
|
1360
|
+
{
|
1361
|
+
"marker": "unknown",
|
1362
|
+
"value": "*",
|
1363
|
+
"word": "*",
|
1364
|
+
"text": "*",
|
1365
|
+
"range": {
|
1366
|
+
"start": 0,
|
1367
|
+
"end": 0
|
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": 2,
|
1380
|
+
"end": 2
|
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": 4,
|
1393
|
+
"end": 4
|
1394
|
+
},
|
1395
|
+
"unknown": true,
|
1396
|
+
"dead": true,
|
1397
|
+
"level": 2
|
1398
|
+
},
|
1399
|
+
{
|
1400
|
+
"marker": "unknown",
|
1401
|
+
"value": "-",
|
1402
|
+
"word": "-",
|
1403
|
+
"text": "-",
|
1404
|
+
"range": {
|
1405
|
+
"start": 10,
|
1406
|
+
"end": 10
|
1407
|
+
},
|
1408
|
+
"unknown": true,
|
1409
|
+
"dead": true,
|
1410
|
+
"level": 2
|
1411
|
+
}
|
1412
|
+
],
|
1413
|
+
"range": {
|
1414
|
+
"start": 0,
|
1415
|
+
"end": 37
|
1416
|
+
},
|
1417
|
+
"types": [
|
1418
|
+
"list",
|
1419
|
+
"unknown"
|
1420
|
+
],
|
1421
|
+
"text": "* +",
|
1422
|
+
"level": 1
|
1423
|
+
},
|
1424
|
+
"two": {
|
1425
|
+
"value": "mathematical_operator",
|
1426
|
+
"number": "many",
|
1427
|
+
"text": "mathematical operators",
|
1428
|
+
"marker": "mathematical_operator",
|
1429
|
+
"word": "operators",
|
1430
|
+
"range": {
|
1431
|
+
"start": 16,
|
1432
|
+
"end": 37
|
1433
|
+
},
|
1434
|
+
"types": [
|
1435
|
+
"mathematical_operator",
|
1436
|
+
"operator"
|
1437
|
+
],
|
1438
|
+
"modifier_mathematical": {
|
1439
|
+
"value": "mathematical",
|
1440
|
+
"text": "mathematical",
|
1441
|
+
"marker": "mathematical",
|
1442
|
+
"word": "mathematical",
|
1443
|
+
"range": {
|
1444
|
+
"start": 16,
|
1445
|
+
"end": 27
|
1446
|
+
},
|
1447
|
+
"types": [
|
1448
|
+
"mathematical"
|
1449
|
+
],
|
1450
|
+
"level": 0
|
1451
|
+
},
|
1452
|
+
"atomic": true,
|
1453
|
+
"dead": true,
|
1454
|
+
"modifiers": [
|
1455
|
+
"modifier_mathematical"
|
1456
|
+
],
|
1457
|
+
"level": 1,
|
1458
|
+
"concept": true
|
1459
|
+
},
|
1460
|
+
"dead": true,
|
1461
|
+
"level": 2,
|
1462
|
+
"topLevel": true,
|
1463
|
+
"touchedBy": [
|
1464
|
+
"math#call2"
|
1465
|
+
]
|
1466
|
+
}
|
1467
|
+
],
|
1468
|
+
"generated": [
|
1469
|
+
""
|
1470
|
+
],
|
1471
|
+
"paraphrases": [
|
1472
|
+
"*, +, / and - are mathematical operators"
|
1473
|
+
],
|
1474
|
+
"paraphrasesParenthesized": [],
|
1475
|
+
"generatedParenthesized": [],
|
1476
|
+
"responses": [
|
1477
|
+
""
|
1478
|
+
],
|
1479
|
+
"associations": [
|
1480
|
+
[
|
1481
|
+
[
|
1482
|
+
"is",
|
1483
|
+
0
|
1484
|
+
],
|
1485
|
+
[
|
1486
|
+
"list",
|
1487
|
+
0
|
1488
|
+
],
|
1489
|
+
[
|
1490
|
+
"mathematical",
|
1491
|
+
0
|
1492
|
+
],
|
1493
|
+
[
|
1494
|
+
"operator",
|
1495
|
+
0
|
1496
|
+
],
|
1497
|
+
[
|
1498
|
+
"unknown",
|
1499
|
+
0
|
1500
|
+
]
|
1501
|
+
],
|
1502
|
+
[
|
1503
|
+
[
|
1504
|
+
"is",
|
1505
|
+
0
|
1506
|
+
],
|
1507
|
+
[
|
1508
|
+
"list",
|
1509
|
+
0
|
1510
|
+
],
|
1511
|
+
[
|
1512
|
+
"mathematical",
|
1513
|
+
0
|
1514
|
+
],
|
1515
|
+
[
|
1516
|
+
"operator",
|
1517
|
+
0
|
1518
|
+
],
|
1519
|
+
[
|
1520
|
+
"unknown",
|
1521
|
+
0
|
1522
|
+
],
|
1523
|
+
[
|
1524
|
+
"unknown",
|
1525
|
+
1
|
1526
|
+
]
|
1527
|
+
],
|
1528
|
+
[
|
1529
|
+
[
|
1530
|
+
"is",
|
1531
|
+
0
|
1532
|
+
],
|
1533
|
+
[
|
1534
|
+
"list",
|
1535
|
+
0
|
1536
|
+
],
|
1537
|
+
[
|
1538
|
+
"mathematical",
|
1539
|
+
0
|
1540
|
+
],
|
1541
|
+
[
|
1542
|
+
"operator",
|
1543
|
+
0
|
1544
|
+
],
|
1545
|
+
[
|
1546
|
+
"unknown",
|
1547
|
+
1
|
1548
|
+
]
|
1549
|
+
],
|
1550
|
+
[
|
1551
|
+
[
|
1552
|
+
"is",
|
1553
|
+
0
|
1554
|
+
],
|
1555
|
+
[
|
1556
|
+
"list",
|
1557
|
+
1
|
1558
|
+
]
|
1559
|
+
],
|
1560
|
+
[
|
1561
|
+
[
|
1562
|
+
"is",
|
1563
|
+
0
|
1564
|
+
],
|
1565
|
+
[
|
1566
|
+
"list",
|
1567
|
+
1
|
1568
|
+
],
|
1569
|
+
[
|
1570
|
+
"mathematical",
|
1571
|
+
0
|
1572
|
+
],
|
1573
|
+
[
|
1574
|
+
"operator",
|
1575
|
+
0
|
1576
|
+
]
|
1577
|
+
],
|
1578
|
+
[
|
1579
|
+
[
|
1580
|
+
"is",
|
1581
|
+
0
|
1582
|
+
],
|
1583
|
+
[
|
1584
|
+
"list",
|
1585
|
+
1
|
1586
|
+
],
|
1587
|
+
[
|
1588
|
+
"mathematical",
|
1589
|
+
0
|
1590
|
+
],
|
1591
|
+
[
|
1592
|
+
"operator",
|
1593
|
+
0
|
1594
|
+
],
|
1595
|
+
[
|
1596
|
+
"unknown",
|
1597
|
+
1
|
1598
|
+
]
|
1599
|
+
]
|
1600
|
+
],
|
1601
|
+
"learned_contextual_priorities": [],
|
1602
|
+
"query": "* + / and - are mathematical operators",
|
1603
|
+
"key": {
|
1604
|
+
"query": "* + / and - are mathematical operators"
|
1605
|
+
}
|
1606
|
+
},
|
1607
|
+
{
|
1608
|
+
"extraConfig": true,
|
1609
|
+
"name": "math",
|
1610
|
+
"operators": [
|
1611
|
+
"([mathematicalExpression])",
|
1612
|
+
"([mathematicalOperator])",
|
1613
|
+
"(([number|]) [plusOperator] ([number|]))",
|
1614
|
+
"(([number|]) [minusOperator] ([number|]))",
|
1615
|
+
"(([number|]) [timesOperator] ([number|]))",
|
1616
|
+
"(([number|]) [divideByOperator|] ([number|]))",
|
1617
|
+
"([plusExpression|])",
|
1618
|
+
"([minusExpression|])",
|
1619
|
+
"([timesExpression|])",
|
1620
|
+
"([divideByExpression|])",
|
1621
|
+
{
|
1622
|
+
"pattern": "([x])",
|
1623
|
+
"development": true
|
1624
|
+
},
|
1625
|
+
{
|
1626
|
+
"pattern": "([y])",
|
1627
|
+
"development": true
|
1628
|
+
}
|
1629
|
+
],
|
1630
|
+
"bridges": [
|
1631
|
+
{
|
1632
|
+
"id": "mathematicalExpression",
|
1633
|
+
"isA": [
|
1634
|
+
"concept",
|
1635
|
+
"number"
|
1636
|
+
]
|
1637
|
+
},
|
1638
|
+
{
|
1639
|
+
"id": "mathematicalOperator",
|
1640
|
+
"before": [
|
1641
|
+
"verby"
|
1642
|
+
],
|
1643
|
+
"after": [
|
1644
|
+
"adjective"
|
1645
|
+
]
|
1646
|
+
},
|
1647
|
+
{
|
1648
|
+
"id": "x",
|
1649
|
+
"isA": [
|
1650
|
+
"number"
|
1651
|
+
],
|
1652
|
+
"level": 0,
|
1653
|
+
"bridge": "{ ...next(operator) }",
|
1654
|
+
"development": true
|
1655
|
+
},
|
1656
|
+
{
|
1657
|
+
"id": "y",
|
1658
|
+
"isA": [
|
1659
|
+
"number"
|
1660
|
+
],
|
1661
|
+
"level": 0,
|
1662
|
+
"bridge": "{ ...next(operator) }",
|
1663
|
+
"development": true
|
1664
|
+
},
|
1665
|
+
{
|
1666
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
1667
|
+
"id": "plusOperator",
|
1668
|
+
"level": 0,
|
1669
|
+
"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 }",
|
1670
|
+
"isA": [
|
1671
|
+
"mathematicalOperator"
|
1672
|
+
],
|
1673
|
+
"before": [],
|
1674
|
+
"localHierarchy": [
|
1675
|
+
[
|
1676
|
+
"unknown",
|
1677
|
+
"number"
|
1678
|
+
]
|
1679
|
+
],
|
1680
|
+
"words": [
|
1681
|
+
"plus",
|
1682
|
+
"+"
|
1683
|
+
]
|
1684
|
+
},
|
1685
|
+
{
|
1686
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
1687
|
+
"id": "plusExpression",
|
1688
|
+
"level": 0,
|
1689
|
+
"bridge": "{ ...next(operator) }",
|
1690
|
+
"isA": [
|
1691
|
+
"mathematicalExpression"
|
1692
|
+
]
|
1693
|
+
},
|
1694
|
+
{
|
1695
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
1696
|
+
"id": "minusOperator",
|
1697
|
+
"level": 0,
|
1698
|
+
"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 }",
|
1699
|
+
"isA": [
|
1700
|
+
"mathematicalOperator"
|
1701
|
+
],
|
1702
|
+
"before": [],
|
1703
|
+
"localHierarchy": [
|
1704
|
+
[
|
1705
|
+
"unknown",
|
1706
|
+
"number"
|
1707
|
+
]
|
1708
|
+
],
|
1709
|
+
"words": [
|
1710
|
+
"minus",
|
1711
|
+
"-"
|
1712
|
+
]
|
1713
|
+
},
|
1714
|
+
{
|
1715
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
1716
|
+
"id": "minusExpression",
|
1717
|
+
"level": 0,
|
1718
|
+
"bridge": "{ ...next(operator) }",
|
1719
|
+
"isA": [
|
1720
|
+
"mathematicalExpression"
|
1721
|
+
]
|
1722
|
+
},
|
1723
|
+
{
|
1724
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
1725
|
+
"id": "timesOperator",
|
1726
|
+
"level": 0,
|
1727
|
+
"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 }",
|
1728
|
+
"isA": [
|
1729
|
+
"mathematicalOperator"
|
1730
|
+
],
|
1731
|
+
"before": [
|
1732
|
+
[
|
1733
|
+
"plusOperator",
|
1734
|
+
0
|
1735
|
+
],
|
1736
|
+
[
|
1737
|
+
"minusOperator",
|
1738
|
+
0
|
1739
|
+
]
|
1740
|
+
],
|
1741
|
+
"localHierarchy": [
|
1742
|
+
[
|
1743
|
+
"unknown",
|
1744
|
+
"number"
|
1745
|
+
]
|
1746
|
+
],
|
1747
|
+
"words": [
|
1748
|
+
"times",
|
1749
|
+
"*"
|
1750
|
+
]
|
1751
|
+
},
|
1752
|
+
{
|
1753
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
1754
|
+
"id": "timesExpression",
|
1755
|
+
"level": 0,
|
1756
|
+
"bridge": "{ ...next(operator) }",
|
1757
|
+
"isA": [
|
1758
|
+
"mathematicalExpression"
|
1759
|
+
]
|
1760
|
+
},
|
1761
|
+
{
|
1762
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:32",
|
1763
|
+
"id": "divideByOperator",
|
1764
|
+
"level": 0,
|
1765
|
+
"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 }",
|
1766
|
+
"isA": [
|
1767
|
+
"mathematicalOperator"
|
1768
|
+
],
|
1769
|
+
"before": [
|
1770
|
+
[
|
1771
|
+
"plusOperator",
|
1772
|
+
0
|
1773
|
+
],
|
1774
|
+
[
|
1775
|
+
"minusOperator",
|
1776
|
+
0
|
1777
|
+
]
|
1778
|
+
],
|
1779
|
+
"localHierarchy": [
|
1780
|
+
[
|
1781
|
+
"unknown",
|
1782
|
+
"number"
|
1783
|
+
]
|
1784
|
+
],
|
1785
|
+
"words": [
|
1786
|
+
"/"
|
1787
|
+
]
|
1788
|
+
},
|
1789
|
+
{
|
1790
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/math.js:44",
|
1791
|
+
"id": "divideByExpression",
|
1792
|
+
"level": 0,
|
1793
|
+
"bridge": "{ ...next(operator) }",
|
1794
|
+
"isA": [
|
1795
|
+
"mathematicalExpression"
|
1796
|
+
]
|
1797
|
+
}
|
1798
|
+
]
|
1799
|
+
}
|
1800
|
+
],
|
1801
|
+
"fragments": [],
|
1802
|
+
"semantics": [],
|
1803
|
+
"associations": [
|
1804
|
+
[
|
1805
|
+
[
|
1806
|
+
"is",
|
1807
|
+
0
|
1808
|
+
],
|
1809
|
+
[
|
1810
|
+
"list",
|
1811
|
+
0
|
1812
|
+
],
|
1813
|
+
[
|
1814
|
+
"mathematical",
|
1815
|
+
0
|
1816
|
+
],
|
1817
|
+
[
|
1818
|
+
"operator",
|
1819
|
+
0
|
1820
|
+
],
|
1821
|
+
[
|
1822
|
+
"unknown",
|
1823
|
+
0
|
1824
|
+
]
|
1825
|
+
],
|
1826
|
+
[
|
1827
|
+
[
|
1828
|
+
"is",
|
1829
|
+
0
|
1830
|
+
],
|
1831
|
+
[
|
1832
|
+
"list",
|
1833
|
+
0
|
1834
|
+
],
|
1835
|
+
[
|
1836
|
+
"mathematical",
|
1837
|
+
0
|
1838
|
+
],
|
1839
|
+
[
|
1840
|
+
"operator",
|
1841
|
+
0
|
1842
|
+
],
|
1843
|
+
[
|
1844
|
+
"unknown",
|
1845
|
+
0
|
1846
|
+
],
|
1847
|
+
[
|
1848
|
+
"unknown",
|
1849
|
+
1
|
1850
|
+
]
|
1851
|
+
],
|
1852
|
+
[
|
1853
|
+
[
|
1854
|
+
"is",
|
1855
|
+
0
|
1856
|
+
],
|
1857
|
+
[
|
1858
|
+
"list",
|
1859
|
+
0
|
1860
|
+
],
|
1861
|
+
[
|
1862
|
+
"mathematical",
|
1863
|
+
0
|
1864
|
+
],
|
1865
|
+
[
|
1866
|
+
"operator",
|
1867
|
+
0
|
1868
|
+
],
|
1869
|
+
[
|
1870
|
+
"unknown",
|
1871
|
+
1
|
1872
|
+
]
|
1873
|
+
],
|
1874
|
+
[
|
1875
|
+
[
|
1876
|
+
"is",
|
1877
|
+
0
|
1878
|
+
],
|
1879
|
+
[
|
1880
|
+
"list",
|
1881
|
+
1
|
1882
|
+
]
|
1883
|
+
],
|
1884
|
+
[
|
1885
|
+
[
|
1886
|
+
"is",
|
1887
|
+
0
|
1888
|
+
],
|
1889
|
+
[
|
1890
|
+
"list",
|
1891
|
+
1
|
1892
|
+
],
|
1893
|
+
[
|
1894
|
+
"mathematical",
|
1895
|
+
0
|
1896
|
+
],
|
1897
|
+
[
|
1898
|
+
"operator",
|
1899
|
+
0
|
1900
|
+
]
|
1901
|
+
],
|
1902
|
+
[
|
1903
|
+
[
|
1904
|
+
"is",
|
1905
|
+
0
|
1906
|
+
],
|
1907
|
+
[
|
1908
|
+
"list",
|
1909
|
+
1
|
1910
|
+
],
|
1911
|
+
[
|
1912
|
+
"mathematical",
|
1913
|
+
0
|
1914
|
+
],
|
1915
|
+
[
|
1916
|
+
"operator",
|
1917
|
+
0
|
1918
|
+
],
|
1919
|
+
[
|
1920
|
+
"unknown",
|
1921
|
+
1
|
1922
|
+
]
|
1923
|
+
],
|
1924
|
+
[
|
1925
|
+
[
|
1926
|
+
"modifies",
|
1927
|
+
0
|
1928
|
+
],
|
1929
|
+
[
|
1930
|
+
"unknown",
|
1931
|
+
0
|
1932
|
+
]
|
1933
|
+
],
|
1934
|
+
[
|
1935
|
+
[
|
1936
|
+
"modifies",
|
1937
|
+
0
|
1938
|
+
],
|
1939
|
+
[
|
1940
|
+
"unknown",
|
1941
|
+
0
|
1942
|
+
],
|
1943
|
+
[
|
1944
|
+
"unknown",
|
1945
|
+
1
|
1946
|
+
]
|
1947
|
+
],
|
1948
|
+
[
|
1949
|
+
[
|
1950
|
+
"modifies",
|
1951
|
+
0
|
1952
|
+
],
|
1953
|
+
[
|
1954
|
+
"unknown",
|
1955
|
+
1
|
1956
|
+
]
|
1957
|
+
]
|
1958
|
+
],
|
1959
|
+
"learned_contextual_priorities": []
|
1960
|
+
}
|