ekms 8.9.1-beta.26 → 8.9.1-beta.28

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.
Files changed (108) hide show
  1. package/common/animals.instance.json +6427 -714
  2. package/common/articles.js +4 -7
  3. package/common/articles.test.json +268 -136
  4. package/common/asking.test.json +1504 -798
  5. package/common/avatar.js +8 -0
  6. package/common/avatar.test.json +3292 -1852
  7. package/common/characters.test.json +962 -464
  8. package/common/colors.instance.json +22950 -1756
  9. package/common/colors.test.json +140 -68
  10. package/common/comparable.instance.json +1279 -149
  11. package/common/comparable.js +11 -11
  12. package/common/comparable.test.json +455 -230
  13. package/common/concept.js +9 -1
  14. package/common/concept.test.json +2023 -928
  15. package/common/conjunction.js +12 -0
  16. package/common/conjunction.test.json +219 -102
  17. package/common/countable.test.json +906 -444
  18. package/common/crew.instance.json +18796 -2069
  19. package/common/crew.js +19 -0
  20. package/common/crew.test.json +7104 -3435
  21. package/common/currency.js +0 -1
  22. package/common/currency.test.json +753 -369
  23. package/common/dialogues.js +74 -27
  24. package/common/dialogues.test.json +4225 -1915
  25. package/common/dimension.instance.json +744 -112
  26. package/common/dimension.js +16 -2
  27. package/common/dimension.test.json +10410 -4721
  28. package/common/edible.instance.json +21412 -2527
  29. package/common/edible.js +13 -0
  30. package/common/edible.test.json +1033 -487
  31. package/common/emotions.instance.json +2269 -254
  32. package/common/emotions.js +10 -2
  33. package/common/emotions.test.json +928 -403
  34. package/common/errors.test.json +77 -38
  35. package/common/evaluate.test.json +43 -22
  36. package/common/events.test.json +453 -210
  37. package/common/fastfood.instance.json +80935 -9140
  38. package/common/fastfood.js +83 -2
  39. package/common/fastfood.test.json +37703 -20376
  40. package/common/formulas.instance.json +309 -53
  41. package/common/formulas.test.json +6286 -3094
  42. package/common/help.test.json +272 -128
  43. package/common/helpers/concept.js +1 -0
  44. package/common/helpers/properties.js +1 -27
  45. package/common/hierarchy.js +9 -0
  46. package/common/hierarchy.test.json +21532 -10628
  47. package/common/javascript.test.json +185 -86
  48. package/common/kirk.instance.json +302 -3
  49. package/common/kirk.test.json +621 -285
  50. package/common/length.instance.json +9630 -697
  51. package/common/length.test.json +3359 -1737
  52. package/common/listener.test.json +33 -18
  53. package/common/math.instance.json +278 -52
  54. package/common/math.test.json +22940 -13876
  55. package/common/meta.instance.json +1 -0
  56. package/common/meta.js +8 -8
  57. package/common/meta.test.json +584 -272
  58. package/common/nameable.test.json +1800 -843
  59. package/common/negation.test.json +114 -60
  60. package/common/numbers.test.json +198 -108
  61. package/common/ordering.instance.json +3848 -541
  62. package/common/ordering.test.json +1158 -540
  63. package/common/ordinals.js +7 -1
  64. package/common/ordinals.test.json +256 -136
  65. package/common/people.instance.json +3803 -537
  66. package/common/people.js +0 -14
  67. package/common/people.test.json +14361 -7176
  68. package/common/percentages.test.json +289 -134
  69. package/common/pipboy.instance.json +13187 -1238
  70. package/common/pipboy.js +22 -41
  71. package/common/pipboy.test.json +5598 -2688
  72. package/common/pokemon.instance.json +5930 -660
  73. package/common/pokemon.test.json +975 -453
  74. package/common/pressure.instance.json +2589 -286
  75. package/common/pressure.test.json +991 -445
  76. package/common/properties.instance.json +887 -80
  77. package/common/properties.js +13 -22
  78. package/common/properties.test.json +20521 -9542
  79. package/common/punctuation.test.json +305 -146
  80. package/common/reports.instance.json +965 -108
  81. package/common/reports.js +7 -0
  82. package/common/reports.test.json +13247 -6426
  83. package/common/scorekeeper.instance.json +1 -0
  84. package/common/scorekeeper.js +17 -7
  85. package/common/scorekeeper.test.json +26256 -11598
  86. package/common/sizeable.test.json +455 -230
  87. package/common/spock.instance.json +302 -3
  88. package/common/spock.test.json +621 -285
  89. package/common/stgame.test.json +962 -464
  90. package/common/stm.test.json +755 -374
  91. package/common/tell.test.json +195 -90
  92. package/common/temperature.instance.json +5940 -285
  93. package/common/temperature.test.json +990 -444
  94. package/common/testing.test.json +67 -34
  95. package/common/time.test.json +2386 -1066
  96. package/common/tokenize.js +3 -2
  97. package/common/tokenize.test.json +33 -18
  98. package/common/ui.instance.json +123 -21
  99. package/common/ui.js +0 -16
  100. package/common/ui.test.json +612 -312
  101. package/common/weight.instance.json +9798 -680
  102. package/common/weight.js +10 -0
  103. package/common/weight.test.json +6185 -2711
  104. package/common/wp.instance.json +13555 -1583
  105. package/common/wp.js +11 -6
  106. package/common/wp.test.json +27299 -13463
  107. package/common/yesno.test.json +132 -72
  108. package/package.json +2 -2
@@ -6,10 +6,11 @@ const config = {
6
6
  name: 'tokenize',
7
7
  operators: [
8
8
  "([unknown])",
9
+ "([listable])",
9
10
  ],
10
11
  bridges: [
11
- { id: "unknown", level: 0, bridge: "{ ...next(operator), unknown: true, dead: true }" },
12
- { id: "unknown", level: 1, bridge: "{ ...next(operator) }" },
12
+ { id: "unknown", level: 0, bridge: "{ ...operator, unknown: true, dead: true }" },
13
+ { id: "listable", },
13
14
  ],
14
15
  words: {
15
16
  patterns: [
@@ -86,26 +86,41 @@
86
86
  ""
87
87
  ],
88
88
  "summaries": [
89
- [
90
- {
91
- "counter": 1,
92
- "operators": [
93
- [
94
- "unknown",
95
- 0
89
+ {
90
+ "length": 1,
91
+ "summaries": [
92
+ {
93
+ "counter": 1,
94
+ "operators": [
95
+ {
96
+ "marker": [
97
+ "unknown",
98
+ 0
99
+ ],
100
+ "range": {
101
+ "end": 10,
102
+ "start": 0
103
+ }
104
+ }
96
105
  ]
97
- ]
98
- },
99
- {
100
- "counter": 2,
101
- "operators": [
102
- [
103
- "unknown",
104
- 1
106
+ },
107
+ {
108
+ "counter": 2,
109
+ "operators": [
110
+ {
111
+ "marker": [
112
+ "unknown",
113
+ 1
114
+ ],
115
+ "range": {
116
+ "end": 10,
117
+ "start": 0
118
+ }
119
+ }
105
120
  ]
106
- ]
107
- }
108
- ]
121
+ }
122
+ ]
123
+ }
109
124
  ]
110
125
  }
111
126
  ]
@@ -139,6 +139,11 @@
139
139
  "verb",
140
140
  false
141
141
  ],
142
+ [
143
+ "isQuery",
144
+ "verb",
145
+ false
146
+ ],
142
147
  [
143
148
  "it",
144
149
  "pronoun",
@@ -164,6 +169,11 @@
164
169
  "direction",
165
170
  false
166
171
  ],
172
+ [
173
+ "listable",
174
+ "listable",
175
+ false
176
+ ],
167
177
  [
168
178
  "listening",
169
179
  "action",
@@ -209,6 +219,11 @@
209
219
  "queryable",
210
220
  false
211
221
  ],
222
+ [
223
+ "object",
224
+ "listable",
225
+ false
226
+ ],
212
227
  [
213
228
  "object",
214
229
  "queryable",
@@ -229,6 +244,16 @@
229
244
  "queryable",
230
245
  false
231
246
  ],
247
+ [
248
+ "orderable",
249
+ "theAble",
250
+ false
251
+ ],
252
+ [
253
+ "ordinal",
254
+ "listable",
255
+ false
256
+ ],
232
257
  [
233
258
  "ordinalOnOrdered",
234
259
  "adjective",
@@ -271,7 +296,7 @@
271
296
  ],
272
297
  [
273
298
  "queryable",
274
- "queryable",
299
+ "listable",
275
300
  false
276
301
  ],
277
302
  [
@@ -432,23 +457,6 @@
432
457
  ],
433
458
  "metadata": {
434
459
  "opChoices": [
435
- {
436
- "op": [
437
- "direction",
438
- 0
439
- ],
440
- "ops": [
441
- [
442
- "direction",
443
- 0
444
- ],
445
- [
446
- "move",
447
- 0
448
- ]
449
- ],
450
- "counter": 1
451
- },
452
460
  {
453
461
  "op": [
454
462
  "move",
@@ -460,7 +468,7 @@
460
468
  0
461
469
  ]
462
470
  ],
463
- "counter": 2
471
+ "counter": 1
464
472
  }
465
473
  ]
466
474
  },
@@ -505,16 +513,16 @@
505
513
  "value": "direction",
506
514
  "default": true,
507
515
  "text": "direction",
516
+ "dead": true,
508
517
  "word": "direction",
509
518
  "range": {
510
519
  "start": 5,
511
520
  "end": 13
512
521
  },
513
- "dead": true,
514
522
  "types": [
515
523
  "direction"
516
524
  ],
517
- "level": 1
525
+ "level": 0
518
526
  },
519
527
  "generate": [
520
528
  "operator",
@@ -552,6 +560,53 @@
552
560
  ]
553
561
  ]
554
562
  ],
563
+ "summaries": [
564
+ {
565
+ "summaries": [
566
+ {
567
+ "operators": [
568
+ {
569
+ "marker": [
570
+ "move",
571
+ 0
572
+ ],
573
+ "range": {
574
+ "start": 0,
575
+ "end": 3
576
+ }
577
+ },
578
+ {
579
+ "marker": [
580
+ "direction",
581
+ 0
582
+ ],
583
+ "range": {
584
+ "start": 5,
585
+ "end": 13
586
+ }
587
+ }
588
+ ],
589
+ "counter": 1
590
+ },
591
+ {
592
+ "operators": [
593
+ {
594
+ "marker": [
595
+ "move",
596
+ 1
597
+ ],
598
+ "range": {
599
+ "start": 0,
600
+ "end": 13
601
+ }
602
+ }
603
+ ],
604
+ "counter": 2
605
+ }
606
+ ],
607
+ "length": 1
608
+ }
609
+ ],
555
610
  "learned_contextual_priorities": [],
556
611
  "query": "move direction",
557
612
  "skipSemantics": false,
@@ -573,5 +628,52 @@
573
628
  ]
574
629
  ]
575
630
  ],
631
+ "summaries": [
632
+ {
633
+ "summaries": [
634
+ {
635
+ "operators": [
636
+ {
637
+ "marker": [
638
+ "move",
639
+ 0
640
+ ],
641
+ "range": {
642
+ "start": 0,
643
+ "end": 3
644
+ }
645
+ },
646
+ {
647
+ "marker": [
648
+ "direction",
649
+ 0
650
+ ],
651
+ "range": {
652
+ "start": 5,
653
+ "end": 13
654
+ }
655
+ }
656
+ ],
657
+ "counter": 1
658
+ },
659
+ {
660
+ "operators": [
661
+ {
662
+ "marker": [
663
+ "move",
664
+ 1
665
+ ],
666
+ "range": {
667
+ "start": 0,
668
+ "end": 13
669
+ }
670
+ }
671
+ ],
672
+ "counter": 2
673
+ }
674
+ ],
675
+ "length": 1
676
+ }
677
+ ],
576
678
  "learned_contextual_priorities": []
577
679
  }
package/common/ui.js CHANGED
@@ -77,8 +77,6 @@ const config = {
77
77
  where: where(),
78
78
  id: "select",
79
79
  isA: ['verb'],
80
- level: 0,
81
- bridge: "{ ...next(operator) }",
82
80
  semantic: ({api, context}) => {
83
81
  api.select()
84
82
  }
@@ -87,8 +85,6 @@ const config = {
87
85
  where: where(),
88
86
  id: "unselect",
89
87
  isA: ['verb'],
90
- level: 0,
91
- bridge: "{ ...next(operator) }",
92
88
  semantic: ({api, context}) => {
93
89
  api.unselect()
94
90
  }
@@ -106,9 +102,7 @@ const config = {
106
102
  where: where(),
107
103
  id: "cancel",
108
104
  isA: ['verb'],
109
- level: 0,
110
105
  words: ['close'],
111
- bridge: "{ ...next(operator) }",
112
106
  semantic: ({api, context}) => {
113
107
  api.cancel()
114
108
  }
@@ -148,33 +142,23 @@ const config = {
148
142
  },
149
143
  {
150
144
  id: "down",
151
- level: 0,
152
145
  isA: ['direction'],
153
- bridge: "{ ...next(operator) }"
154
146
  },
155
147
  {
156
148
  id: "left",
157
- level: 0,
158
149
  isA: ['direction'],
159
- bridge: "{ ...next(operator) }"
160
150
  },
161
151
  {
162
152
  id: "right",
163
- level: 0,
164
153
  isA: ['direction'],
165
- bridge: "{ ...next(operator) }"
166
154
  },
167
155
  {
168
156
  id: "action",
169
- level: 0,
170
157
  isA: ['action'],
171
- bridge: "{ ...next(operator) }"
172
158
  },
173
159
  {
174
160
  id: "listening",
175
- level: 0,
176
161
  isA: ['action'],
177
- bridge: "{ ...next(operator) }"
178
162
  },
179
163
  ],
180
164
  };