tpmkms 9.8.0 → 9.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/actions.instance.json +10 -8
- package/common/actions.js +13 -11
- package/common/angle.instance.json +25 -17
- package/common/animals.instance.json +54 -28
- package/common/askfor.instance.json +89 -192
- package/common/askfor.js +49 -12
- package/common/asking.js +13 -5
- package/common/avatar.js +3 -3
- package/common/can.instance.json +32 -20
- package/common/can.js +2 -2
- package/common/colors.instance.json +44 -16
- package/common/colors.js +1 -1
- package/common/comparable.instance.json +25 -22
- package/common/compass.instance.json +9 -3
- package/common/concept.instance.json +14 -6
- package/common/concept.js +2 -0
- package/common/conjunction.js +17 -9
- package/common/control.js +10 -18
- package/common/countable.js +4 -3
- package/common/crew.instance.json +95 -27
- package/common/dateTimeSelectors.instance.json +4 -4
- package/common/dateTimeSelectors.js +4 -7
- package/common/dates.instance.json +52 -28
- package/common/dates.js +16 -11
- package/common/debug.instance.json +48 -0
- package/common/debug.js +50 -0
- package/common/debug.test.json +1 -0
- package/common/dialogues.js +126 -70
- package/common/dimension.instance.json +239 -495
- package/common/dimension.js +51 -9
- package/common/drone.instance.json +395 -84
- package/common/drone.js +43 -50
- package/common/drone_v1.instance.json +36 -12
- package/common/drone_v1.js +14 -9
- package/common/edible.instance.json +96 -32
- package/common/emotions.instance.json +15 -1
- package/common/evaluate.js +10 -13
- package/common/fastfood.instance.json +282 -100
- package/common/fastfood.js +30 -15
- package/common/formulas.instance.json +162 -24
- package/common/formulas.js +18 -9
- package/common/gdefaults.js +20 -96
- package/common/helpers/concept.js +2 -9
- package/common/helpers/conjunction.js +11 -1
- package/common/helpers/dialogues.js +48 -24
- package/common/helpers/gdefaults.js +15 -5
- package/common/helpers/properties.js +125 -326
- package/common/helpers.js +28 -58
- package/common/hierarchy.js +71 -41
- package/common/kirk.instance.json +3 -1
- package/common/latin.instance.json +10 -10
- package/common/latin.js +5 -5
- package/common/length.instance.json +247 -61
- package/common/math.instance.json +144 -5
- package/common/math.js +18 -5
- package/common/menus.instance.json +29 -11
- package/common/menus.js +8 -5
- package/common/meta.js +14 -13
- package/common/nameable.js +9 -5
- package/common/numbers.instance.json +5 -3
- package/common/numbers.js +28 -28
- package/common/ordering.instance.json +53 -4
- package/common/ordinals.js +25 -25
- package/common/people.instance.json +66 -12
- package/common/percentages.js +4 -2
- package/common/pipboy.instance.json +89 -44
- package/common/pipboy.js +21 -14
- package/common/pokemon.instance.json +39 -13
- package/common/pressure.instance.json +14 -6
- package/common/properties.instance.json +2370 -511
- package/common/properties.js +496 -78
- package/common/punctuation.js +1 -0
- package/common/rates.instance.json +2 -2
- package/common/rates.js +3 -3
- package/common/reminders.instance.json +16 -0
- package/common/reminders.js +24 -20
- package/common/reports.instance.json +11 -12
- package/common/reports.js +12 -12
- package/common/scorekeeper.js +20 -10
- package/common/sdefaults.js +30 -9
- package/common/spock.instance.json +3 -1
- package/common/stm.js +16 -21
- package/common/temperature.instance.json +19 -11
- package/common/testing.js +2 -2
- package/common/time.instance.json +104 -47
- package/common/time.js +9 -8
- package/common/ui.instance.json +4 -2
- package/common/ui.js +5 -5
- package/common/weight.instance.json +86 -21
- package/common/weight.js +5 -1
- package/common/words.js +113 -2
- package/common/wp.instance.json +125 -18
- package/common/wp.js +6 -2
- package/main.js +2 -0
- package/package.json +7 -3
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"points are nameable orderable countable and memorable",
|
|
33
33
|
"drone modifies direction",
|
|
34
34
|
{
|
|
35
|
-
"apply": "(args) => {\n expectDirection(args)\n expectDistanceForMove(args)\n\n args.config.addSemantic({\n match: ({context, isA}) => isA(context.marker, 'quantity') && isA(context.unit?.marker, 'unitPerUnit'),\n apply: async ({context, objects, api, gr, fragments, e, say}) => {\n // send a command to the drone\n const instantiation = await fragments(\"quantity in meters per second\", { quantity: context })\n const result = await e(instantiation)\n const desired_speed = result.evalue.amount.evalue.evalue\n objects.runCommand = true\n objects.current.speed = desired_speed\n objects.current.speedUnitsOfUser = context.unit\n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlStart',\n apply: ({context, objects, api}) => {\n objects.runCommand = false \n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlEnd',\n apply: async ({context, objects, api}) => {\n // send a command to the drone\n if (objects.runCommand) {\n await api.sendCommand()\n }\n }\n })\n }"
|
|
35
|
+
"apply": "(args) => {\n expectDirection(args)\n expectDistanceForMove(args)\n\n args.config.addSemantic({\n match: ({context, isA}) => isA(context.marker, 'quantity') && isA(context.unit?.marker, 'unitPerUnit'),\n apply: async ({context, objects, api, gr, fragments, e, say}) => {\n // send a command to the drone\n const instantiation = await fragments(\"quantity in meters per second\", { quantity: context })\n const result = await e(instantiation, where())\n const desired_speed = result.evalue.amount.evalue.evalue\n objects.runCommand = true\n objects.current.speed = desired_speed\n objects.current.speedUnitsOfUser = context.unit\n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlStart',\n apply: ({context, objects, api}) => {\n objects.runCommand = false \n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlEnd',\n apply: async ({context, objects, api}) => {\n // send a command to the drone\n if (objects.runCommand) {\n await api.sendCommand()\n }\n }\n })\n }"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"priorities": [
|
|
@@ -164,6 +164,7 @@
|
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"id": "startPath",
|
|
167
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:942",
|
|
167
168
|
"isA": [
|
|
168
169
|
"verb"
|
|
169
170
|
],
|
|
@@ -263,6 +264,7 @@
|
|
|
263
264
|
},
|
|
264
265
|
{
|
|
265
266
|
"id": "patrol",
|
|
267
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:983",
|
|
266
268
|
"isA": [
|
|
267
269
|
"verb",
|
|
268
270
|
"repeatable",
|
|
@@ -284,10 +286,11 @@
|
|
|
284
286
|
},
|
|
285
287
|
"path"
|
|
286
288
|
],
|
|
287
|
-
"semantic": "async ({context, g, e, toArray, fragments, toEValue, toFinalValue, recall, objects, verbatim}) => {\n const paths = toArray(context.path)\n for (const context_path of paths) {\n const evaluated = await(e(context_path))\n const path = toEValue(evaluated)\n if (path.marker
|
|
289
|
+
"semantic": "async ({context, g, e, toArray, fragments, toEValue, toFinalValue, recall, objects, verbatim}) => {\n const paths = toArray(context.path)\n for (const context_path of paths) {\n const evaluated = await(e(context_path))\n const path = toEValue(evaluated)\n if (path.marker === 'undefined') {\n verbatim(`${await g(context_path)} is not a known path`)\n continue\n }\n \n objects.current.path.push({ message: await g(context) })\n\n // TODO put this in a common place for use by do+patrol \n\n // ordinal to pause time in seconds \n const pauseTimeInSeconds = {}\n if (context.pause) {\n const timeAtPoints = toArray(context.pause.timeAtPoint)\n for (const timeAtPoint of timeAtPoints) {\n const instantiation = await fragments(\"quantity in seconds\", { quantity: timeAtPoint.time })\n const result = await e(instantiation, where())\n const seconds = toFinalValue(toFinalValue(result).amount)\n\n const points = await recall({ context: timeAtPoint.point.point, frameOfReference: path })\n for (const point of toArray(points)) {\n pauseTimeInSeconds[point.ordinal] = seconds\n }\n }\n }\n\n let skipPoints = []\n if (context.skip) {\n skipPoints = toArray(await recall({ context: context.skip.points, frameOfReference: path }))\n }\n\n // get to the start of the patrol \n objects.current.path.push(path.points[0])\n objects.current.path.push({ aimOnly: true, ...path.points[1] })\n objects.current.path.push({ repeatStart: true })\n for (const point of path.points) {\n if (skipPoints.find((skipPoint) => skipPoint.ordinal == point.ordinal)) {\n continue\n }\n objects.current.path.push(point)\n if (pauseTimeInSeconds[point.ordinal]) {\n objects.current.path.push({ marker: 'pause', pauseSeconds: pauseTimeInSeconds[point.ordinal] })\n }\n }\n if (context.repeats) {\n objects.current.timeRepeats = toFinalValue(context.repeats.repeats)\n }\n // if the patrol does not start and end at the same spot then \n // go back to the start along the same path\n\n\n // if the start is not the end of the patrol then go backwards along the patrol\n if (JSON.stringify(path.points[0].point) !== JSON.stringify(path.points[path.points.length-1].point)) {\n for (const point of [...path.points].reverse().slice(1)) {\n if (skipPoints.find((skipPoint) => skipPoint.ordinal == point.ordinal)) {\n continue\n }\n objects.current.path.push(point)\n if (pauseTimeInSeconds[point.ordinal]) {\n objects.current.path.push({ marker: 'pause', pauseSeconds: pauseTimeInSeconds[point.ordinal] })\n }\n }\n\n const secondPoint = path.points[1]\n objects.current.path.push({ ...secondPoint, aimOnly: true })\n }\n }\n objects.runCommand = true\n }"
|
|
288
290
|
},
|
|
289
291
|
{
|
|
290
292
|
"id": "lift",
|
|
293
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1068",
|
|
291
294
|
"isA": [
|
|
292
295
|
"verb"
|
|
293
296
|
],
|
|
@@ -311,6 +314,7 @@
|
|
|
311
314
|
},
|
|
312
315
|
{
|
|
313
316
|
"id": "lower",
|
|
317
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1080",
|
|
314
318
|
"isA": [
|
|
315
319
|
"verb"
|
|
316
320
|
],
|
|
@@ -334,6 +338,7 @@
|
|
|
334
338
|
},
|
|
335
339
|
{
|
|
336
340
|
"id": "openDrone",
|
|
341
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1092",
|
|
337
342
|
"isA": [
|
|
338
343
|
"verb"
|
|
339
344
|
],
|
|
@@ -357,6 +362,7 @@
|
|
|
357
362
|
},
|
|
358
363
|
{
|
|
359
364
|
"id": "close",
|
|
365
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1104",
|
|
360
366
|
"isA": [
|
|
361
367
|
"verb"
|
|
362
368
|
],
|
|
@@ -380,6 +386,7 @@
|
|
|
380
386
|
},
|
|
381
387
|
{
|
|
382
388
|
"id": "back",
|
|
389
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1116",
|
|
383
390
|
"isA": [
|
|
384
391
|
"noun"
|
|
385
392
|
],
|
|
@@ -393,6 +400,7 @@
|
|
|
393
400
|
},
|
|
394
401
|
{
|
|
395
402
|
"id": "toPoint",
|
|
403
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1128",
|
|
396
404
|
"isA": [
|
|
397
405
|
"preposition"
|
|
398
406
|
],
|
|
@@ -418,10 +426,11 @@
|
|
|
418
426
|
},
|
|
419
427
|
"point"
|
|
420
428
|
],
|
|
421
|
-
"semantic": "async ({objects, api, e, context}) => {\n objects.runCommand = true\n const point = await e(context.point)\n objects.current.path.push(point.evalue)\n }"
|
|
429
|
+
"semantic": "async ({objects, api, e, context}) => {\n objects.runCommand = true\n const point = await e(context.point, where())\n objects.current.path.push(point.evalue)\n }"
|
|
422
430
|
},
|
|
423
431
|
{
|
|
424
432
|
"id": "go",
|
|
433
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1141",
|
|
425
434
|
"level": 0,
|
|
426
435
|
"isA": [
|
|
427
436
|
"verb",
|
|
@@ -577,10 +586,11 @@
|
|
|
577
586
|
"points": "(@<= 'point')"
|
|
578
587
|
}
|
|
579
588
|
},
|
|
580
|
-
"semantic": "async (args) => {\n const {api, toFinalValue, context, objects, e, toArray, toEValue} = args\n if (context.distance) {\n await handleDistance(args, context.distance)\n }\n if (context.direction) {\n const array = toArray(context.direction)\n if (array.length == 2 && array[0].marker == 'back' && array[1].marker == 'forth') {\n await args.api.backAndForth()\n } else if (context.direction.marker == 'back') {\n await args.api.back(context.points)\n } else {\n objects.current.direction = context.direction.marker\n }\n }\n if (context.repeats) {\n objects.current.timeRepeats = toFinalValue(context.repeats.repeats)\n }\n if (context.to) {\n const evaluation = await e(context.to.point)\n const point = toEValue(evaluation)\n objects.current.path.push(point)\n }\n objects.runCommand = true\n await api.sendCommand()\n }"
|
|
589
|
+
"semantic": "async (args) => {\n const {api, toFinalValue, context, objects, e, toArray, toEValue} = args\n if (context.distance) {\n await handleDistance(args, context.distance)\n }\n if (context.direction) {\n const array = toArray(context.direction)\n if (array.length == 2 && array[0].marker == 'back' && array[1].marker == 'forth') {\n await args.api.backAndForth()\n } else if (context.direction.marker == 'back') {\n await args.api.back(context.points)\n } else {\n objects.current.direction = context.direction.marker\n }\n }\n if (context.repeats) {\n objects.current.timeRepeats = toFinalValue(context.repeats.repeats)\n }\n if (context.to) {\n const evaluation = await e(context.to.point, where())\n const point = toEValue(evaluation)\n objects.current.path.push(point)\n }\n objects.runCommand = true\n await api.sendCommand()\n }"
|
|
581
590
|
},
|
|
582
591
|
{
|
|
583
592
|
"id": "turn",
|
|
593
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1195",
|
|
584
594
|
"isA": [
|
|
585
595
|
"verb",
|
|
586
596
|
"action",
|
|
@@ -616,10 +626,11 @@
|
|
|
616
626
|
"angle": "(@<= 'quantity' && context.unit.dimension == 'angle')"
|
|
617
627
|
}
|
|
618
628
|
},
|
|
619
|
-
"semantic": "async ({context, fragments, objects, e, s, api, say, toFinalValue}) => {\n const current = objects.current\n current.direction = context.direction.marker\n if (context.repeats) {\n current.timeRepeats = toFinalValue(context.repeats.repeats)\n }\n async function toRadians(angle) {\n const fi = await fragments(\"40 degrees in radians\")\n return await fi.instantiate([\n { \n match: ({path, pathEquals}) => pathEquals(path, ['0', 'from']),\n apply: ({context}) => {\n Object.assign(context, angle)\n }\n }\n ])\n }\n if (context.angle) {\n const instantiation = await toRadians(context.angle)\n try {\n const result = await e(instantiation)\n current.turnAngle = toFinalValue(result.evalue.amount)\n objects.runCommand = true\n } catch (e) {\n say(`Don't know how to interpret ${await gp(context.angle)} in radians`)\n return\n }\n }\n if (context.repeats) {\n objects.current.timeRepeats = toFinalValue(context.repeats.repeats)\n }\n current.justTurn = true\n objects.runCommand = true\n await api.sendCommand()\n }"
|
|
629
|
+
"semantic": "async ({context, fragments, objects, e, s, api, say, toFinalValue}) => {\n const current = objects.current\n current.direction = context.direction.marker\n if (context.repeats) {\n current.timeRepeats = toFinalValue(context.repeats.repeats)\n }\n async function toRadians(angle) {\n const fi = await fragments(\"40 degrees in radians\")\n return await fi.instantiate([\n { \n match: ({path, pathEquals}) => pathEquals(path, ['0', 'from']),\n apply: ({context}) => {\n Object.assign(context, angle)\n }\n }\n ])\n }\n if (context.angle) {\n const instantiation = await toRadians(context.angle)\n try {\n const result = await e(instantiation, where())\n current.turnAngle = toFinalValue(result.evalue.amount)\n objects.runCommand = true\n } catch (e) {\n say(`Don't know how to interpret ${await gp(context.angle)} in radians`)\n return\n }\n }\n if (context.repeats) {\n objects.current.timeRepeats = toFinalValue(context.repeats.repeats)\n }\n current.justTurn = true\n objects.runCommand = true\n await api.sendCommand()\n }"
|
|
620
630
|
},
|
|
621
631
|
{
|
|
622
632
|
"id": "pause",
|
|
633
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1254",
|
|
623
634
|
"isA": [
|
|
624
635
|
"verb"
|
|
625
636
|
],
|
|
@@ -769,7 +780,7 @@
|
|
|
769
780
|
"timeAtPoint": "(@<= 'timeAtPoint')"
|
|
770
781
|
}
|
|
771
782
|
},
|
|
772
|
-
"semantic": "async ({context, remember, api, e, fragments, toFinalValue}) => {\n let time = context.time \n if (!time) {\n return\n }\n if (time.marker == 'forQuantity') {\n time = time.quantity\n }\n const instantiation = await fragments(\"quantity in seconds\", { quantity: time})\n const result = await e(instantiation)\n const seconds = toFinalValue(toFinalValue(result).amount)\n context.pauseSeconds = seconds\n remember(context)\n api.pause(seconds)\n }"
|
|
783
|
+
"semantic": "async ({context, remember, api, e, fragments, toFinalValue}) => {\n let time = context.time \n if (!time) {\n return\n }\n if (time.marker == 'forQuantity') {\n time = time.quantity\n }\n const instantiation = await fragments(\"quantity in seconds\", { quantity: time})\n const result = await e(instantiation, where())\n const seconds = toFinalValue(toFinalValue(result).amount)\n context.pauseSeconds = seconds\n remember(context)\n api.pause(seconds)\n }"
|
|
773
784
|
},
|
|
774
785
|
{
|
|
775
786
|
"id": "pause",
|
|
@@ -800,6 +811,7 @@
|
|
|
800
811
|
},
|
|
801
812
|
{
|
|
802
813
|
"id": "stop",
|
|
814
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1299",
|
|
803
815
|
"isA": [
|
|
804
816
|
"verb"
|
|
805
817
|
],
|
|
@@ -823,31 +835,31 @@
|
|
|
823
835
|
"semantics": [
|
|
824
836
|
{
|
|
825
837
|
"match": "({context}) => context.marker == 'doAction'",
|
|
826
|
-
"apply": "async ({context, fragments, e,
|
|
838
|
+
"apply": "async ({context, fragments, e, toEValue, toFinalValue, namespaced, objects}) => {\n const updated = { ...context, marker: 'patrol', path: context.action }\n namespaced.set('actions', updated, 'logged', true)\n await e(updated, where())\n }"
|
|
827
839
|
},
|
|
828
840
|
{
|
|
829
|
-
"match": "({context, contextHierarchy}) => {\n if (!context.pullFromContext ||
|
|
830
|
-
"apply": "async ({context, frameOfReference, toArray, fragments, objects, remember, recall, resolveEvaluate, _continue, contextHierarchy}) => {\n const pathComponents = toArray(await recall({ \n context: { marker: 'pathComponent' }, \n all: true,\n stopCondition: (context) => context.marker == 'startPath',\n }))\n const path = (await fragments('path')).contexts()[0]\n delete path.value\n path.
|
|
841
|
+
"match": "({context, contextHierarchy}) => {\n if (!context.pullFromContext || contextHierarchy.under(['doAction', 'evaluate', 'patrol']) || context.isInstance) {\n return false\n }\n \n if (context.marker == 'path' || context.marker == 'this' || context.marker == 'that') {\n return true\n }\n }",
|
|
842
|
+
"apply": "async ({context, frameOfReference, toArray, fragments, objects, remember, recall, resolveEvaluate, _continue, contextHierarchy}) => {\n const pathComponents = toArray(await recall({ \n context: { marker: 'pathComponent' }, \n all: true,\n stopCondition: (context) => context.marker == 'startPath',\n }))\n const path = (await fragments('path')).contexts()[0]\n delete path.value\n path.isInstance = true\n path.points = pathComponents.reverse()\n frameOfReference(path, { mentioned: 'points', reversed: true })\n await remember(path)\n\n _continue() // let the call pick the object out from the stm\n }"
|
|
831
843
|
},
|
|
832
844
|
{
|
|
833
|
-
"match": "({context, contextHierarchy}) => {\n if (!context.pullFromContext || !
|
|
834
|
-
"apply": "async ({frameOfReference, context, e, fragments, stm, toEValue, toArray, objects, remember, recall, resolveEvaluate, _continue, contextHierarchy}) => {\n const evaluated = await e({...context, notUnderCall: true})\n const pointsContext = toEValue(evaluated)\n const pathComponents = toArray(pointsContext)\n\n const path = (await fragments('path')).contexts()[0]\n delete path.value\n path.
|
|
845
|
+
"match": "({context, contextHierarchy}) => {\n if (!context.pullFromContext || !contextHierarchy.under('call') || context.notUnderCall) {\n return false\n }\n \n if (context.marker == 'point' || context.marker == 'ordinal') {\n return true\n }\n }",
|
|
846
|
+
"apply": "async ({frameOfReference, context, e, fragments, stm, toEValue, toArray, objects, remember, recall, resolveEvaluate, _continue, contextHierarchy}) => {\n const evaluated = await e({...context, notUnderCall: true}, where())\n const pointsContext = toEValue(evaluated)\n const pathComponents = toArray(pointsContext)\n\n const path = (await fragments('path')).contexts()[0]\n delete path.value\n path.isInstance = true\n path.points = [...pathComponents]\n frameOfReference(path, { mentioned: 'points', reversed: true })\n await remember(path)\n resolveEvaluate(context, path)\n }"
|
|
835
847
|
},
|
|
836
848
|
{
|
|
837
|
-
"match": "({context}) =>
|
|
849
|
+
"match": "({context}) => ['start', 'end'].includes(context.marker) && context.objects && context.objects[1].marker == 'path'",
|
|
838
850
|
"apply": "async ({gp, s, context, objects, fragments, resolveEvaluate, api, recall}) => {\n const path = await recall({ context: context.objects[1] })\n if (!path?.points) {\n return\n }\n if (context.marker == 'start') {\n resolveEvaluate(context, path?.points[0])\n } else if (context.marker == 'end') {\n resolveEvaluate(context, path?.points[path?.points.length-1])\n }\n }"
|
|
839
851
|
},
|
|
840
852
|
{
|
|
841
|
-
"match": "({context, contextHierarchy}) => \n
|
|
853
|
+
"match": "({context, contextHierarchy}) => \n ['start', 'end', 'point'].includes(context.marker) && \n !context.propertyOf && \n contextHierarchy.under('go') &&\n !contextHierarchy.under('call')",
|
|
842
854
|
"apply": "async ({gp, s, toArray, context, objects, fragments, resolveEvaluate, api, recall}) => {\n const path = await recall({ context: { marker: 'path' } })\n if (!path?.points) {\n return\n }\n \n if (context.marker == 'start') {\n resolveEvaluate(context, path?.points[0])\n } else if (context.marker == 'end') {\n resolveEvaluate(context, path?.points[path?.points.length-1])\n } else {\n const points = await recall({ context, frameOfReference: path })\n resolveEvaluate(context, toArray(points)[0])\n }\n }"
|
|
843
855
|
},
|
|
844
856
|
{
|
|
845
|
-
"match": "({context}) => {\n // from stm lookup\n if (context.marker == 'mentions' && context.
|
|
846
|
-
"apply": "async ({gp,
|
|
857
|
+
"match": "({context}) => {\n // from stm lookup\n if (context.marker == 'mentions' && context.args.context.marker == 'speed') {\n return true\n }\n // from property directly\n if (context.marker == 'speed') {\n return true\n }\n }",
|
|
858
|
+
"apply": "async ({gp, e, context, objects, fragments, resolveEvaluate, api}) => {\n let return_context = context\n if (context.marker == 'speed') {\n // okay\n } else {\n // stm lookup\n return_context = context\n context = context.args.context\n }\n let value = objects.current.speed\n if (context.condition) {\n if (['highest', 'maximum'].includes(context.condition.marker)) {\n value = api.maximumSpeedDrone()\n } else if (['lowest', 'minimum'].includes(context.condition.marker)) {\n value = api.minimumSpeedDrone()\n }\n }\n const speed = await fragments(\"number meters per second\", { number: { marker: 'integer', value, word: undefined} })\n const preferred = await e({ marker: 'preferredUnits', quantity: speed }, where()) \n resolveEvaluate(return_context, preferred.evalue || speed)\n }"
|
|
847
859
|
},
|
|
848
860
|
{
|
|
849
|
-
"match": "({context}) => {\n if (context.marker == 'mentions' &&
|
|
850
|
-
"apply": "async ({gp,
|
|
861
|
+
"match": "({context}) => {\n if (context.marker == 'mentions' && ['direction', 'drone_direction'].includes(context.args.context.marker)) {\n return true\n }\n if (['direction', 'drone_direction'].includes(context.marker)) {\n return true\n }\n }",
|
|
862
|
+
"apply": "async ({gp, e, context, objects, fragments, resolveEvaluate, api}) => {\n const value = objects.current.angleInRadians\n const fi = await fragments(\"number radians\")\n const direction = await fi.instantiate([\n { \n match: ({path, pathEquals}) => pathEquals(path, ['0', 'amount']),\n apply: ({context}) => {\n Object.assign(context, { marker: 'number', value: value, word: undefined })\n }\n }\n ])\n const preferred = await e({ marker: 'preferredUnits', quantity: direction }, where()) \n resolveEvaluate(context, preferred.evalue || direction)\n }"
|
|
851
863
|
},
|
|
852
864
|
{
|
|
853
865
|
"match": "({context}) => context.marker == 'timeRepeats'",
|
|
@@ -1197,7 +1209,6 @@
|
|
|
1197
1209
|
"level": 2,
|
|
1198
1210
|
"context_index": 1,
|
|
1199
1211
|
"topLevel": true,
|
|
1200
|
-
"context_id": 2,
|
|
1201
1212
|
"touchedBy": [
|
|
1202
1213
|
"drone#call2"
|
|
1203
1214
|
]
|
|
@@ -1763,6 +1774,9 @@
|
|
|
1763
1774
|
}
|
|
1764
1775
|
],
|
|
1765
1776
|
"learned_contextual_priorities": [],
|
|
1777
|
+
"explain_associations_details": [
|
|
1778
|
+
null
|
|
1779
|
+
],
|
|
1766
1780
|
"query": "arm, claw and drone are concepts",
|
|
1767
1781
|
"key": {
|
|
1768
1782
|
"query": "arm, claw and drone are concepts"
|
|
@@ -2736,7 +2750,6 @@
|
|
|
2736
2750
|
"level": 2,
|
|
2737
2751
|
"context_index": 1,
|
|
2738
2752
|
"topLevel": true,
|
|
2739
|
-
"context_id": 2,
|
|
2740
2753
|
"touchedBy": [
|
|
2741
2754
|
"drone#call2"
|
|
2742
2755
|
]
|
|
@@ -5102,6 +5115,9 @@
|
|
|
5102
5115
|
}
|
|
5103
5116
|
],
|
|
5104
5117
|
"learned_contextual_priorities": [],
|
|
5118
|
+
"explain_associations_details": [
|
|
5119
|
+
null
|
|
5120
|
+
],
|
|
5105
5121
|
"query": "around, forward, left, right, back, forth and backward are directions",
|
|
5106
5122
|
"key": {
|
|
5107
5123
|
"query": "around, forward, left, right, back, forth and backward are directions"
|
|
@@ -5290,7 +5306,6 @@
|
|
|
5290
5306
|
"level": 2,
|
|
5291
5307
|
"context_index": 1,
|
|
5292
5308
|
"topLevel": true,
|
|
5293
|
-
"context_id": 2,
|
|
5294
5309
|
"touchedBy": [
|
|
5295
5310
|
"drone#call2"
|
|
5296
5311
|
]
|
|
@@ -5546,6 +5561,9 @@
|
|
|
5546
5561
|
}
|
|
5547
5562
|
],
|
|
5548
5563
|
"learned_contextual_priorities": [],
|
|
5564
|
+
"explain_associations_details": [
|
|
5565
|
+
null
|
|
5566
|
+
],
|
|
5549
5567
|
"query": "paths are nameable and memorable",
|
|
5550
5568
|
"key": {
|
|
5551
5569
|
"query": "paths are nameable and memorable"
|
|
@@ -5909,7 +5927,6 @@
|
|
|
5909
5927
|
"level": 2,
|
|
5910
5928
|
"context_index": 1,
|
|
5911
5929
|
"topLevel": true,
|
|
5912
|
-
"context_id": 2,
|
|
5913
5930
|
"touchedBy": [
|
|
5914
5931
|
"drone#call2"
|
|
5915
5932
|
]
|
|
@@ -6435,6 +6452,9 @@
|
|
|
6435
6452
|
}
|
|
6436
6453
|
],
|
|
6437
6454
|
"learned_contextual_priorities": [],
|
|
6455
|
+
"explain_associations_details": [
|
|
6456
|
+
null
|
|
6457
|
+
],
|
|
6438
6458
|
"query": "start and end are properties of path",
|
|
6439
6459
|
"key": {
|
|
6440
6460
|
"query": "start and end are properties of path"
|
|
@@ -6638,7 +6658,6 @@
|
|
|
6638
6658
|
"level": 2,
|
|
6639
6659
|
"context_index": 1,
|
|
6640
6660
|
"topLevel": true,
|
|
6641
|
-
"context_id": 2,
|
|
6642
6661
|
"touchedBy": [
|
|
6643
6662
|
"drone#call2"
|
|
6644
6663
|
]
|
|
@@ -6894,6 +6913,9 @@
|
|
|
6894
6913
|
}
|
|
6895
6914
|
],
|
|
6896
6915
|
"learned_contextual_priorities": [],
|
|
6916
|
+
"explain_associations_details": [
|
|
6917
|
+
null
|
|
6918
|
+
],
|
|
6897
6919
|
"query": "start and end are points",
|
|
6898
6920
|
"key": {
|
|
6899
6921
|
"query": "start and end are points"
|
|
@@ -7117,7 +7139,6 @@
|
|
|
7117
7139
|
"level": 2,
|
|
7118
7140
|
"context_index": 1,
|
|
7119
7141
|
"topLevel": true,
|
|
7120
|
-
"context_id": 2,
|
|
7121
7142
|
"touchedBy": [
|
|
7122
7143
|
"drone#call2"
|
|
7123
7144
|
]
|
|
@@ -7428,6 +7449,9 @@
|
|
|
7428
7449
|
}
|
|
7429
7450
|
],
|
|
7430
7451
|
"learned_contextual_priorities": [],
|
|
7452
|
+
"explain_associations_details": [
|
|
7453
|
+
null
|
|
7454
|
+
],
|
|
7431
7455
|
"query": "rest and remaining are concepts",
|
|
7432
7456
|
"key": {
|
|
7433
7457
|
"query": "rest and remaining are concepts"
|
|
@@ -7668,7 +7692,6 @@
|
|
|
7668
7692
|
"level": 2,
|
|
7669
7693
|
"context_index": 1,
|
|
7670
7694
|
"topLevel": true,
|
|
7671
|
-
"context_id": 2,
|
|
7672
7695
|
"touchedBy": [
|
|
7673
7696
|
"drone#call2"
|
|
7674
7697
|
]
|
|
@@ -7959,6 +7982,9 @@
|
|
|
7959
7982
|
}
|
|
7960
7983
|
],
|
|
7961
7984
|
"learned_contextual_priorities": [],
|
|
7985
|
+
"explain_associations_details": [
|
|
7986
|
+
null
|
|
7987
|
+
],
|
|
7962
7988
|
"query": "speed and power are properties",
|
|
7963
7989
|
"key": {
|
|
7964
7990
|
"query": "speed and power are properties"
|
|
@@ -8130,7 +8156,6 @@
|
|
|
8130
8156
|
"level": 2,
|
|
8131
8157
|
"context_index": 1,
|
|
8132
8158
|
"topLevel": true,
|
|
8133
|
-
"context_id": 2,
|
|
8134
8159
|
"touchedBy": [
|
|
8135
8160
|
"drone#call2"
|
|
8136
8161
|
]
|
|
@@ -8331,6 +8356,9 @@
|
|
|
8331
8356
|
}
|
|
8332
8357
|
],
|
|
8333
8358
|
"learned_contextual_priorities": [],
|
|
8359
|
+
"explain_associations_details": [
|
|
8360
|
+
null
|
|
8361
|
+
],
|
|
8334
8362
|
"query": "speed and power are comparable",
|
|
8335
8363
|
"key": {
|
|
8336
8364
|
"query": "speed and power are comparable"
|
|
@@ -8470,7 +8498,6 @@
|
|
|
8470
8498
|
"level": 2,
|
|
8471
8499
|
"context_index": 1,
|
|
8472
8500
|
"topLevel": true,
|
|
8473
|
-
"context_id": 2,
|
|
8474
8501
|
"touchedBy": [
|
|
8475
8502
|
"drone#call2"
|
|
8476
8503
|
]
|
|
@@ -8651,6 +8678,9 @@
|
|
|
8651
8678
|
}
|
|
8652
8679
|
],
|
|
8653
8680
|
"learned_contextual_priorities": [],
|
|
8681
|
+
"explain_associations_details": [
|
|
8682
|
+
null
|
|
8683
|
+
],
|
|
8654
8684
|
"query": "speed is a quantity",
|
|
8655
8685
|
"key": {
|
|
8656
8686
|
"query": "speed is a quantity"
|
|
@@ -8790,7 +8820,6 @@
|
|
|
8790
8820
|
"level": 2,
|
|
8791
8821
|
"context_index": 1,
|
|
8792
8822
|
"topLevel": true,
|
|
8793
|
-
"context_id": 2,
|
|
8794
8823
|
"touchedBy": [
|
|
8795
8824
|
"drone#call2"
|
|
8796
8825
|
]
|
|
@@ -8971,6 +9000,9 @@
|
|
|
8971
9000
|
}
|
|
8972
9001
|
],
|
|
8973
9002
|
"learned_contextual_priorities": [],
|
|
9003
|
+
"explain_associations_details": [
|
|
9004
|
+
null
|
|
9005
|
+
],
|
|
8974
9006
|
"query": "point is a concept",
|
|
8975
9007
|
"key": {
|
|
8976
9008
|
"query": "point is a concept"
|
|
@@ -9264,7 +9296,6 @@
|
|
|
9264
9296
|
"level": 2,
|
|
9265
9297
|
"context_index": 1,
|
|
9266
9298
|
"topLevel": true,
|
|
9267
|
-
"context_id": 2,
|
|
9268
9299
|
"touchedBy": [
|
|
9269
9300
|
"drone#call2"
|
|
9270
9301
|
]
|
|
@@ -9715,6 +9746,9 @@
|
|
|
9715
9746
|
}
|
|
9716
9747
|
],
|
|
9717
9748
|
"learned_contextual_priorities": [],
|
|
9749
|
+
"explain_associations_details": [
|
|
9750
|
+
null
|
|
9751
|
+
],
|
|
9718
9752
|
"query": "points are nameable orderable countable and memorable",
|
|
9719
9753
|
"key": {
|
|
9720
9754
|
"query": "points are nameable orderable countable and memorable"
|
|
@@ -9820,7 +9854,6 @@
|
|
|
9820
9854
|
"level": 1,
|
|
9821
9855
|
"context_index": 1,
|
|
9822
9856
|
"topLevel": true,
|
|
9823
|
-
"context_id": 2,
|
|
9824
9857
|
"touchedBy": [
|
|
9825
9858
|
"drone#call2"
|
|
9826
9859
|
]
|
|
@@ -9966,13 +9999,16 @@
|
|
|
9966
9999
|
}
|
|
9967
10000
|
],
|
|
9968
10001
|
"learned_contextual_priorities": [],
|
|
10002
|
+
"explain_associations_details": [
|
|
10003
|
+
null
|
|
10004
|
+
],
|
|
9969
10005
|
"query": "drone modifies direction",
|
|
9970
10006
|
"key": {
|
|
9971
10007
|
"query": "drone modifies direction"
|
|
9972
10008
|
}
|
|
9973
10009
|
},
|
|
9974
10010
|
{
|
|
9975
|
-
"apply": "(args) => {\n expectDirection(args)\n expectDistanceForMove(args)\n\n args.config.addSemantic({\n match: ({context, isA}) => isA(context.marker, 'quantity') && isA(context.unit?.marker, 'unitPerUnit'),\n apply: async ({context, objects, api, gr, fragments, e, say}) => {\n // send a command to the drone\n const instantiation = await fragments(\"quantity in meters per second\", { quantity: context })\n const result = await e(instantiation)\n const desired_speed = result.evalue.amount.evalue.evalue\n objects.runCommand = true\n objects.current.speed = desired_speed\n objects.current.speedUnitsOfUser = context.unit\n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlStart',\n apply: ({context, objects, api}) => {\n objects.runCommand = false \n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlEnd',\n apply: async ({context, objects, api}) => {\n // send a command to the drone\n if (objects.runCommand) {\n await api.sendCommand()\n }\n }\n })\n }"
|
|
10011
|
+
"apply": "(args) => {\n expectDirection(args)\n expectDistanceForMove(args)\n\n args.config.addSemantic({\n match: ({context, isA}) => isA(context.marker, 'quantity') && isA(context.unit?.marker, 'unitPerUnit'),\n apply: async ({context, objects, api, gr, fragments, e, say}) => {\n // send a command to the drone\n const instantiation = await fragments(\"quantity in meters per second\", { quantity: context })\n const result = await e(instantiation, where())\n const desired_speed = result.evalue.amount.evalue.evalue\n objects.runCommand = true\n objects.current.speed = desired_speed\n objects.current.speedUnitsOfUser = context.unit\n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlStart',\n apply: ({context, objects, api}) => {\n objects.runCommand = false \n }\n })\n\n args.config.addSemantic({\n match: ({context, objects, isA}) => objects.current.direction && context.marker == 'controlEnd',\n apply: async ({context, objects, api}) => {\n // send a command to the drone\n if (objects.runCommand) {\n await api.sendCommand()\n }\n }\n })\n }"
|
|
9976
10012
|
},
|
|
9977
10013
|
{
|
|
9978
10014
|
"extraConfig": true,
|
|
@@ -10105,6 +10141,7 @@
|
|
|
10105
10141
|
},
|
|
10106
10142
|
{
|
|
10107
10143
|
"id": "startPath",
|
|
10144
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:942",
|
|
10108
10145
|
"isA": [
|
|
10109
10146
|
"verb"
|
|
10110
10147
|
],
|
|
@@ -10203,6 +10240,7 @@
|
|
|
10203
10240
|
},
|
|
10204
10241
|
{
|
|
10205
10242
|
"id": "patrol",
|
|
10243
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:983",
|
|
10206
10244
|
"isA": [
|
|
10207
10245
|
"verb",
|
|
10208
10246
|
"repeatable",
|
|
@@ -10227,6 +10265,7 @@
|
|
|
10227
10265
|
},
|
|
10228
10266
|
{
|
|
10229
10267
|
"id": "lift",
|
|
10268
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1068",
|
|
10230
10269
|
"isA": [
|
|
10231
10270
|
"verb"
|
|
10232
10271
|
],
|
|
@@ -10249,6 +10288,7 @@
|
|
|
10249
10288
|
},
|
|
10250
10289
|
{
|
|
10251
10290
|
"id": "lower",
|
|
10291
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1080",
|
|
10252
10292
|
"isA": [
|
|
10253
10293
|
"verb"
|
|
10254
10294
|
],
|
|
@@ -10271,6 +10311,7 @@
|
|
|
10271
10311
|
},
|
|
10272
10312
|
{
|
|
10273
10313
|
"id": "openDrone",
|
|
10314
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1092",
|
|
10274
10315
|
"isA": [
|
|
10275
10316
|
"verb"
|
|
10276
10317
|
],
|
|
@@ -10293,6 +10334,7 @@
|
|
|
10293
10334
|
},
|
|
10294
10335
|
{
|
|
10295
10336
|
"id": "close",
|
|
10337
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1104",
|
|
10296
10338
|
"isA": [
|
|
10297
10339
|
"verb"
|
|
10298
10340
|
],
|
|
@@ -10315,6 +10357,7 @@
|
|
|
10315
10357
|
},
|
|
10316
10358
|
{
|
|
10317
10359
|
"id": "back",
|
|
10360
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1116",
|
|
10318
10361
|
"isA": [
|
|
10319
10362
|
"noun"
|
|
10320
10363
|
]
|
|
@@ -10327,6 +10370,7 @@
|
|
|
10327
10370
|
},
|
|
10328
10371
|
{
|
|
10329
10372
|
"id": "toPoint",
|
|
10373
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1128",
|
|
10330
10374
|
"isA": [
|
|
10331
10375
|
"preposition"
|
|
10332
10376
|
],
|
|
@@ -10355,6 +10399,7 @@
|
|
|
10355
10399
|
},
|
|
10356
10400
|
{
|
|
10357
10401
|
"id": "go",
|
|
10402
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1141",
|
|
10358
10403
|
"level": 0,
|
|
10359
10404
|
"isA": [
|
|
10360
10405
|
"verb",
|
|
@@ -10513,6 +10558,7 @@
|
|
|
10513
10558
|
},
|
|
10514
10559
|
{
|
|
10515
10560
|
"id": "turn",
|
|
10561
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1195",
|
|
10516
10562
|
"isA": [
|
|
10517
10563
|
"verb",
|
|
10518
10564
|
"action",
|
|
@@ -10551,6 +10597,7 @@
|
|
|
10551
10597
|
},
|
|
10552
10598
|
{
|
|
10553
10599
|
"id": "pause",
|
|
10600
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1254",
|
|
10554
10601
|
"isA": [
|
|
10555
10602
|
"verb"
|
|
10556
10603
|
],
|
|
@@ -10730,6 +10777,7 @@
|
|
|
10730
10777
|
},
|
|
10731
10778
|
{
|
|
10732
10779
|
"id": "stop",
|
|
10780
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1299",
|
|
10733
10781
|
"isA": [
|
|
10734
10782
|
"verb"
|
|
10735
10783
|
],
|
|
@@ -10745,29 +10793,29 @@
|
|
|
10745
10793
|
],
|
|
10746
10794
|
"semantics": [
|
|
10747
10795
|
{
|
|
10748
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10796
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1323"
|
|
10749
10797
|
},
|
|
10750
10798
|
{
|
|
10751
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10799
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1332"
|
|
10752
10800
|
},
|
|
10753
10801
|
{
|
|
10754
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10802
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1359"
|
|
10755
10803
|
},
|
|
10756
10804
|
{
|
|
10757
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10805
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1394"
|
|
10758
10806
|
},
|
|
10759
10807
|
{},
|
|
10760
10808
|
{
|
|
10761
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10809
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1431"
|
|
10762
10810
|
},
|
|
10763
10811
|
{
|
|
10764
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10812
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1465"
|
|
10765
10813
|
},
|
|
10766
10814
|
{
|
|
10767
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10815
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1491"
|
|
10768
10816
|
},
|
|
10769
10817
|
{
|
|
10770
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:
|
|
10818
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/drone.js:1498"
|
|
10771
10819
|
}
|
|
10772
10820
|
]
|
|
10773
10821
|
}
|
|
@@ -10855,8 +10903,7 @@
|
|
|
10855
10903
|
},
|
|
10856
10904
|
"level": 1,
|
|
10857
10905
|
"context_index": 1,
|
|
10858
|
-
"topLevel": true
|
|
10859
|
-
"context_id": 2
|
|
10906
|
+
"topLevel": true
|
|
10860
10907
|
}
|
|
10861
10908
|
],
|
|
10862
10909
|
"generated": [
|
|
@@ -10964,6 +11011,9 @@
|
|
|
10964
11011
|
}
|
|
10965
11012
|
],
|
|
10966
11013
|
"learned_contextual_priorities": [],
|
|
11014
|
+
"explain_associations_details": [
|
|
11015
|
+
null
|
|
11016
|
+
],
|
|
10967
11017
|
"query": "quantity in meters",
|
|
10968
11018
|
"skipSemantics": true,
|
|
10969
11019
|
"key": {
|
|
@@ -11052,8 +11102,7 @@
|
|
|
11052
11102
|
},
|
|
11053
11103
|
"level": 1,
|
|
11054
11104
|
"context_index": 1,
|
|
11055
|
-
"topLevel": true
|
|
11056
|
-
"context_id": 2
|
|
11105
|
+
"topLevel": true
|
|
11057
11106
|
}
|
|
11058
11107
|
],
|
|
11059
11108
|
"generated": [
|
|
@@ -11161,6 +11210,9 @@
|
|
|
11161
11210
|
}
|
|
11162
11211
|
],
|
|
11163
11212
|
"learned_contextual_priorities": [],
|
|
11213
|
+
"explain_associations_details": [
|
|
11214
|
+
null
|
|
11215
|
+
],
|
|
11164
11216
|
"query": "quantity in seconds",
|
|
11165
11217
|
"skipSemantics": true,
|
|
11166
11218
|
"key": {
|
|
@@ -11352,8 +11404,7 @@
|
|
|
11352
11404
|
},
|
|
11353
11405
|
"level": 1,
|
|
11354
11406
|
"context_index": 1,
|
|
11355
|
-
"topLevel": true
|
|
11356
|
-
"context_id": 2
|
|
11407
|
+
"topLevel": true
|
|
11357
11408
|
}
|
|
11358
11409
|
],
|
|
11359
11410
|
"generated": [
|
|
@@ -11571,6 +11622,9 @@
|
|
|
11571
11622
|
}
|
|
11572
11623
|
],
|
|
11573
11624
|
"learned_contextual_priorities": [],
|
|
11625
|
+
"explain_associations_details": [
|
|
11626
|
+
null
|
|
11627
|
+
],
|
|
11574
11628
|
"query": "quantity in meters per second",
|
|
11575
11629
|
"skipSemantics": true,
|
|
11576
11630
|
"key": {
|
|
@@ -11657,7 +11711,7 @@
|
|
|
11657
11711
|
},
|
|
11658
11712
|
{
|
|
11659
11713
|
"op": [
|
|
11660
|
-
"
|
|
11714
|
+
"number",
|
|
11661
11715
|
0
|
|
11662
11716
|
],
|
|
11663
11717
|
"ops": [
|
|
@@ -11671,6 +11725,19 @@
|
|
|
11671
11725
|
]
|
|
11672
11726
|
],
|
|
11673
11727
|
"counter": 4
|
|
11728
|
+
},
|
|
11729
|
+
{
|
|
11730
|
+
"op": [
|
|
11731
|
+
"amountOfCoordinate",
|
|
11732
|
+
0
|
|
11733
|
+
],
|
|
11734
|
+
"ops": [
|
|
11735
|
+
[
|
|
11736
|
+
"amountOfCoordinate",
|
|
11737
|
+
0
|
|
11738
|
+
]
|
|
11739
|
+
],
|
|
11740
|
+
"counter": 5
|
|
11674
11741
|
}
|
|
11675
11742
|
]
|
|
11676
11743
|
},
|
|
@@ -11679,6 +11746,7 @@
|
|
|
11679
11746
|
{
|
|
11680
11747
|
"marker": "quantity",
|
|
11681
11748
|
"dead": true,
|
|
11749
|
+
"instance": true,
|
|
11682
11750
|
"unit": {
|
|
11683
11751
|
"marker": "unitPerUnit",
|
|
11684
11752
|
"default": true,
|
|
@@ -11746,6 +11814,7 @@
|
|
|
11746
11814
|
"level": 0
|
|
11747
11815
|
},
|
|
11748
11816
|
"amount": {
|
|
11817
|
+
"isInstance": false,
|
|
11749
11818
|
"marker": "number",
|
|
11750
11819
|
"value": "number",
|
|
11751
11820
|
"default": true,
|
|
@@ -11755,10 +11824,11 @@
|
|
|
11755
11824
|
"start": 0,
|
|
11756
11825
|
"end": 5
|
|
11757
11826
|
},
|
|
11827
|
+
"dead": true,
|
|
11758
11828
|
"types": [
|
|
11759
11829
|
"number"
|
|
11760
11830
|
],
|
|
11761
|
-
"level":
|
|
11831
|
+
"level": 1
|
|
11762
11832
|
},
|
|
11763
11833
|
"interpolate": [
|
|
11764
11834
|
{
|
|
@@ -11775,8 +11845,7 @@
|
|
|
11775
11845
|
},
|
|
11776
11846
|
"level": 1,
|
|
11777
11847
|
"context_index": 1,
|
|
11778
|
-
"topLevel": true
|
|
11779
|
-
"context_id": 2
|
|
11848
|
+
"topLevel": true
|
|
11780
11849
|
}
|
|
11781
11850
|
],
|
|
11782
11851
|
"generated": [
|
|
@@ -11938,22 +12007,50 @@
|
|
|
11938
12007
|
"operators": [
|
|
11939
12008
|
{
|
|
11940
12009
|
"marker": [
|
|
11941
|
-
"
|
|
12010
|
+
"number",
|
|
11942
12011
|
1
|
|
11943
12012
|
],
|
|
11944
12013
|
"range": {
|
|
11945
12014
|
"start": 0,
|
|
12015
|
+
"end": 5
|
|
12016
|
+
}
|
|
12017
|
+
},
|
|
12018
|
+
{
|
|
12019
|
+
"marker": [
|
|
12020
|
+
"unitPerUnit",
|
|
12021
|
+
0
|
|
12022
|
+
],
|
|
12023
|
+
"range": {
|
|
12024
|
+
"start": 7,
|
|
11946
12025
|
"end": 23
|
|
11947
12026
|
}
|
|
11948
12027
|
}
|
|
11949
12028
|
],
|
|
11950
12029
|
"counter": 5
|
|
12030
|
+
},
|
|
12031
|
+
{
|
|
12032
|
+
"operators": [
|
|
12033
|
+
{
|
|
12034
|
+
"marker": [
|
|
12035
|
+
"quantity",
|
|
12036
|
+
1
|
|
12037
|
+
],
|
|
12038
|
+
"range": {
|
|
12039
|
+
"start": 0,
|
|
12040
|
+
"end": 23
|
|
12041
|
+
}
|
|
12042
|
+
}
|
|
12043
|
+
],
|
|
12044
|
+
"counter": 6
|
|
11951
12045
|
}
|
|
11952
12046
|
],
|
|
11953
12047
|
"length": 1
|
|
11954
12048
|
}
|
|
11955
12049
|
],
|
|
11956
12050
|
"learned_contextual_priorities": [],
|
|
12051
|
+
"explain_associations_details": [
|
|
12052
|
+
null
|
|
12053
|
+
],
|
|
11957
12054
|
"query": "number meters per second",
|
|
11958
12055
|
"skipSemantics": true,
|
|
11959
12056
|
"key": {
|
|
@@ -12041,8 +12138,7 @@
|
|
|
12041
12138
|
},
|
|
12042
12139
|
"level": 1,
|
|
12043
12140
|
"context_index": 1,
|
|
12044
|
-
"topLevel": true
|
|
12045
|
-
"context_id": 2
|
|
12141
|
+
"topLevel": true
|
|
12046
12142
|
}
|
|
12047
12143
|
],
|
|
12048
12144
|
"generated": [
|
|
@@ -12150,6 +12246,9 @@
|
|
|
12150
12246
|
}
|
|
12151
12247
|
],
|
|
12152
12248
|
"learned_contextual_priorities": [],
|
|
12249
|
+
"explain_associations_details": [
|
|
12250
|
+
null
|
|
12251
|
+
],
|
|
12153
12252
|
"query": "quantity in units",
|
|
12154
12253
|
"skipSemantics": true,
|
|
12155
12254
|
"key": {
|
|
@@ -12161,7 +12260,7 @@
|
|
|
12161
12260
|
"opChoices": [
|
|
12162
12261
|
{
|
|
12163
12262
|
"op": [
|
|
12164
|
-
"
|
|
12263
|
+
"number",
|
|
12165
12264
|
0
|
|
12166
12265
|
],
|
|
12167
12266
|
"ops": [
|
|
@@ -12182,7 +12281,7 @@
|
|
|
12182
12281
|
},
|
|
12183
12282
|
{
|
|
12184
12283
|
"op": [
|
|
12185
|
-
"
|
|
12284
|
+
"radian",
|
|
12186
12285
|
0
|
|
12187
12286
|
],
|
|
12188
12287
|
"ops": [
|
|
@@ -12191,11 +12290,24 @@
|
|
|
12191
12290
|
0
|
|
12192
12291
|
],
|
|
12193
12292
|
[
|
|
12194
|
-
"
|
|
12293
|
+
"radian",
|
|
12195
12294
|
0
|
|
12196
12295
|
]
|
|
12197
12296
|
],
|
|
12198
12297
|
"counter": 2
|
|
12298
|
+
},
|
|
12299
|
+
{
|
|
12300
|
+
"op": [
|
|
12301
|
+
"amountOfCoordinate",
|
|
12302
|
+
0
|
|
12303
|
+
],
|
|
12304
|
+
"ops": [
|
|
12305
|
+
[
|
|
12306
|
+
"amountOfCoordinate",
|
|
12307
|
+
0
|
|
12308
|
+
]
|
|
12309
|
+
],
|
|
12310
|
+
"counter": 3
|
|
12199
12311
|
}
|
|
12200
12312
|
]
|
|
12201
12313
|
},
|
|
@@ -12204,6 +12316,7 @@
|
|
|
12204
12316
|
{
|
|
12205
12317
|
"marker": "quantity",
|
|
12206
12318
|
"dead": true,
|
|
12319
|
+
"instance": true,
|
|
12207
12320
|
"unit": {
|
|
12208
12321
|
"value": "radian",
|
|
12209
12322
|
"number": "many",
|
|
@@ -12222,6 +12335,7 @@
|
|
|
12222
12335
|
"level": 0
|
|
12223
12336
|
},
|
|
12224
12337
|
"amount": {
|
|
12338
|
+
"isInstance": false,
|
|
12225
12339
|
"marker": "number",
|
|
12226
12340
|
"value": "number",
|
|
12227
12341
|
"default": true,
|
|
@@ -12231,10 +12345,11 @@
|
|
|
12231
12345
|
"start": 0,
|
|
12232
12346
|
"end": 5
|
|
12233
12347
|
},
|
|
12348
|
+
"dead": true,
|
|
12234
12349
|
"types": [
|
|
12235
12350
|
"number"
|
|
12236
12351
|
],
|
|
12237
|
-
"level":
|
|
12352
|
+
"level": 1
|
|
12238
12353
|
},
|
|
12239
12354
|
"interpolate": [
|
|
12240
12355
|
{
|
|
@@ -12251,8 +12366,7 @@
|
|
|
12251
12366
|
},
|
|
12252
12367
|
"level": 1,
|
|
12253
12368
|
"context_index": 1,
|
|
12254
|
-
"topLevel": true
|
|
12255
|
-
"context_id": 2
|
|
12369
|
+
"topLevel": true
|
|
12256
12370
|
}
|
|
12257
12371
|
],
|
|
12258
12372
|
"generated": [
|
|
@@ -12300,7 +12414,7 @@
|
|
|
12300
12414
|
{
|
|
12301
12415
|
"marker": [
|
|
12302
12416
|
"number",
|
|
12303
|
-
|
|
12417
|
+
1
|
|
12304
12418
|
],
|
|
12305
12419
|
"range": {
|
|
12306
12420
|
"start": 0,
|
|
@@ -12324,22 +12438,50 @@
|
|
|
12324
12438
|
"operators": [
|
|
12325
12439
|
{
|
|
12326
12440
|
"marker": [
|
|
12327
|
-
"
|
|
12441
|
+
"number",
|
|
12328
12442
|
1
|
|
12329
12443
|
],
|
|
12330
12444
|
"range": {
|
|
12331
12445
|
"start": 0,
|
|
12446
|
+
"end": 5
|
|
12447
|
+
}
|
|
12448
|
+
},
|
|
12449
|
+
{
|
|
12450
|
+
"marker": [
|
|
12451
|
+
"radian",
|
|
12452
|
+
0
|
|
12453
|
+
],
|
|
12454
|
+
"range": {
|
|
12455
|
+
"start": 7,
|
|
12332
12456
|
"end": 13
|
|
12333
12457
|
}
|
|
12334
12458
|
}
|
|
12335
12459
|
],
|
|
12336
12460
|
"counter": 3
|
|
12461
|
+
},
|
|
12462
|
+
{
|
|
12463
|
+
"operators": [
|
|
12464
|
+
{
|
|
12465
|
+
"marker": [
|
|
12466
|
+
"quantity",
|
|
12467
|
+
1
|
|
12468
|
+
],
|
|
12469
|
+
"range": {
|
|
12470
|
+
"start": 0,
|
|
12471
|
+
"end": 13
|
|
12472
|
+
}
|
|
12473
|
+
}
|
|
12474
|
+
],
|
|
12475
|
+
"counter": 4
|
|
12337
12476
|
}
|
|
12338
12477
|
],
|
|
12339
12478
|
"length": 1
|
|
12340
12479
|
}
|
|
12341
12480
|
],
|
|
12342
12481
|
"learned_contextual_priorities": [],
|
|
12482
|
+
"explain_associations_details": [
|
|
12483
|
+
null
|
|
12484
|
+
],
|
|
12343
12485
|
"query": "number radians",
|
|
12344
12486
|
"skipSemantics": true,
|
|
12345
12487
|
"key": {
|
|
@@ -12351,7 +12493,7 @@
|
|
|
12351
12493
|
"opChoices": [
|
|
12352
12494
|
{
|
|
12353
12495
|
"op": [
|
|
12354
|
-
"
|
|
12496
|
+
"integer",
|
|
12355
12497
|
0
|
|
12356
12498
|
],
|
|
12357
12499
|
"ops": [
|
|
@@ -12380,7 +12522,7 @@
|
|
|
12380
12522
|
},
|
|
12381
12523
|
{
|
|
12382
12524
|
"op": [
|
|
12383
|
-
"
|
|
12525
|
+
"degree",
|
|
12384
12526
|
0
|
|
12385
12527
|
],
|
|
12386
12528
|
"ops": [
|
|
@@ -12389,11 +12531,11 @@
|
|
|
12389
12531
|
0
|
|
12390
12532
|
],
|
|
12391
12533
|
[
|
|
12392
|
-
"
|
|
12534
|
+
"degree",
|
|
12393
12535
|
0
|
|
12394
12536
|
],
|
|
12395
12537
|
[
|
|
12396
|
-
"
|
|
12538
|
+
"delayTime",
|
|
12397
12539
|
0
|
|
12398
12540
|
],
|
|
12399
12541
|
[
|
|
@@ -12403,6 +12545,27 @@
|
|
|
12403
12545
|
],
|
|
12404
12546
|
"counter": 2
|
|
12405
12547
|
},
|
|
12548
|
+
{
|
|
12549
|
+
"op": [
|
|
12550
|
+
"amountOfCoordinate",
|
|
12551
|
+
0
|
|
12552
|
+
],
|
|
12553
|
+
"ops": [
|
|
12554
|
+
[
|
|
12555
|
+
"amountOfCoordinate",
|
|
12556
|
+
0
|
|
12557
|
+
],
|
|
12558
|
+
[
|
|
12559
|
+
"delayTime",
|
|
12560
|
+
0
|
|
12561
|
+
],
|
|
12562
|
+
[
|
|
12563
|
+
"radian",
|
|
12564
|
+
0
|
|
12565
|
+
]
|
|
12566
|
+
],
|
|
12567
|
+
"counter": 3
|
|
12568
|
+
},
|
|
12406
12569
|
{
|
|
12407
12570
|
"op": [
|
|
12408
12571
|
"radian",
|
|
@@ -12418,7 +12581,7 @@
|
|
|
12418
12581
|
0
|
|
12419
12582
|
]
|
|
12420
12583
|
],
|
|
12421
|
-
"counter":
|
|
12584
|
+
"counter": 4
|
|
12422
12585
|
},
|
|
12423
12586
|
{
|
|
12424
12587
|
"op": [
|
|
@@ -12431,7 +12594,7 @@
|
|
|
12431
12594
|
0
|
|
12432
12595
|
]
|
|
12433
12596
|
],
|
|
12434
|
-
"counter":
|
|
12597
|
+
"counter": 5
|
|
12435
12598
|
}
|
|
12436
12599
|
]
|
|
12437
12600
|
},
|
|
@@ -12450,6 +12613,7 @@
|
|
|
12450
12613
|
"from": {
|
|
12451
12614
|
"marker": "quantity",
|
|
12452
12615
|
"dead": true,
|
|
12616
|
+
"instance": true,
|
|
12453
12617
|
"unit": {
|
|
12454
12618
|
"value": "degree",
|
|
12455
12619
|
"number": "many",
|
|
@@ -12468,8 +12632,8 @@
|
|
|
12468
12632
|
"level": 0
|
|
12469
12633
|
},
|
|
12470
12634
|
"amount": {
|
|
12635
|
+
"isInstance": true,
|
|
12471
12636
|
"value": 40,
|
|
12472
|
-
"instance": true,
|
|
12473
12637
|
"text": "40",
|
|
12474
12638
|
"marker": "integer",
|
|
12475
12639
|
"word": "40",
|
|
@@ -12477,10 +12641,11 @@
|
|
|
12477
12641
|
"start": 0,
|
|
12478
12642
|
"end": 1
|
|
12479
12643
|
},
|
|
12644
|
+
"dead": true,
|
|
12480
12645
|
"types": [
|
|
12481
12646
|
"integer"
|
|
12482
12647
|
],
|
|
12483
|
-
"level":
|
|
12648
|
+
"level": 1
|
|
12484
12649
|
},
|
|
12485
12650
|
"interpolate": [
|
|
12486
12651
|
{
|
|
@@ -12519,8 +12684,7 @@
|
|
|
12519
12684
|
},
|
|
12520
12685
|
"level": 1,
|
|
12521
12686
|
"context_index": 1,
|
|
12522
|
-
"topLevel": true
|
|
12523
|
-
"context_id": 2
|
|
12687
|
+
"topLevel": true
|
|
12524
12688
|
}
|
|
12525
12689
|
],
|
|
12526
12690
|
"generated": [
|
|
@@ -12588,7 +12752,7 @@
|
|
|
12588
12752
|
{
|
|
12589
12753
|
"marker": [
|
|
12590
12754
|
"integer",
|
|
12591
|
-
|
|
12755
|
+
1
|
|
12592
12756
|
],
|
|
12593
12757
|
"range": {
|
|
12594
12758
|
"start": 0,
|
|
@@ -12632,17 +12796,27 @@
|
|
|
12632
12796
|
"operators": [
|
|
12633
12797
|
{
|
|
12634
12798
|
"marker": [
|
|
12635
|
-
"
|
|
12799
|
+
"integer",
|
|
12636
12800
|
1
|
|
12637
12801
|
],
|
|
12638
12802
|
"range": {
|
|
12639
12803
|
"start": 0,
|
|
12804
|
+
"end": 1
|
|
12805
|
+
}
|
|
12806
|
+
},
|
|
12807
|
+
{
|
|
12808
|
+
"marker": [
|
|
12809
|
+
"degree",
|
|
12810
|
+
0
|
|
12811
|
+
],
|
|
12812
|
+
"range": {
|
|
12813
|
+
"start": 3,
|
|
12640
12814
|
"end": 9
|
|
12641
12815
|
}
|
|
12642
12816
|
},
|
|
12643
12817
|
{
|
|
12644
12818
|
"marker": [
|
|
12645
|
-
"
|
|
12819
|
+
"delayTime",
|
|
12646
12820
|
0
|
|
12647
12821
|
],
|
|
12648
12822
|
"range": {
|
|
@@ -12702,22 +12876,60 @@
|
|
|
12702
12876
|
"operators": [
|
|
12703
12877
|
{
|
|
12704
12878
|
"marker": [
|
|
12705
|
-
"
|
|
12879
|
+
"quantity",
|
|
12706
12880
|
1
|
|
12707
12881
|
],
|
|
12708
12882
|
"range": {
|
|
12709
12883
|
"start": 0,
|
|
12884
|
+
"end": 9
|
|
12885
|
+
}
|
|
12886
|
+
},
|
|
12887
|
+
{
|
|
12888
|
+
"marker": [
|
|
12889
|
+
"convertToUnits",
|
|
12890
|
+
0
|
|
12891
|
+
],
|
|
12892
|
+
"range": {
|
|
12893
|
+
"start": 11,
|
|
12894
|
+
"end": 12
|
|
12895
|
+
}
|
|
12896
|
+
},
|
|
12897
|
+
{
|
|
12898
|
+
"marker": [
|
|
12899
|
+
"radian",
|
|
12900
|
+
0
|
|
12901
|
+
],
|
|
12902
|
+
"range": {
|
|
12903
|
+
"start": 14,
|
|
12710
12904
|
"end": 20
|
|
12711
12905
|
}
|
|
12712
12906
|
}
|
|
12713
12907
|
],
|
|
12714
12908
|
"counter": 5
|
|
12909
|
+
},
|
|
12910
|
+
{
|
|
12911
|
+
"operators": [
|
|
12912
|
+
{
|
|
12913
|
+
"marker": [
|
|
12914
|
+
"convertToUnits",
|
|
12915
|
+
1
|
|
12916
|
+
],
|
|
12917
|
+
"range": {
|
|
12918
|
+
"start": 0,
|
|
12919
|
+
"end": 20
|
|
12920
|
+
}
|
|
12921
|
+
}
|
|
12922
|
+
],
|
|
12923
|
+
"counter": 6
|
|
12715
12924
|
}
|
|
12716
12925
|
],
|
|
12717
12926
|
"length": 1
|
|
12718
12927
|
}
|
|
12719
12928
|
],
|
|
12720
12929
|
"learned_contextual_priorities": [],
|
|
12930
|
+
"explain_associations_details": [
|
|
12931
|
+
null
|
|
12932
|
+
],
|
|
12721
12933
|
"query": "40 degrees in radians",
|
|
12722
12934
|
"skipSemantics": true,
|
|
12723
12935
|
"key": {
|
|
@@ -12757,8 +12969,7 @@
|
|
|
12757
12969
|
"dead": true,
|
|
12758
12970
|
"level": 0,
|
|
12759
12971
|
"context_index": 1,
|
|
12760
|
-
"topLevel": true
|
|
12761
|
-
"context_id": 2
|
|
12972
|
+
"topLevel": true
|
|
12762
12973
|
}
|
|
12763
12974
|
],
|
|
12764
12975
|
"generated": [
|
|
@@ -12811,6 +13022,9 @@
|
|
|
12811
13022
|
}
|
|
12812
13023
|
],
|
|
12813
13024
|
"learned_contextual_priorities": [],
|
|
13025
|
+
"explain_associations_details": [
|
|
13026
|
+
null
|
|
13027
|
+
],
|
|
12814
13028
|
"query": "path",
|
|
12815
13029
|
"skipSemantics": true,
|
|
12816
13030
|
"key": {
|
|
@@ -12850,8 +13064,7 @@
|
|
|
12850
13064
|
"dead": true,
|
|
12851
13065
|
"level": 0,
|
|
12852
13066
|
"context_index": 1,
|
|
12853
|
-
"topLevel": true
|
|
12854
|
-
"context_id": 2
|
|
13067
|
+
"topLevel": true
|
|
12855
13068
|
}
|
|
12856
13069
|
],
|
|
12857
13070
|
"generated": [
|
|
@@ -12904,6 +13117,9 @@
|
|
|
12904
13117
|
}
|
|
12905
13118
|
],
|
|
12906
13119
|
"learned_contextual_priorities": [],
|
|
13120
|
+
"explain_associations_details": [
|
|
13121
|
+
null
|
|
13122
|
+
],
|
|
12907
13123
|
"query": "forward",
|
|
12908
13124
|
"skipSemantics": true,
|
|
12909
13125
|
"key": {
|
|
@@ -18920,16 +19136,41 @@
|
|
|
18920
19136
|
"operators": [
|
|
18921
19137
|
{
|
|
18922
19138
|
"marker": [
|
|
18923
|
-
"
|
|
19139
|
+
"number",
|
|
18924
19140
|
1
|
|
18925
19141
|
],
|
|
18926
19142
|
"range": {
|
|
18927
19143
|
"start": 0,
|
|
19144
|
+
"end": 5
|
|
19145
|
+
}
|
|
19146
|
+
},
|
|
19147
|
+
{
|
|
19148
|
+
"marker": [
|
|
19149
|
+
"unitPerUnit",
|
|
19150
|
+
0
|
|
19151
|
+
],
|
|
19152
|
+
"range": {
|
|
19153
|
+
"start": 7,
|
|
18928
19154
|
"end": 23
|
|
18929
19155
|
}
|
|
18930
19156
|
}
|
|
18931
19157
|
],
|
|
18932
19158
|
"counter": 5
|
|
19159
|
+
},
|
|
19160
|
+
{
|
|
19161
|
+
"operators": [
|
|
19162
|
+
{
|
|
19163
|
+
"marker": [
|
|
19164
|
+
"quantity",
|
|
19165
|
+
1
|
|
19166
|
+
],
|
|
19167
|
+
"range": {
|
|
19168
|
+
"start": 0,
|
|
19169
|
+
"end": 23
|
|
19170
|
+
}
|
|
19171
|
+
}
|
|
19172
|
+
],
|
|
19173
|
+
"counter": 6
|
|
18933
19174
|
}
|
|
18934
19175
|
],
|
|
18935
19176
|
"length": 1
|
|
@@ -19056,7 +19297,7 @@
|
|
|
19056
19297
|
{
|
|
19057
19298
|
"marker": [
|
|
19058
19299
|
"number",
|
|
19059
|
-
|
|
19300
|
+
1
|
|
19060
19301
|
],
|
|
19061
19302
|
"range": {
|
|
19062
19303
|
"start": 0,
|
|
@@ -19080,16 +19321,41 @@
|
|
|
19080
19321
|
"operators": [
|
|
19081
19322
|
{
|
|
19082
19323
|
"marker": [
|
|
19083
|
-
"
|
|
19324
|
+
"number",
|
|
19084
19325
|
1
|
|
19085
19326
|
],
|
|
19086
19327
|
"range": {
|
|
19087
19328
|
"start": 0,
|
|
19329
|
+
"end": 5
|
|
19330
|
+
}
|
|
19331
|
+
},
|
|
19332
|
+
{
|
|
19333
|
+
"marker": [
|
|
19334
|
+
"radian",
|
|
19335
|
+
0
|
|
19336
|
+
],
|
|
19337
|
+
"range": {
|
|
19338
|
+
"start": 7,
|
|
19088
19339
|
"end": 13
|
|
19089
19340
|
}
|
|
19090
19341
|
}
|
|
19091
19342
|
],
|
|
19092
19343
|
"counter": 3
|
|
19344
|
+
},
|
|
19345
|
+
{
|
|
19346
|
+
"operators": [
|
|
19347
|
+
{
|
|
19348
|
+
"marker": [
|
|
19349
|
+
"quantity",
|
|
19350
|
+
1
|
|
19351
|
+
],
|
|
19352
|
+
"range": {
|
|
19353
|
+
"start": 0,
|
|
19354
|
+
"end": 13
|
|
19355
|
+
}
|
|
19356
|
+
}
|
|
19357
|
+
],
|
|
19358
|
+
"counter": 4
|
|
19093
19359
|
}
|
|
19094
19360
|
],
|
|
19095
19361
|
"length": 1
|
|
@@ -19146,7 +19412,7 @@
|
|
|
19146
19412
|
{
|
|
19147
19413
|
"marker": [
|
|
19148
19414
|
"integer",
|
|
19149
|
-
|
|
19415
|
+
1
|
|
19150
19416
|
],
|
|
19151
19417
|
"range": {
|
|
19152
19418
|
"start": 0,
|
|
@@ -19190,17 +19456,27 @@
|
|
|
19190
19456
|
"operators": [
|
|
19191
19457
|
{
|
|
19192
19458
|
"marker": [
|
|
19193
|
-
"
|
|
19459
|
+
"integer",
|
|
19194
19460
|
1
|
|
19195
19461
|
],
|
|
19196
19462
|
"range": {
|
|
19197
19463
|
"start": 0,
|
|
19464
|
+
"end": 1
|
|
19465
|
+
}
|
|
19466
|
+
},
|
|
19467
|
+
{
|
|
19468
|
+
"marker": [
|
|
19469
|
+
"degree",
|
|
19470
|
+
0
|
|
19471
|
+
],
|
|
19472
|
+
"range": {
|
|
19473
|
+
"start": 3,
|
|
19198
19474
|
"end": 9
|
|
19199
19475
|
}
|
|
19200
19476
|
},
|
|
19201
19477
|
{
|
|
19202
19478
|
"marker": [
|
|
19203
|
-
"
|
|
19479
|
+
"delayTime",
|
|
19204
19480
|
0
|
|
19205
19481
|
],
|
|
19206
19482
|
"range": {
|
|
@@ -19260,16 +19536,51 @@
|
|
|
19260
19536
|
"operators": [
|
|
19261
19537
|
{
|
|
19262
19538
|
"marker": [
|
|
19263
|
-
"
|
|
19539
|
+
"quantity",
|
|
19264
19540
|
1
|
|
19265
19541
|
],
|
|
19266
19542
|
"range": {
|
|
19267
19543
|
"start": 0,
|
|
19544
|
+
"end": 9
|
|
19545
|
+
}
|
|
19546
|
+
},
|
|
19547
|
+
{
|
|
19548
|
+
"marker": [
|
|
19549
|
+
"convertToUnits",
|
|
19550
|
+
0
|
|
19551
|
+
],
|
|
19552
|
+
"range": {
|
|
19553
|
+
"start": 11,
|
|
19554
|
+
"end": 12
|
|
19555
|
+
}
|
|
19556
|
+
},
|
|
19557
|
+
{
|
|
19558
|
+
"marker": [
|
|
19559
|
+
"radian",
|
|
19560
|
+
0
|
|
19561
|
+
],
|
|
19562
|
+
"range": {
|
|
19563
|
+
"start": 14,
|
|
19268
19564
|
"end": 20
|
|
19269
19565
|
}
|
|
19270
19566
|
}
|
|
19271
19567
|
],
|
|
19272
19568
|
"counter": 5
|
|
19569
|
+
},
|
|
19570
|
+
{
|
|
19571
|
+
"operators": [
|
|
19572
|
+
{
|
|
19573
|
+
"marker": [
|
|
19574
|
+
"convertToUnits",
|
|
19575
|
+
1
|
|
19576
|
+
],
|
|
19577
|
+
"range": {
|
|
19578
|
+
"start": 0,
|
|
19579
|
+
"end": 20
|
|
19580
|
+
}
|
|
19581
|
+
}
|
|
19582
|
+
],
|
|
19583
|
+
"counter": 6
|
|
19273
19584
|
}
|
|
19274
19585
|
],
|
|
19275
19586
|
"length": 1
|