tpmkms_4wp 8.0.0-beta.7 → 8.0.0-beta.70
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.
- package/common/animals.instance.json +2871 -1379
- package/common/animals.js +17 -20
- package/common/articles.js +103 -0
- package/common/articles.test.json +310 -0
- package/common/avatar.js +5 -9
- package/common/characters.js +22 -28
- package/common/colors.instance.json +7170 -3657
- package/common/colors.js +4 -8
- package/common/colors.test.json +345 -780
- package/common/comparable.instance.json +1750 -0
- package/common/comparable.js +36 -28
- package/common/comparable.test.json +438 -2
- package/common/concept.js +120 -118
- package/common/countable.js +19 -13
- package/common/countable.test.json +1050 -0
- package/common/crew.instance.json +13066 -6469
- package/common/crew.js +36 -41
- package/common/crew.test.json +714 -452
- package/common/currency.js +27 -45
- package/common/dialogues.js +161 -285
- package/common/dimension.instance.json +474 -253
- package/common/dimension.js +16 -22
- package/common/dimension.test.json +446 -1640
- package/common/edible.instance.json +20053 -10093
- package/common/edible.js +3 -8
- package/common/emotions.instance.json +147 -69
- package/common/emotions.js +35 -38
- package/common/evaluate.instance.json +2 -0
- package/common/evaluate.js +49 -0
- package/common/evaluate.test.json +574 -0
- package/common/events.js +10 -14
- package/common/fastfood.instance.json +221166 -111223
- package/common/fastfood.js +75 -85
- package/common/fastfood.test.json +268 -90
- package/common/formulas.instance.json +455 -249
- package/common/formulas.js +19 -26
- package/common/gdefaults.js +24 -26
- package/common/help.js +7 -12
- package/common/help.test.json +63 -8
- package/common/helpers/concept.js +10 -7
- package/common/helpers/dialogues.js +2 -3
- package/common/helpers/properties.js +54 -62
- package/common/helpers.js +6 -5
- package/common/hierarchy.js +16 -24
- package/common/javascript.js +11 -18
- package/common/kirk.instance.json +584 -290
- package/common/kirk.js +5 -8
- package/common/length.instance.json +8834 -4757
- package/common/length.js +4 -8
- package/common/listener.js +48 -0
- package/common/listener.test.json +104 -0
- package/common/math.instance.json +425 -1187
- package/common/math.js +16 -20
- package/common/meta.js +23 -47
- package/common/nameable.instance.json +2 -0
- package/common/nameable.js +144 -0
- package/common/nameable.test.json +3191 -0
- package/common/negation.instance.json +2 -0
- package/common/negation.js +38 -0
- package/common/negation.test.json +308 -0
- package/common/numbers.js +27 -31
- package/common/ordering.instance.json +366 -246
- package/common/ordering.js +80 -86
- package/common/people.instance.json +2074 -1022
- package/common/people.js +8 -13
- package/common/percentages.instance.json +2 -0
- package/common/percentages.js +53 -0
- package/common/percentages.test.json +751 -0
- package/common/pipboy.instance.json +11745 -6329
- package/common/pipboy.js +48 -59
- package/common/pokemon.instance.json +4226 -2081
- package/common/pokemon.js +7 -20
- package/common/pos.js +15 -13
- package/common/pressure.instance.json +2208 -1175
- package/common/pressure.js +4 -8
- package/common/properties.instance.json +131 -61
- package/common/properties.js +57 -134
- package/common/punctuation.js +15 -7
- package/common/reports.instance.json +1018 -530
- package/common/reports.js +77 -100
- package/common/reports.test.json +15623 -10458
- package/common/scorekeeper.js +18 -30
- package/common/sdefaults.js +16 -7
- package/common/sizeable.js +6 -10
- package/common/spock.instance.json +584 -290
- package/common/spock.js +5 -8
- package/common/stgame.js +19 -19
- package/common/stm.js +164 -27
- package/common/stm.test.json +1734 -1
- package/common/tell.js +14 -18
- package/common/temperature.instance.json +2271 -1222
- package/common/temperature.js +4 -8
- package/common/tester.js +15 -4
- package/common/testing.js +8 -12
- package/common/time.js +20 -25
- package/common/tokenize.js +5 -6
- package/common/ui.instance.json +459 -240
- package/common/ui.js +16 -22
- package/common/weight.instance.json +7646 -4026
- package/common/weight.js +4 -8
- package/common/yesno.js +5 -5
- package/main.js +14 -2
- package/package.json +28 -5
@@ -41,14 +41,14 @@
|
|
41
41
|
],
|
42
42
|
"generators": [
|
43
43
|
{
|
44
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
44
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
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": [
|
50
50
|
{
|
51
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
51
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
52
52
|
"id": "dimension",
|
53
53
|
"isA": [],
|
54
54
|
"generatorpr": {}
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"id": "amount"
|
65
65
|
},
|
66
66
|
{
|
67
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
67
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
68
68
|
"id": "degree",
|
69
69
|
"words": [
|
70
70
|
{
|
@@ -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
|
{
|
@@ -84,7 +84,7 @@
|
|
84
84
|
"bridge": "{ marker: operator('dimension'), unit: after[0], value: before[0].value, amount: before[0] }"
|
85
85
|
},
|
86
86
|
{
|
87
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
87
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
88
88
|
"id": "convertToUnits",
|
89
89
|
"bridge": "{ ...next(operator), from: before[0], to: after[0] }",
|
90
90
|
"isA": [
|
@@ -101,8 +101,8 @@
|
|
101
101
|
1
|
102
102
|
]
|
103
103
|
],
|
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 }"
|
104
|
+
"generatorp": "async ({context, g}) => `${await g(context.from)} ${context.word} ${await g(context.to)}`",
|
105
|
+
"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
106
|
},
|
107
107
|
{
|
108
108
|
"id": "unit"
|
@@ -114,628 +114,849 @@
|
|
114
114
|
{
|
115
115
|
"hierarchy": [
|
116
116
|
[
|
117
|
-
"
|
118
|
-
"
|
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"
|
175
|
-
],
|
176
|
-
[
|
177
|
-
"+",
|
178
|
-
"theAble"
|
179
|
-
],
|
180
|
-
[
|
181
|
-
"-",
|
182
|
-
"hierarchyAble"
|
117
|
+
"a",
|
118
|
+
"articlePOS",
|
119
|
+
false
|
183
120
|
],
|
184
121
|
[
|
185
|
-
"
|
186
|
-
"
|
122
|
+
"adjective",
|
123
|
+
"adjective",
|
124
|
+
false
|
187
125
|
],
|
188
126
|
[
|
189
|
-
"
|
190
|
-
"
|
127
|
+
"all",
|
128
|
+
"quantifier",
|
129
|
+
false
|
191
130
|
],
|
192
131
|
[
|
193
|
-
"
|
194
|
-
"
|
132
|
+
"articlePOS",
|
133
|
+
"articlePOS",
|
134
|
+
false
|
195
135
|
],
|
196
136
|
[
|
197
|
-
"
|
198
|
-
"
|
137
|
+
"ascending",
|
138
|
+
"hierarchyAble",
|
139
|
+
false
|
199
140
|
],
|
200
141
|
[
|
201
|
-
"
|
202
|
-
"
|
142
|
+
"ascending",
|
143
|
+
"isEdee",
|
144
|
+
false
|
203
145
|
],
|
204
146
|
[
|
205
|
-
"
|
206
|
-
"
|
147
|
+
"ascending",
|
148
|
+
"isEder",
|
149
|
+
false
|
207
150
|
],
|
208
151
|
[
|
209
|
-
"
|
210
|
-
"
|
152
|
+
"ascending",
|
153
|
+
"object",
|
154
|
+
false
|
211
155
|
],
|
212
156
|
[
|
213
|
-
"
|
214
|
-
"
|
157
|
+
"ascending",
|
158
|
+
"property",
|
159
|
+
false
|
215
160
|
],
|
216
161
|
[
|
217
|
-
"
|
218
|
-
"
|
162
|
+
"ascending",
|
163
|
+
"queryable",
|
164
|
+
false
|
219
165
|
],
|
220
166
|
[
|
221
|
-
"
|
222
|
-
"
|
167
|
+
"ascending",
|
168
|
+
"sort_ordering",
|
169
|
+
false
|
223
170
|
],
|
224
171
|
[
|
225
|
-
"
|
226
|
-
"
|
172
|
+
"ascending",
|
173
|
+
"theAble",
|
174
|
+
false
|
227
175
|
],
|
228
176
|
[
|
229
|
-
"
|
230
|
-
"
|
177
|
+
"between",
|
178
|
+
"preposition",
|
179
|
+
false
|
231
180
|
],
|
232
181
|
[
|
233
|
-
"
|
234
|
-
"
|
182
|
+
"calculate",
|
183
|
+
"verb",
|
184
|
+
false
|
235
185
|
],
|
236
186
|
[
|
237
|
-
"
|
238
|
-
"
|
187
|
+
"canBeDoQuestion",
|
188
|
+
"canBeDoQuestion",
|
189
|
+
false
|
239
190
|
],
|
240
191
|
[
|
241
|
-
"
|
242
|
-
"
|
192
|
+
"canBeQuestion",
|
193
|
+
"canBeQuestion",
|
194
|
+
false
|
243
195
|
],
|
244
196
|
[
|
245
|
-
"
|
246
|
-
"
|
197
|
+
"concept",
|
198
|
+
"queryable",
|
199
|
+
false
|
247
200
|
],
|
248
201
|
[
|
249
|
-
"
|
250
|
-
"
|
202
|
+
"concept",
|
203
|
+
"theAble",
|
204
|
+
false
|
251
205
|
],
|
252
206
|
[
|
253
|
-
"
|
254
|
-
"
|
207
|
+
"condition",
|
208
|
+
"condition",
|
209
|
+
false
|
255
210
|
],
|
256
211
|
[
|
257
|
-
"
|
258
|
-
"
|
212
|
+
"countable",
|
213
|
+
"hierarchyAble",
|
214
|
+
false
|
259
215
|
],
|
260
216
|
[
|
261
|
-
"
|
262
|
-
"
|
217
|
+
"descending",
|
218
|
+
"hierarchyAble",
|
219
|
+
false
|
263
220
|
],
|
264
221
|
[
|
265
|
-
"
|
266
|
-
"
|
222
|
+
"descending",
|
223
|
+
"isEdee",
|
224
|
+
false
|
267
225
|
],
|
268
226
|
[
|
269
|
-
"
|
270
|
-
"
|
227
|
+
"descending",
|
228
|
+
"isEder",
|
229
|
+
false
|
271
230
|
],
|
272
231
|
[
|
273
|
-
"
|
274
|
-
"
|
232
|
+
"descending",
|
233
|
+
"object",
|
234
|
+
false
|
275
235
|
],
|
276
236
|
[
|
277
|
-
"
|
278
|
-
"
|
237
|
+
"descending",
|
238
|
+
"property",
|
239
|
+
false
|
279
240
|
],
|
280
241
|
[
|
281
|
-
"
|
282
|
-
"
|
242
|
+
"descending",
|
243
|
+
"queryable",
|
244
|
+
false
|
283
245
|
],
|
284
246
|
[
|
285
|
-
"
|
286
|
-
"
|
247
|
+
"descending",
|
248
|
+
"sort_ordering",
|
249
|
+
false
|
287
250
|
],
|
288
251
|
[
|
289
|
-
"
|
290
|
-
"
|
252
|
+
"descending",
|
253
|
+
"theAble",
|
254
|
+
false
|
291
255
|
],
|
292
256
|
[
|
293
257
|
"divideByExpression",
|
294
|
-
"mathematicalExpression"
|
258
|
+
"mathematicalExpression",
|
259
|
+
false
|
295
260
|
],
|
296
261
|
[
|
297
262
|
"divideByOperator",
|
298
|
-
"
|
263
|
+
"mathematical_operator",
|
264
|
+
false
|
299
265
|
],
|
300
266
|
[
|
301
267
|
"doubleQuote",
|
302
|
-
"queryable"
|
268
|
+
"queryable",
|
269
|
+
false
|
303
270
|
],
|
304
271
|
[
|
272
|
+
"evaluate",
|
273
|
+
"verb",
|
274
|
+
false
|
275
|
+
],
|
276
|
+
[
|
277
|
+
"expression",
|
305
278
|
"expression",
|
306
|
-
|
279
|
+
false
|
307
280
|
],
|
308
281
|
[
|
309
282
|
"forVariable",
|
310
|
-
"preposition"
|
283
|
+
"preposition",
|
284
|
+
false
|
311
285
|
],
|
312
286
|
[
|
313
287
|
"formula",
|
314
|
-
"concept"
|
288
|
+
"concept",
|
289
|
+
false
|
315
290
|
],
|
316
291
|
[
|
317
292
|
"formula",
|
318
|
-
"hierarchyAble"
|
293
|
+
"hierarchyAble",
|
294
|
+
false
|
319
295
|
],
|
320
296
|
[
|
321
297
|
"formula",
|
322
|
-
"isEdee"
|
298
|
+
"isEdee",
|
299
|
+
false
|
323
300
|
],
|
324
301
|
[
|
325
302
|
"formula",
|
326
|
-
"isEder"
|
303
|
+
"isEder",
|
304
|
+
false
|
327
305
|
],
|
328
306
|
[
|
329
307
|
"formula",
|
330
|
-
"object"
|
308
|
+
"object",
|
309
|
+
false
|
331
310
|
],
|
332
311
|
[
|
333
312
|
"formula",
|
334
|
-
"property"
|
313
|
+
"property",
|
314
|
+
false
|
335
315
|
],
|
336
316
|
[
|
337
317
|
"formula",
|
338
|
-
"queryable"
|
318
|
+
"queryable",
|
319
|
+
false
|
339
320
|
],
|
340
321
|
[
|
341
322
|
"formula",
|
342
|
-
"theAble"
|
323
|
+
"theAble",
|
324
|
+
false
|
343
325
|
],
|
344
326
|
[
|
345
327
|
"formulaForVariable",
|
346
|
-
"preposition"
|
328
|
+
"preposition",
|
329
|
+
false
|
347
330
|
],
|
348
331
|
[
|
349
332
|
"formulaForVariable",
|
350
|
-
"queryable"
|
333
|
+
"queryable",
|
334
|
+
false
|
351
335
|
],
|
352
336
|
[
|
353
337
|
"hasCountOfPieces",
|
354
|
-
"countable"
|
338
|
+
"countable",
|
339
|
+
false
|
355
340
|
],
|
356
341
|
[
|
357
342
|
"have",
|
358
|
-
"canBeDoQuestion"
|
343
|
+
"canBeDoQuestion",
|
344
|
+
false
|
359
345
|
],
|
360
346
|
[
|
361
347
|
"have",
|
362
|
-
"canBeQuestion"
|
348
|
+
"canBeQuestion",
|
349
|
+
false
|
363
350
|
],
|
364
351
|
[
|
365
352
|
"hierarchyAble",
|
366
|
-
"queryable"
|
353
|
+
"queryable",
|
354
|
+
false
|
367
355
|
],
|
368
356
|
[
|
369
357
|
"highest",
|
370
|
-
"condition"
|
358
|
+
"condition",
|
359
|
+
false
|
371
360
|
],
|
372
361
|
[
|
373
362
|
"ifAble",
|
374
|
-
"ifAble"
|
363
|
+
"ifAble",
|
364
|
+
false
|
375
365
|
],
|
376
366
|
[
|
377
367
|
"is",
|
378
|
-
"canBeQuestion"
|
368
|
+
"canBeQuestion",
|
369
|
+
false
|
379
370
|
],
|
380
371
|
[
|
381
372
|
"is",
|
382
|
-
"
|
373
|
+
"verb",
|
374
|
+
false
|
383
375
|
],
|
384
376
|
[
|
385
377
|
"isEdee",
|
386
|
-
"isEdee"
|
378
|
+
"isEdee",
|
379
|
+
false
|
387
380
|
],
|
388
381
|
[
|
389
382
|
"isEder",
|
390
|
-
"isEder"
|
383
|
+
"isEder",
|
384
|
+
false
|
391
385
|
],
|
392
386
|
[
|
393
387
|
"it",
|
394
|
-
"pronoun"
|
388
|
+
"pronoun",
|
389
|
+
false
|
395
390
|
],
|
396
391
|
[
|
397
392
|
"it",
|
398
|
-
"queryable"
|
393
|
+
"queryable",
|
394
|
+
false
|
399
395
|
],
|
400
396
|
[
|
401
397
|
"it",
|
402
|
-
"thisitthat"
|
398
|
+
"thisitthat",
|
399
|
+
false
|
403
400
|
],
|
404
401
|
[
|
405
402
|
"it",
|
406
|
-
"toAble"
|
403
|
+
"toAble",
|
404
|
+
false
|
407
405
|
],
|
408
406
|
[
|
409
407
|
"lowest",
|
410
|
-
"condition"
|
408
|
+
"condition",
|
409
|
+
false
|
411
410
|
],
|
412
411
|
[
|
413
412
|
"mathematical",
|
414
|
-
"hierarchyAble"
|
413
|
+
"hierarchyAble",
|
414
|
+
false
|
415
415
|
],
|
416
416
|
[
|
417
417
|
"mathematical",
|
418
|
-
"isEdee"
|
418
|
+
"isEdee",
|
419
|
+
false
|
419
420
|
],
|
420
421
|
[
|
421
422
|
"mathematical",
|
422
|
-
"isEder"
|
423
|
+
"isEder",
|
424
|
+
false
|
423
425
|
],
|
424
426
|
[
|
425
427
|
"mathematical",
|
426
|
-
"object"
|
428
|
+
"object",
|
429
|
+
false
|
427
430
|
],
|
428
431
|
[
|
429
432
|
"mathematical",
|
430
|
-
"operator_modifier"
|
433
|
+
"operator_modifier",
|
434
|
+
false
|
431
435
|
],
|
432
436
|
[
|
433
437
|
"mathematical",
|
434
|
-
"property"
|
438
|
+
"property",
|
439
|
+
false
|
435
440
|
],
|
436
441
|
[
|
437
442
|
"mathematical",
|
438
|
-
"queryable"
|
443
|
+
"queryable",
|
444
|
+
false
|
439
445
|
],
|
440
446
|
[
|
441
447
|
"mathematical",
|
442
|
-
"theAble"
|
448
|
+
"theAble",
|
449
|
+
false
|
443
450
|
],
|
444
451
|
[
|
445
452
|
"mathematicalExpression",
|
446
|
-
"concept"
|
453
|
+
"concept",
|
454
|
+
false
|
447
455
|
],
|
448
456
|
[
|
449
457
|
"mathematicalExpression",
|
450
|
-
"expression"
|
458
|
+
"expression",
|
459
|
+
false
|
451
460
|
],
|
452
461
|
[
|
453
462
|
"mathematicalExpression",
|
454
|
-
"number"
|
463
|
+
"number",
|
464
|
+
false
|
455
465
|
],
|
456
466
|
[
|
457
|
-
"
|
458
|
-
"
|
467
|
+
"mathematical_operator",
|
468
|
+
"adjective",
|
469
|
+
true
|
459
470
|
],
|
460
471
|
[
|
461
472
|
"mathematical_operator",
|
462
|
-
"
|
473
|
+
"concept",
|
474
|
+
false
|
463
475
|
],
|
464
476
|
[
|
465
477
|
"mathematical_operator",
|
466
|
-
"
|
478
|
+
"hierarchyAble",
|
479
|
+
false
|
467
480
|
],
|
468
481
|
[
|
469
482
|
"mathematical_operator",
|
470
|
-
"
|
483
|
+
"isEdee",
|
484
|
+
false
|
471
485
|
],
|
472
486
|
[
|
473
487
|
"mathematical_operator",
|
474
|
-
"
|
488
|
+
"isEder",
|
489
|
+
false
|
475
490
|
],
|
476
491
|
[
|
477
492
|
"mathematical_operator",
|
478
|
-
"
|
493
|
+
"object",
|
494
|
+
false
|
479
495
|
],
|
480
496
|
[
|
481
497
|
"mathematical_operator",
|
482
|
-
"
|
498
|
+
"operator",
|
499
|
+
false
|
483
500
|
],
|
484
501
|
[
|
485
502
|
"mathematical_operator",
|
486
|
-
"
|
503
|
+
"property",
|
504
|
+
false
|
487
505
|
],
|
488
506
|
[
|
489
507
|
"mathematical_operator",
|
490
|
-
"
|
508
|
+
"queryable",
|
509
|
+
false
|
491
510
|
],
|
492
511
|
[
|
493
512
|
"mathematical_operator",
|
494
|
-
"
|
513
|
+
"theAble",
|
514
|
+
false
|
495
515
|
],
|
496
516
|
[
|
497
|
-
"
|
498
|
-
"theAble"
|
517
|
+
"memorable",
|
518
|
+
"theAble",
|
519
|
+
false
|
499
520
|
],
|
500
521
|
[
|
501
522
|
"minusExpression",
|
502
|
-
"mathematicalExpression"
|
523
|
+
"mathematicalExpression",
|
524
|
+
false
|
503
525
|
],
|
504
526
|
[
|
505
527
|
"minusOperator",
|
506
|
-
"
|
528
|
+
"mathematical_operator",
|
529
|
+
false
|
507
530
|
],
|
508
531
|
[
|
509
532
|
"modifies",
|
510
|
-
"
|
511
|
-
|
512
|
-
[
|
513
|
-
"notAble",
|
514
|
-
"notAble"
|
533
|
+
"verb",
|
534
|
+
false
|
515
535
|
],
|
516
536
|
[
|
517
537
|
"noun",
|
518
|
-
"theAble"
|
538
|
+
"theAble",
|
539
|
+
false
|
519
540
|
],
|
520
541
|
[
|
521
542
|
"number",
|
522
|
-
"expression"
|
543
|
+
"expression",
|
544
|
+
false
|
523
545
|
],
|
524
546
|
[
|
525
547
|
"number",
|
526
|
-
"quantifier"
|
548
|
+
"quantifier",
|
549
|
+
false
|
527
550
|
],
|
528
551
|
[
|
529
552
|
"number",
|
530
|
-
"queryable"
|
553
|
+
"queryable",
|
554
|
+
false
|
531
555
|
],
|
532
556
|
[
|
533
557
|
"object",
|
534
|
-
"queryable"
|
558
|
+
"queryable",
|
559
|
+
false
|
535
560
|
],
|
536
561
|
[
|
537
562
|
"object",
|
538
|
-
"theAble"
|
563
|
+
"theAble",
|
564
|
+
false
|
539
565
|
],
|
540
566
|
[
|
541
567
|
"operator",
|
542
|
-
"concept"
|
568
|
+
"concept",
|
569
|
+
false
|
543
570
|
],
|
544
571
|
[
|
545
572
|
"operator",
|
546
|
-
"hierarchyAble"
|
573
|
+
"hierarchyAble",
|
574
|
+
false
|
547
575
|
],
|
548
576
|
[
|
549
577
|
"operator",
|
550
|
-
"isEdee"
|
578
|
+
"isEdee",
|
579
|
+
false
|
551
580
|
],
|
552
581
|
[
|
553
582
|
"operator",
|
554
|
-
"isEder"
|
583
|
+
"isEder",
|
584
|
+
false
|
555
585
|
],
|
556
586
|
[
|
557
587
|
"operator",
|
558
|
-
"object"
|
588
|
+
"object",
|
589
|
+
false
|
559
590
|
],
|
560
591
|
[
|
561
592
|
"operator",
|
562
|
-
"property"
|
593
|
+
"property",
|
594
|
+
false
|
563
595
|
],
|
564
596
|
[
|
565
597
|
"operator",
|
566
|
-
"queryable"
|
598
|
+
"queryable",
|
599
|
+
false
|
567
600
|
],
|
568
601
|
[
|
569
602
|
"operator",
|
570
|
-
"theAble"
|
603
|
+
"theAble",
|
604
|
+
false
|
571
605
|
],
|
572
606
|
[
|
573
607
|
"operator_modifier",
|
574
|
-
"operator_modifier"
|
608
|
+
"operator_modifier",
|
609
|
+
false
|
575
610
|
],
|
576
611
|
[
|
577
612
|
"orAble",
|
578
|
-
"ifAble"
|
613
|
+
"ifAble",
|
614
|
+
false
|
615
|
+
],
|
616
|
+
[
|
617
|
+
"ordering",
|
618
|
+
"concept",
|
619
|
+
false
|
620
|
+
],
|
621
|
+
[
|
622
|
+
"ordering",
|
623
|
+
"hierarchyAble",
|
624
|
+
false
|
625
|
+
],
|
626
|
+
[
|
627
|
+
"ordering",
|
628
|
+
"isEdee",
|
629
|
+
false
|
630
|
+
],
|
631
|
+
[
|
632
|
+
"ordering",
|
633
|
+
"isEder",
|
634
|
+
false
|
635
|
+
],
|
636
|
+
[
|
637
|
+
"ordering",
|
638
|
+
"object",
|
639
|
+
false
|
640
|
+
],
|
641
|
+
[
|
642
|
+
"ordering",
|
643
|
+
"property",
|
644
|
+
false
|
645
|
+
],
|
646
|
+
[
|
647
|
+
"ordering",
|
648
|
+
"queryable",
|
649
|
+
false
|
650
|
+
],
|
651
|
+
[
|
652
|
+
"ordering",
|
653
|
+
"theAble",
|
654
|
+
false
|
655
|
+
],
|
656
|
+
[
|
657
|
+
"ordering_modifier",
|
658
|
+
"ordering_modifier",
|
659
|
+
false
|
579
660
|
],
|
580
661
|
[
|
581
662
|
"plusExpression",
|
582
|
-
"mathematicalExpression"
|
663
|
+
"mathematicalExpression",
|
664
|
+
false
|
583
665
|
],
|
584
666
|
[
|
585
667
|
"plusOperator",
|
586
|
-
"
|
668
|
+
"mathematical_operator",
|
669
|
+
false
|
587
670
|
],
|
588
671
|
[
|
589
672
|
"preposition",
|
590
|
-
"preposition"
|
673
|
+
"preposition",
|
674
|
+
false
|
591
675
|
],
|
592
676
|
[
|
593
677
|
"pronoun",
|
594
|
-
"pronoun"
|
678
|
+
"pronoun",
|
679
|
+
false
|
595
680
|
],
|
596
681
|
[
|
597
682
|
"property",
|
598
|
-
"queryable"
|
683
|
+
"queryable",
|
684
|
+
false
|
599
685
|
],
|
600
686
|
[
|
601
687
|
"property",
|
602
|
-
"theAble"
|
688
|
+
"theAble",
|
689
|
+
false
|
603
690
|
],
|
604
691
|
[
|
605
692
|
"property",
|
606
|
-
"unknown"
|
693
|
+
"unknown",
|
694
|
+
false
|
607
695
|
],
|
608
696
|
[
|
609
697
|
"punctuation",
|
610
|
-
"punctuation"
|
698
|
+
"punctuation",
|
699
|
+
false
|
611
700
|
],
|
612
701
|
[
|
613
702
|
"quantifier",
|
614
|
-
"quantifier"
|
703
|
+
"quantifier",
|
704
|
+
false
|
615
705
|
],
|
616
706
|
[
|
617
707
|
"queryable",
|
618
|
-
"queryable"
|
708
|
+
"queryable",
|
709
|
+
false
|
619
710
|
],
|
620
711
|
[
|
621
712
|
"questionMark",
|
622
|
-
"punctuation"
|
713
|
+
"punctuation",
|
714
|
+
false
|
623
715
|
],
|
624
716
|
[
|
625
717
|
"readonly",
|
626
|
-
"queryable"
|
718
|
+
"queryable",
|
719
|
+
false
|
627
720
|
],
|
628
721
|
[
|
629
722
|
"reason",
|
630
|
-
"queryable"
|
723
|
+
"queryable",
|
724
|
+
false
|
631
725
|
],
|
632
726
|
[
|
633
727
|
"reason",
|
634
|
-
"theAble"
|
728
|
+
"theAble",
|
729
|
+
false
|
730
|
+
],
|
731
|
+
[
|
732
|
+
"remember",
|
733
|
+
"verb",
|
734
|
+
false
|
735
|
+
],
|
736
|
+
[
|
737
|
+
"sort",
|
738
|
+
"hierarchyAble",
|
739
|
+
false
|
740
|
+
],
|
741
|
+
[
|
742
|
+
"sort",
|
743
|
+
"isEdee",
|
744
|
+
false
|
745
|
+
],
|
746
|
+
[
|
747
|
+
"sort",
|
748
|
+
"isEder",
|
749
|
+
false
|
750
|
+
],
|
751
|
+
[
|
752
|
+
"sort",
|
753
|
+
"object",
|
754
|
+
false
|
755
|
+
],
|
756
|
+
[
|
757
|
+
"sort",
|
758
|
+
"ordering_modifier",
|
759
|
+
false
|
760
|
+
],
|
761
|
+
[
|
762
|
+
"sort",
|
763
|
+
"property",
|
764
|
+
false
|
765
|
+
],
|
766
|
+
[
|
767
|
+
"sort",
|
768
|
+
"queryable",
|
769
|
+
false
|
770
|
+
],
|
771
|
+
[
|
772
|
+
"sort",
|
773
|
+
"theAble",
|
774
|
+
false
|
775
|
+
],
|
776
|
+
[
|
777
|
+
"sortOrdering",
|
778
|
+
"adjective",
|
779
|
+
false
|
780
|
+
],
|
781
|
+
[
|
782
|
+
"sort_ordering",
|
783
|
+
"adjective",
|
784
|
+
true
|
785
|
+
],
|
786
|
+
[
|
787
|
+
"sort_ordering",
|
788
|
+
"concept",
|
789
|
+
false
|
790
|
+
],
|
791
|
+
[
|
792
|
+
"sort_ordering",
|
793
|
+
"hierarchyAble",
|
794
|
+
false
|
795
|
+
],
|
796
|
+
[
|
797
|
+
"sort_ordering",
|
798
|
+
"isEdee",
|
799
|
+
false
|
800
|
+
],
|
801
|
+
[
|
802
|
+
"sort_ordering",
|
803
|
+
"isEder",
|
804
|
+
false
|
805
|
+
],
|
806
|
+
[
|
807
|
+
"sort_ordering",
|
808
|
+
"object",
|
809
|
+
false
|
810
|
+
],
|
811
|
+
[
|
812
|
+
"sort_ordering",
|
813
|
+
"ordering",
|
814
|
+
false
|
815
|
+
],
|
816
|
+
[
|
817
|
+
"sort_ordering",
|
818
|
+
"property",
|
819
|
+
false
|
820
|
+
],
|
821
|
+
[
|
822
|
+
"sort_ordering",
|
823
|
+
"queryable",
|
824
|
+
false
|
825
|
+
],
|
826
|
+
[
|
827
|
+
"sort_ordering",
|
828
|
+
"theAble",
|
829
|
+
false
|
830
|
+
],
|
831
|
+
[
|
832
|
+
"stm_before",
|
833
|
+
"adjective",
|
834
|
+
false
|
635
835
|
],
|
636
836
|
[
|
637
837
|
"that",
|
638
|
-
"thisitthat"
|
838
|
+
"thisitthat",
|
839
|
+
false
|
639
840
|
],
|
640
841
|
[
|
641
842
|
"the",
|
642
|
-
"articlePOS"
|
843
|
+
"articlePOS",
|
844
|
+
false
|
643
845
|
],
|
644
846
|
[
|
645
847
|
"theAble",
|
646
|
-
"theAble"
|
848
|
+
"theAble",
|
849
|
+
false
|
647
850
|
],
|
648
851
|
[
|
649
852
|
"this",
|
650
|
-
"pronoun"
|
853
|
+
"pronoun",
|
854
|
+
false
|
651
855
|
],
|
652
856
|
[
|
653
857
|
"this",
|
654
|
-
"queryable"
|
858
|
+
"queryable",
|
859
|
+
false
|
655
860
|
],
|
656
861
|
[
|
657
862
|
"this",
|
658
|
-
"thisitthat"
|
863
|
+
"thisitthat",
|
864
|
+
false
|
659
865
|
],
|
660
866
|
[
|
661
867
|
"thisitthat",
|
662
|
-
"queryable"
|
868
|
+
"queryable",
|
869
|
+
false
|
663
870
|
],
|
664
871
|
[
|
665
872
|
"timesExpression",
|
666
|
-
"mathematicalExpression"
|
873
|
+
"mathematicalExpression",
|
874
|
+
false
|
667
875
|
],
|
668
876
|
[
|
669
877
|
"timesOperator",
|
670
|
-
"
|
878
|
+
"mathematical_operator",
|
879
|
+
false
|
671
880
|
],
|
672
881
|
[
|
673
882
|
"to",
|
674
|
-
"preposition"
|
883
|
+
"preposition",
|
884
|
+
false
|
675
885
|
],
|
676
886
|
[
|
677
887
|
"toAble",
|
678
|
-
"toAble"
|
888
|
+
"toAble",
|
889
|
+
false
|
679
890
|
],
|
680
891
|
[
|
681
892
|
"type",
|
682
|
-
"property"
|
893
|
+
"property",
|
894
|
+
false
|
683
895
|
],
|
684
896
|
[
|
685
897
|
"type",
|
686
|
-
"whatAble"
|
687
|
-
|
688
|
-
[
|
689
|
-
"unknown",
|
690
|
-
"hierarchyAble"
|
898
|
+
"whatAble",
|
899
|
+
false
|
691
900
|
],
|
692
901
|
[
|
693
902
|
"unknown",
|
694
|
-
"
|
903
|
+
"hierarchyAble",
|
904
|
+
false
|
695
905
|
],
|
696
906
|
[
|
697
907
|
"unknown",
|
698
|
-
"object"
|
908
|
+
"object",
|
909
|
+
false
|
699
910
|
],
|
700
911
|
[
|
701
912
|
"unknown",
|
702
|
-
"queryable"
|
913
|
+
"queryable",
|
914
|
+
false
|
703
915
|
],
|
704
916
|
[
|
705
917
|
"unknown",
|
706
|
-
"theAble"
|
918
|
+
"theAble",
|
919
|
+
false
|
707
920
|
],
|
708
921
|
[
|
709
|
-
"
|
710
|
-
"
|
922
|
+
"verb",
|
923
|
+
"verb",
|
924
|
+
false
|
711
925
|
],
|
712
926
|
[
|
713
927
|
"what",
|
714
|
-
"object"
|
928
|
+
"object",
|
929
|
+
false
|
715
930
|
],
|
716
931
|
[
|
717
932
|
"what",
|
718
|
-
"queryable"
|
933
|
+
"queryable",
|
934
|
+
false
|
719
935
|
],
|
720
936
|
[
|
721
937
|
"whatAble",
|
722
|
-
"queryable"
|
938
|
+
"queryable",
|
939
|
+
false
|
723
940
|
],
|
724
941
|
[
|
725
942
|
"whose",
|
726
|
-
"object"
|
943
|
+
"object",
|
944
|
+
false
|
727
945
|
],
|
728
946
|
[
|
729
947
|
"x",
|
730
|
-
"number"
|
948
|
+
"number",
|
949
|
+
false
|
731
950
|
],
|
732
951
|
[
|
733
952
|
"xfx",
|
734
|
-
"queryable"
|
953
|
+
"queryable",
|
954
|
+
false
|
735
955
|
],
|
736
956
|
[
|
737
957
|
"y",
|
738
|
-
"number"
|
958
|
+
"number",
|
959
|
+
false
|
739
960
|
]
|
740
961
|
],
|
741
962
|
"metadata": {
|
@@ -1062,12 +1283,12 @@
|
|
1062
1283
|
],
|
1063
1284
|
"generators": [
|
1064
1285
|
{
|
1065
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
1286
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5"
|
1066
1287
|
}
|
1067
1288
|
],
|
1068
1289
|
"bridges": [
|
1069
1290
|
{
|
1070
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
1291
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
1071
1292
|
"id": "dimension",
|
1072
1293
|
"isA": [],
|
1073
1294
|
"generatorpr": {}
|
@@ -1083,7 +1304,7 @@
|
|
1083
1304
|
"id": "amount"
|
1084
1305
|
},
|
1085
1306
|
{
|
1086
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
1307
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
1087
1308
|
"id": "degree",
|
1088
1309
|
"words": [
|
1089
1310
|
{
|
@@ -1102,7 +1323,7 @@
|
|
1102
1323
|
"bridge": "{ marker: operator('dimension'), unit: after[0], value: before[0].value, amount: before[0] }"
|
1103
1324
|
},
|
1104
1325
|
{
|
1105
|
-
"where": "/home/dev/code/theprogrammablemind/kms/
|
1326
|
+
"where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
|
1106
1327
|
"id": "convertToUnits",
|
1107
1328
|
"bridge": "{ ...next(operator), from: before[0], to: after[0] }",
|
1108
1329
|
"isA": [
|