ekms 9.6.3-beta.9 → 9.7.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 +2767 -13
- package/common/actions.js +112 -5
- package/common/actions.test.json +79138 -384
- package/common/angle.instance.json +138 -834
- package/common/angle.test.json +172 -127
- package/common/animals.instance.json +260 -0
- package/common/articles.js +1 -2
- package/common/avatar.test.json +173 -33
- package/common/can.instance.json +40 -0
- package/common/colors.instance.json +280 -0
- package/common/comparable.instance.json +120 -0
- package/common/compass.instance.json +63 -18
- package/common/concept.js +2 -1
- package/common/conjunction.js +11 -17
- package/common/control.js +42 -0
- package/common/control.test.json +2 -0
- package/common/crew.instance.json +520 -0
- package/common/dates.instance.json +100 -0
- package/common/dimension.instance.json +264 -69
- package/common/dimension.js +2 -2
- package/common/dimension.test.json +545 -441
- package/common/drone.instance.json +9101 -794
- package/common/drone.js +257 -68
- package/common/drone.test.json +415672 -38730
- package/common/drone_v1.instance.json +462 -57
- package/common/edible.instance.json +640 -0
- package/common/emotions.instance.json +20 -0
- package/common/evaluate.js +1 -1
- package/common/fastfood.instance.json +1310 -176
- package/common/formulas.instance.json +20 -5
- package/common/formulas.js +1 -1
- package/common/gdefaults.js +19 -3
- package/common/help.test.json +23 -3
- package/common/helpers/conjunction.js +2 -0
- package/common/helpers/formulas.js +6 -0
- package/common/helpers/properties.js +9 -7
- package/common/helpers.js +11 -6
- package/common/hierarchy.js +2 -0
- package/common/kirk.instance.json +20 -0
- package/common/length.instance.json +1117 -5708
- package/common/length.test.json +29761 -12488
- package/common/logging.js +41 -0
- package/common/logging.test.json +2 -0
- package/common/math.instance.json +30 -12
- package/common/math.js +6 -5
- package/common/menus.instance.json +140 -35
- package/common/meta.js +1 -1
- package/common/nameable.js +0 -2
- package/common/nameable.test.json +252 -150
- package/common/ordering.instance.json +40 -0
- package/common/people.instance.json +160 -0
- package/common/pipboy.instance.json +340 -85
- package/common/pokemon.instance.json +260 -0
- package/common/pressure.instance.json +108 -370
- package/common/properties.instance.json +20 -0
- package/common/properties.js +2 -1
- package/common/properties.test.json +2754 -2142
- package/common/rates.test.json +6914 -2428
- package/common/reports.instance.json +49 -176
- package/common/sdefaults.js +18 -5
- package/common/spock.instance.json +20 -0
- package/common/stm.js +95 -12
- package/common/stm.test.json +2670 -54
- package/common/temperature.instance.json +709 -2284
- package/common/time.instance.json +14241 -2228
- package/common/time.js +30 -3
- package/common/time.test.json +9914 -0
- package/common/tokenize.js +2 -0
- package/common/ui.instance.json +20 -5
- package/common/ui.js +1 -1
- package/common/weight.instance.json +621 -1886
- package/common/wp.instance.json +280 -70
- package/main.js +4 -0
- package/package.json +11 -5
package/common/tokenize.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const { knowledgeModule, where } = require('./runtime').theprogrammablemind
|
|
2
2
|
const { defaultContextCheck } = require('./helpers')
|
|
3
|
+
const logging = require('./logging')
|
|
3
4
|
const tokenize_tests = require('./tokenize.test.json')
|
|
4
5
|
|
|
5
6
|
const config = {
|
|
@@ -61,6 +62,7 @@ function initializer({objects, config, isModule}) {
|
|
|
61
62
|
|
|
62
63
|
knowledgeModule( {
|
|
63
64
|
config,
|
|
65
|
+
includes: [logging],
|
|
64
66
|
initializer,
|
|
65
67
|
|
|
66
68
|
module,
|
package/common/ui.instance.json
CHANGED
|
@@ -159,6 +159,16 @@
|
|
|
159
159
|
"hierarchyAble",
|
|
160
160
|
false
|
|
161
161
|
],
|
|
162
|
+
[
|
|
163
|
+
"deletable",
|
|
164
|
+
"deletable",
|
|
165
|
+
false
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
"delete",
|
|
169
|
+
"verb",
|
|
170
|
+
false
|
|
171
|
+
],
|
|
162
172
|
[
|
|
163
173
|
"descending",
|
|
164
174
|
"hierarchyAble",
|
|
@@ -469,11 +479,6 @@
|
|
|
469
479
|
"concept",
|
|
470
480
|
false
|
|
471
481
|
],
|
|
472
|
-
[
|
|
473
|
-
"mathematicalExpression",
|
|
474
|
-
"number",
|
|
475
|
-
false
|
|
476
|
-
],
|
|
477
482
|
[
|
|
478
483
|
"mathematical_operator",
|
|
479
484
|
"adjective",
|
|
@@ -569,6 +574,11 @@
|
|
|
569
574
|
"thisAble",
|
|
570
575
|
false
|
|
571
576
|
],
|
|
577
|
+
[
|
|
578
|
+
"memorable",
|
|
579
|
+
"deletable",
|
|
580
|
+
false
|
|
581
|
+
],
|
|
572
582
|
[
|
|
573
583
|
"memorable",
|
|
574
584
|
"theAble",
|
|
@@ -869,6 +879,11 @@
|
|
|
869
879
|
"theAble",
|
|
870
880
|
false
|
|
871
881
|
],
|
|
882
|
+
[
|
|
883
|
+
"recall",
|
|
884
|
+
"verb",
|
|
885
|
+
false
|
|
886
|
+
],
|
|
872
887
|
[
|
|
873
888
|
"remember",
|
|
874
889
|
"verb",
|
package/common/ui.js
CHANGED
|
@@ -54,7 +54,7 @@ const config = {
|
|
|
54
54
|
"([right])",
|
|
55
55
|
"([stop] ([action]))",
|
|
56
56
|
"([listening])",
|
|
57
|
-
"(([direction]) [moveAmount|] (number/* || quantity != null))"
|
|
57
|
+
"(([direction]) [moveAmount|] (mathematicalExpression/* || number/* || quantity != null))"
|
|
58
58
|
// "(([direction]) [moveAmount|] (number/* || context.quantity))"
|
|
59
59
|
// "(([direction]) [moveAmount|] (number/*))"
|
|
60
60
|
],
|