ekms 8.0.0-beta.7 → 8.0.0-beta.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. package/common/animals.instance.json +2871 -1379
  2. package/common/animals.js +17 -20
  3. package/common/articles.js +103 -0
  4. package/common/articles.test.json +310 -0
  5. package/common/avatar.js +5 -9
  6. package/common/characters.js +22 -28
  7. package/common/colors.instance.json +7170 -3657
  8. package/common/colors.js +4 -8
  9. package/common/colors.test.json +345 -780
  10. package/common/comparable.instance.json +1750 -0
  11. package/common/comparable.js +36 -28
  12. package/common/comparable.test.json +438 -2
  13. package/common/concept.js +120 -118
  14. package/common/countable.js +19 -13
  15. package/common/countable.test.json +1050 -0
  16. package/common/crew.instance.json +13066 -6469
  17. package/common/crew.js +36 -41
  18. package/common/crew.test.json +714 -452
  19. package/common/currency.js +27 -45
  20. package/common/dialogues.js +161 -285
  21. package/common/dimension.instance.json +474 -253
  22. package/common/dimension.js +16 -22
  23. package/common/dimension.test.json +446 -1640
  24. package/common/edible.instance.json +20053 -10093
  25. package/common/edible.js +3 -8
  26. package/common/emotions.instance.json +147 -69
  27. package/common/emotions.js +35 -38
  28. package/common/evaluate.instance.json +2 -0
  29. package/common/evaluate.js +49 -0
  30. package/common/evaluate.test.json +574 -0
  31. package/common/events.js +10 -14
  32. package/common/fastfood.instance.json +221166 -111223
  33. package/common/fastfood.js +75 -85
  34. package/common/fastfood.test.json +268 -90
  35. package/common/formulas.instance.json +455 -249
  36. package/common/formulas.js +19 -26
  37. package/common/gdefaults.js +24 -26
  38. package/common/help.js +7 -12
  39. package/common/help.test.json +63 -8
  40. package/common/helpers/concept.js +10 -7
  41. package/common/helpers/dialogues.js +2 -3
  42. package/common/helpers/properties.js +54 -62
  43. package/common/helpers.js +6 -5
  44. package/common/hierarchy.js +16 -24
  45. package/common/javascript.js +11 -18
  46. package/common/kirk.instance.json +584 -290
  47. package/common/kirk.js +5 -8
  48. package/common/length.instance.json +8834 -4757
  49. package/common/length.js +4 -8
  50. package/common/listener.js +48 -0
  51. package/common/listener.test.json +104 -0
  52. package/common/math.instance.json +425 -1187
  53. package/common/math.js +16 -20
  54. package/common/meta.js +23 -47
  55. package/common/nameable.instance.json +2 -0
  56. package/common/nameable.js +144 -0
  57. package/common/nameable.test.json +3191 -0
  58. package/common/negation.instance.json +2 -0
  59. package/common/negation.js +38 -0
  60. package/common/negation.test.json +308 -0
  61. package/common/numbers.js +27 -31
  62. package/common/ordering.instance.json +366 -246
  63. package/common/ordering.js +80 -86
  64. package/common/people.instance.json +2074 -1022
  65. package/common/people.js +8 -13
  66. package/common/percentages.instance.json +2 -0
  67. package/common/percentages.js +53 -0
  68. package/common/percentages.test.json +751 -0
  69. package/common/pipboy.instance.json +11745 -6329
  70. package/common/pipboy.js +48 -59
  71. package/common/pokemon.instance.json +4226 -2081
  72. package/common/pokemon.js +7 -20
  73. package/common/pos.js +15 -13
  74. package/common/pressure.instance.json +2208 -1175
  75. package/common/pressure.js +4 -8
  76. package/common/properties.instance.json +131 -61
  77. package/common/properties.js +57 -134
  78. package/common/punctuation.js +15 -7
  79. package/common/reports.instance.json +1018 -530
  80. package/common/reports.js +77 -100
  81. package/common/reports.test.json +15623 -10458
  82. package/common/scorekeeper.js +18 -30
  83. package/common/sdefaults.js +16 -7
  84. package/common/sizeable.js +6 -10
  85. package/common/spock.instance.json +584 -290
  86. package/common/spock.js +5 -8
  87. package/common/stgame.js +19 -19
  88. package/common/stm.js +164 -27
  89. package/common/stm.test.json +1734 -1
  90. package/common/tell.js +14 -18
  91. package/common/temperature.instance.json +2271 -1222
  92. package/common/temperature.js +4 -8
  93. package/common/tester.js +15 -4
  94. package/common/testing.js +8 -12
  95. package/common/time.js +20 -25
  96. package/common/tokenize.js +5 -6
  97. package/common/ui.instance.json +459 -240
  98. package/common/ui.js +16 -22
  99. package/common/weight.instance.json +7646 -4026
  100. package/common/weight.js +4 -8
  101. package/common/yesno.js +5 -5
  102. package/main.js +14 -2
  103. package/package.json +28 -5
@@ -0,0 +1,751 @@
1
+ [
2
+ {
3
+ "associations": [
4
+ [
5
+ [
6
+ "number",
7
+ 0
8
+ ],
9
+ [
10
+ "percent",
11
+ 0
12
+ ]
13
+ ]
14
+ ],
15
+ "config": {
16
+ },
17
+ "contexts": [
18
+ {
19
+ "dead": true,
20
+ "level": 1,
21
+ "marker": "percent",
22
+ "modifiers": [
23
+ "scale"
24
+ ],
25
+ "range": {
26
+ "end": 9,
27
+ "start": 0
28
+ },
29
+ "scale": {
30
+ "dead": true,
31
+ "instance": true,
32
+ "level": 1,
33
+ "marker": "number",
34
+ "range": {
35
+ "end": 1,
36
+ "start": 0
37
+ },
38
+ "text": "10",
39
+ "types": [
40
+ "number"
41
+ ],
42
+ "value": 10,
43
+ "word": "10"
44
+ },
45
+ "text": "10 percent",
46
+ "topLevel": true,
47
+ "value": "percent",
48
+ "word": "percent"
49
+ }
50
+ ],
51
+ "generatedParenthesized": [
52
+ ""
53
+ ],
54
+ "metadata": {
55
+ "opChoices": [
56
+ {
57
+ "counter": 1,
58
+ "op": [
59
+ "number",
60
+ 0
61
+ ],
62
+ "ops": [
63
+ [
64
+ "number",
65
+ 0
66
+ ],
67
+ [
68
+ "percent",
69
+ 0
70
+ ]
71
+ ]
72
+ },
73
+ {
74
+ "counter": 2,
75
+ "op": [
76
+ "percent",
77
+ 0
78
+ ],
79
+ "ops": [
80
+ [
81
+ "percent",
82
+ 0
83
+ ]
84
+ ]
85
+ }
86
+ ]
87
+ },
88
+ "objects": {
89
+ "nameToUUID": {
90
+ "gdefaults": "gdefaults2",
91
+ "numbers": "numbers2",
92
+ "percentages": "percentages1",
93
+ "sdefaults": "sdefaults2",
94
+ "tokenize": "tokenize2"
95
+ },
96
+ "namespaced": {
97
+ "gdefaults2": {
98
+ },
99
+ "numbers2": {
100
+ },
101
+ "percentages1": {
102
+ },
103
+ "sdefaults2": {
104
+ },
105
+ "tokenize2": {
106
+ }
107
+ },
108
+ "processed": [
109
+ {
110
+ "context": {
111
+ "dead": true,
112
+ "level": 1,
113
+ "marker": "percent",
114
+ "modifiers": [
115
+ "scale"
116
+ ],
117
+ "range": {
118
+ "end": 9,
119
+ "start": 0
120
+ },
121
+ "scale": {
122
+ "dead": true,
123
+ "instance": true,
124
+ "level": 1,
125
+ "marker": "number",
126
+ "range": {
127
+ "end": 1,
128
+ "start": 0
129
+ },
130
+ "text": "10",
131
+ "types": [
132
+ "number"
133
+ ],
134
+ "value": 10,
135
+ "word": "10"
136
+ },
137
+ "text": "10 percent",
138
+ "topLevel": true,
139
+ "value": "percent",
140
+ "word": "percent"
141
+ },
142
+ "generatedParenthesized": "",
143
+ "paraphrases": "10 percent",
144
+ "paraphrasesParenthesized": "(10 percent)",
145
+ "responses": [
146
+ ""
147
+ ]
148
+ }
149
+ ]
150
+ },
151
+ "paraphrases": [
152
+ "10 percent"
153
+ ],
154
+ "paraphrasesParenthesized": [
155
+ "(10 percent)"
156
+ ],
157
+ "query": "10 percent",
158
+ "responses": [
159
+ ""
160
+ ]
161
+ },
162
+ {
163
+ "associations": [
164
+ [
165
+ [
166
+ "number",
167
+ 0
168
+ ],
169
+ [
170
+ "percent",
171
+ 0
172
+ ]
173
+ ]
174
+ ],
175
+ "config": {
176
+ },
177
+ "contexts": [
178
+ {
179
+ "dead": true,
180
+ "level": 1,
181
+ "marker": "percent",
182
+ "modifiers": [
183
+ "scale"
184
+ ],
185
+ "range": {
186
+ "end": 2,
187
+ "start": 0
188
+ },
189
+ "scale": {
190
+ "dead": true,
191
+ "instance": true,
192
+ "level": 1,
193
+ "marker": "number",
194
+ "range": {
195
+ "end": 1,
196
+ "start": 0
197
+ },
198
+ "text": "10",
199
+ "types": [
200
+ "number"
201
+ ],
202
+ "value": 10,
203
+ "word": "10"
204
+ },
205
+ "text": "10%",
206
+ "topLevel": true,
207
+ "value": "percent",
208
+ "word": "%"
209
+ }
210
+ ],
211
+ "generatedParenthesized": [
212
+ ""
213
+ ],
214
+ "metadata": {
215
+ "opChoices": [
216
+ {
217
+ "counter": 1,
218
+ "op": [
219
+ "number",
220
+ 0
221
+ ],
222
+ "ops": [
223
+ [
224
+ "number",
225
+ 0
226
+ ],
227
+ [
228
+ "percent",
229
+ 0
230
+ ]
231
+ ]
232
+ },
233
+ {
234
+ "counter": 2,
235
+ "op": [
236
+ "percent",
237
+ 0
238
+ ],
239
+ "ops": [
240
+ [
241
+ "percent",
242
+ 0
243
+ ]
244
+ ]
245
+ }
246
+ ]
247
+ },
248
+ "objects": {
249
+ "nameToUUID": {
250
+ "gdefaults": "gdefaults2",
251
+ "numbers": "numbers2",
252
+ "percentages": "percentages1",
253
+ "sdefaults": "sdefaults2",
254
+ "tokenize": "tokenize2"
255
+ },
256
+ "namespaced": {
257
+ "gdefaults2": {
258
+ },
259
+ "numbers2": {
260
+ },
261
+ "percentages1": {
262
+ },
263
+ "sdefaults2": {
264
+ },
265
+ "tokenize2": {
266
+ }
267
+ },
268
+ "processed": [
269
+ {
270
+ "context": {
271
+ "dead": true,
272
+ "level": 1,
273
+ "marker": "percent",
274
+ "modifiers": [
275
+ "scale"
276
+ ],
277
+ "range": {
278
+ "end": 2,
279
+ "start": 0
280
+ },
281
+ "scale": {
282
+ "dead": true,
283
+ "instance": true,
284
+ "level": 1,
285
+ "marker": "number",
286
+ "range": {
287
+ "end": 1,
288
+ "start": 0
289
+ },
290
+ "text": "10",
291
+ "types": [
292
+ "number"
293
+ ],
294
+ "value": 10,
295
+ "word": "10"
296
+ },
297
+ "text": "10%",
298
+ "topLevel": true,
299
+ "value": "percent",
300
+ "word": "%"
301
+ },
302
+ "generatedParenthesized": "",
303
+ "paraphrases": "10%",
304
+ "paraphrasesParenthesized": "(10%)",
305
+ "responses": [
306
+ ""
307
+ ]
308
+ }
309
+ ]
310
+ },
311
+ "paraphrases": [
312
+ "10%"
313
+ ],
314
+ "paraphrasesParenthesized": [
315
+ "(10%)"
316
+ ],
317
+ "query": "10%",
318
+ "responses": [
319
+ ""
320
+ ]
321
+ },
322
+ {
323
+ "associations": [
324
+ [
325
+ [
326
+ "number",
327
+ 0
328
+ ],
329
+ [
330
+ "percent",
331
+ 0
332
+ ],
333
+ [
334
+ "percentageOf",
335
+ 0
336
+ ]
337
+ ],
338
+ [
339
+ [
340
+ "number",
341
+ 0
342
+ ],
343
+ [
344
+ "percentageOf",
345
+ 0
346
+ ]
347
+ ]
348
+ ],
349
+ "config": {
350
+ },
351
+ "contexts": [
352
+ {
353
+ "dead": true,
354
+ "default": true,
355
+ "isResponse": true,
356
+ "level": 1,
357
+ "marker": "percentageOf",
358
+ "percentage": {
359
+ "dead": true,
360
+ "level": 1,
361
+ "marker": "percent",
362
+ "modifiers": [
363
+ "scale"
364
+ ],
365
+ "range": {
366
+ "end": 9,
367
+ "start": 0
368
+ },
369
+ "scale": {
370
+ "dead": true,
371
+ "instance": true,
372
+ "level": 1,
373
+ "marker": "number",
374
+ "range": {
375
+ "end": 1,
376
+ "start": 0
377
+ },
378
+ "text": "10",
379
+ "types": [
380
+ "number"
381
+ ],
382
+ "value": 10,
383
+ "word": "10"
384
+ },
385
+ "text": "10 percent",
386
+ "types": [
387
+ "percent"
388
+ ],
389
+ "value": "percent",
390
+ "word": "percent"
391
+ },
392
+ "range": {
393
+ "end": 16,
394
+ "start": 0
395
+ },
396
+ "semanticIsEvaluate": true,
397
+ "text": "10 percent of 110",
398
+ "topLevel": true,
399
+ "touchedBy": [
400
+ "percentages#call2"
401
+ ],
402
+ "value": {
403
+ "dead": true,
404
+ "default": true,
405
+ "evalue": {
406
+ "edefault": true,
407
+ "evalue": 110,
408
+ "instance": true,
409
+ "level": 0,
410
+ "marker": "number",
411
+ "range": {
412
+ "end": 16,
413
+ "start": 14
414
+ },
415
+ "text": null,
416
+ "touchedBy": [
417
+ "percentages#call3"
418
+ ],
419
+ "types": [
420
+ "number"
421
+ ],
422
+ "value": 11,
423
+ "word": null
424
+ },
425
+ "instance": true,
426
+ "isReponse": true,
427
+ "isResponse": true,
428
+ "level": 1,
429
+ "marker": "percentageOf",
430
+ "paraphrase": false,
431
+ "percentage": {
432
+ "dead": true,
433
+ "level": 1,
434
+ "marker": "percent",
435
+ "modifiers": [
436
+ "scale"
437
+ ],
438
+ "range": {
439
+ "end": 9,
440
+ "start": 0
441
+ },
442
+ "scale": {
443
+ "dead": true,
444
+ "instance": true,
445
+ "level": 1,
446
+ "marker": "number",
447
+ "range": {
448
+ "end": 1,
449
+ "start": 0
450
+ },
451
+ "text": "10",
452
+ "types": [
453
+ "number"
454
+ ],
455
+ "value": 10,
456
+ "word": "10"
457
+ },
458
+ "text": "10 percent",
459
+ "types": [
460
+ "percent"
461
+ ],
462
+ "value": "percent",
463
+ "word": "percent"
464
+ },
465
+ "range": {
466
+ "end": 16,
467
+ "start": 0
468
+ },
469
+ "semanticIsEvaluate": false,
470
+ "text": "10 percent of 110",
471
+ "topLevel": true,
472
+ "touchedBy": [
473
+ "percentages#call3",
474
+ "percentages#call2"
475
+ ],
476
+ "value": {
477
+ "instance": true,
478
+ "level": 0,
479
+ "marker": "number",
480
+ "range": {
481
+ "end": 16,
482
+ "start": 14
483
+ },
484
+ "text": "110",
485
+ "types": [
486
+ "number"
487
+ ],
488
+ "value": 110,
489
+ "word": "110"
490
+ },
491
+ "word": "of"
492
+ },
493
+ "word": "of"
494
+ }
495
+ ],
496
+ "generatedParenthesized": [
497
+ "(((11)))"
498
+ ],
499
+ "metadata": {
500
+ "opChoices": [
501
+ {
502
+ "counter": 1,
503
+ "op": [
504
+ "number",
505
+ 0
506
+ ],
507
+ "ops": [
508
+ [
509
+ "number",
510
+ 0
511
+ ],
512
+ [
513
+ "number",
514
+ 0
515
+ ],
516
+ [
517
+ "percent",
518
+ 0
519
+ ],
520
+ [
521
+ "percentageOf",
522
+ 0
523
+ ]
524
+ ]
525
+ },
526
+ {
527
+ "counter": 2,
528
+ "op": [
529
+ "percent",
530
+ 0
531
+ ],
532
+ "ops": [
533
+ [
534
+ "number",
535
+ 0
536
+ ],
537
+ [
538
+ "percent",
539
+ 0
540
+ ],
541
+ [
542
+ "percentageOf",
543
+ 0
544
+ ]
545
+ ]
546
+ },
547
+ {
548
+ "counter": 3,
549
+ "op": [
550
+ "percentageOf",
551
+ 0
552
+ ],
553
+ "ops": [
554
+ [
555
+ "number",
556
+ 0
557
+ ],
558
+ [
559
+ "percentageOf",
560
+ 0
561
+ ]
562
+ ]
563
+ }
564
+ ]
565
+ },
566
+ "objects": {
567
+ "nameToUUID": {
568
+ "gdefaults": "gdefaults2",
569
+ "numbers": "numbers2",
570
+ "percentages": "percentages1",
571
+ "sdefaults": "sdefaults2",
572
+ "tokenize": "tokenize2"
573
+ },
574
+ "namespaced": {
575
+ "gdefaults2": {
576
+ },
577
+ "numbers2": {
578
+ },
579
+ "percentages1": {
580
+ },
581
+ "sdefaults2": {
582
+ },
583
+ "tokenize2": {
584
+ }
585
+ },
586
+ "processed": [
587
+ {
588
+ "context": {
589
+ "dead": true,
590
+ "default": true,
591
+ "isResponse": true,
592
+ "level": 1,
593
+ "marker": "percentageOf",
594
+ "percentage": {
595
+ "dead": true,
596
+ "level": 1,
597
+ "marker": "percent",
598
+ "modifiers": [
599
+ "scale"
600
+ ],
601
+ "range": {
602
+ "end": 9,
603
+ "start": 0
604
+ },
605
+ "scale": {
606
+ "dead": true,
607
+ "instance": true,
608
+ "level": 1,
609
+ "marker": "number",
610
+ "range": {
611
+ "end": 1,
612
+ "start": 0
613
+ },
614
+ "text": "10",
615
+ "types": [
616
+ "number"
617
+ ],
618
+ "value": 10,
619
+ "word": "10"
620
+ },
621
+ "text": "10 percent",
622
+ "types": [
623
+ "percent"
624
+ ],
625
+ "value": "percent",
626
+ "word": "percent"
627
+ },
628
+ "range": {
629
+ "end": 16,
630
+ "start": 0
631
+ },
632
+ "semanticIsEvaluate": true,
633
+ "text": "10 percent of 110",
634
+ "topLevel": true,
635
+ "touchedBy": [
636
+ "percentages#call2"
637
+ ],
638
+ "value": {
639
+ "dead": true,
640
+ "default": true,
641
+ "evalue": {
642
+ "edefault": true,
643
+ "evalue": 110,
644
+ "instance": true,
645
+ "level": 0,
646
+ "marker": "number",
647
+ "range": {
648
+ "end": 16,
649
+ "start": 14
650
+ },
651
+ "text": null,
652
+ "touchedBy": [
653
+ "percentages#call3"
654
+ ],
655
+ "types": [
656
+ "number"
657
+ ],
658
+ "value": 11,
659
+ "word": null
660
+ },
661
+ "instance": true,
662
+ "isReponse": true,
663
+ "isResponse": true,
664
+ "level": 1,
665
+ "marker": "percentageOf",
666
+ "paraphrase": false,
667
+ "percentage": {
668
+ "dead": true,
669
+ "level": 1,
670
+ "marker": "percent",
671
+ "modifiers": [
672
+ "scale"
673
+ ],
674
+ "range": {
675
+ "end": 9,
676
+ "start": 0
677
+ },
678
+ "scale": {
679
+ "dead": true,
680
+ "instance": true,
681
+ "level": 1,
682
+ "marker": "number",
683
+ "range": {
684
+ "end": 1,
685
+ "start": 0
686
+ },
687
+ "text": "10",
688
+ "types": [
689
+ "number"
690
+ ],
691
+ "value": 10,
692
+ "word": "10"
693
+ },
694
+ "text": "10 percent",
695
+ "types": [
696
+ "percent"
697
+ ],
698
+ "value": "percent",
699
+ "word": "percent"
700
+ },
701
+ "range": {
702
+ "end": 16,
703
+ "start": 0
704
+ },
705
+ "semanticIsEvaluate": false,
706
+ "text": "10 percent of 110",
707
+ "topLevel": true,
708
+ "touchedBy": [
709
+ "percentages#call3",
710
+ "percentages#call2"
711
+ ],
712
+ "value": {
713
+ "instance": true,
714
+ "level": 0,
715
+ "marker": "number",
716
+ "range": {
717
+ "end": 16,
718
+ "start": 14
719
+ },
720
+ "text": "110",
721
+ "types": [
722
+ "number"
723
+ ],
724
+ "value": 110,
725
+ "word": "110"
726
+ },
727
+ "word": "of"
728
+ },
729
+ "word": "of"
730
+ },
731
+ "generatedParenthesized": "(((11)))",
732
+ "paraphrases": "10 percent of 110",
733
+ "paraphrasesParenthesized": "(10 percent of 110)",
734
+ "responses": [
735
+ "11"
736
+ ]
737
+ }
738
+ ]
739
+ },
740
+ "paraphrases": [
741
+ "10 percent of 110"
742
+ ],
743
+ "paraphrasesParenthesized": [
744
+ "(10 percent of 110)"
745
+ ],
746
+ "query": "10 percent of 110",
747
+ "responses": [
748
+ "11"
749
+ ]
750
+ }
751
+ ]