tpmkms_4wp 8.9.1-beta.3 → 8.9.1-beta.30

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 (137) hide show
  1. package/common/animals.instance.json +6714 -809
  2. package/common/articles.js +22 -9
  3. package/common/articles.test.json +640 -2
  4. package/common/asking.js +3 -3
  5. package/common/asking.test.json +1599 -140
  6. package/common/avatar.js +9 -1
  7. package/common/avatar.test.json +6008 -2749
  8. package/common/characters.js +1 -1
  9. package/common/characters.test.json +1371 -95
  10. package/common/colors.instance.json +23070 -1697
  11. package/common/colors.test.json +704 -136
  12. package/common/comparable.instance.json +1340 -162
  13. package/common/comparable.js +13 -13
  14. package/common/comparable.test.json +3239 -558
  15. package/common/concept.js +11 -3
  16. package/common/concept.test.json +2853 -694
  17. package/common/conjunction.js +13 -1
  18. package/common/conjunction.test.json +229 -1
  19. package/common/countable.js +3 -9
  20. package/common/countable.test.json +1310 -638
  21. package/common/crew.instance.json +19487 -2160
  22. package/common/crew.js +19 -0
  23. package/common/crew.test.json +10218 -2145
  24. package/common/currency.js +2 -3
  25. package/common/currency.test.json +948 -64
  26. package/common/dialogues.js +99 -35
  27. package/common/dialogues.test.json +6611 -1905
  28. package/common/dimension.instance.json +760 -120
  29. package/common/dimension.js +18 -4
  30. package/common/dimension.test.json +23680 -11550
  31. package/common/edible.instance.json +21884 -2729
  32. package/common/edible.js +13 -0
  33. package/common/edible.test.json +1580 -304
  34. package/common/emotions.instance.json +2225 -254
  35. package/common/emotions.js +10 -2
  36. package/common/emotions.test.json +1134 -107
  37. package/common/errors.js +1 -1
  38. package/common/errors.test.json +88 -0
  39. package/common/evaluate.test.json +100 -1
  40. package/common/events.js +1 -1
  41. package/common/events.test.json +2197 -242
  42. package/common/fastfood.instance.json +82176 -10105
  43. package/common/fastfood.js +99 -12
  44. package/common/fastfood.test.json +65486 -21430
  45. package/common/formulas.instance.json +325 -58
  46. package/common/formulas.js +1 -1
  47. package/common/formulas.test.json +13202 -6757
  48. package/common/gdefaults.js +18 -8
  49. package/common/help.js +4 -4
  50. package/common/help.test.json +292 -4
  51. package/common/helpers/concept.js +6 -5
  52. package/common/helpers/conjunction.js +1 -1
  53. package/common/helpers/formulas.js +4 -4
  54. package/common/helpers/frankenhash.js +4 -4
  55. package/common/helpers/meta.js +4 -4
  56. package/common/helpers/ordering.js +2 -2
  57. package/common/helpers/properties.js +18 -48
  58. package/common/helpers.js +1 -1
  59. package/common/hierarchy.js +12 -3
  60. package/common/hierarchy.test.json +53813 -17340
  61. package/common/javascript.js +1 -1
  62. package/common/javascript.test.json +214 -11
  63. package/common/kirk.instance.json +322 -7
  64. package/common/kirk.test.json +1123 -254
  65. package/common/length.instance.json +9898 -805
  66. package/common/length.test.json +12055 -8184
  67. package/common/listener.test.json +39 -1
  68. package/common/math.instance.json +294 -57
  69. package/common/math.js +1 -1
  70. package/common/math.test.json +38557 -17754
  71. package/common/meta.instance.json +1 -0
  72. package/common/meta.js +13 -13
  73. package/common/meta.test.json +2770 -275
  74. package/common/nameable.js +1 -1
  75. package/common/nameable.test.json +5150 -1475
  76. package/common/negation.js +1 -1
  77. package/common/negation.test.json +146 -8
  78. package/common/numbers.js +1 -1
  79. package/common/numbers.test.json +234 -0
  80. package/common/ordering.instance.json +3862 -509
  81. package/common/ordering.test.json +2680 -1283
  82. package/common/ordinals.js +15 -3
  83. package/common/ordinals.test.json +627 -3
  84. package/common/people.instance.json +4032 -679
  85. package/common/people.js +1 -15
  86. package/common/people.test.json +27157 -13664
  87. package/common/percentages.js +1 -2
  88. package/common/percentages.test.json +313 -0
  89. package/common/pipboy.instance.json +13637 -1538
  90. package/common/pipboy.js +28 -48
  91. package/common/pipboy.test.json +17367 -5640
  92. package/common/pokemon.instance.json +6168 -695
  93. package/common/pokemon.test.json +1826 -389
  94. package/common/pos.js +16 -6
  95. package/common/pressure.instance.json +2637 -293
  96. package/common/pressure.test.json +2997 -1629
  97. package/common/properties.instance.json +907 -128
  98. package/common/properties.js +19 -28
  99. package/common/properties.test.json +46801 -14612
  100. package/common/punctuation.js +1 -1
  101. package/common/punctuation.test.json +327 -0
  102. package/common/reports.instance.json +997 -118
  103. package/common/reports.js +16 -9
  104. package/common/reports.test.json +16653 -2453
  105. package/common/scorekeeper.instance.json +1 -0
  106. package/common/scorekeeper.js +22 -12
  107. package/common/scorekeeper.test.json +42546 -15408
  108. package/common/sdefaults.js +2 -2
  109. package/common/sizeable.js +2 -2
  110. package/common/sizeable.test.json +1170 -215
  111. package/common/spock.instance.json +322 -7
  112. package/common/spock.test.json +1123 -254
  113. package/common/stgame.js +0 -1
  114. package/common/stgame.test.json +1371 -91
  115. package/common/stm.js +6 -6
  116. package/common/stm.test.json +842 -9
  117. package/common/tell.js +1 -1
  118. package/common/tell.test.json +224 -1
  119. package/common/temperature.instance.json +5983 -288
  120. package/common/temperature.test.json +2610 -1272
  121. package/common/tester.js +1 -1
  122. package/common/testing.test.json +84 -1
  123. package/common/time.test.json +5345 -272
  124. package/common/tokenize.js +3 -2
  125. package/common/tokenize.test.json +39 -0
  126. package/common/ui.instance.json +144 -26
  127. package/common/ui.js +0 -16
  128. package/common/ui.test.json +4620 -140
  129. package/common/weight.instance.json +9992 -790
  130. package/common/weight.js +10 -0
  131. package/common/weight.test.json +18658 -12176
  132. package/common/wp.instance.json +20091 -2018
  133. package/common/wp.js +197 -44
  134. package/common/wp.test.json +121113 -17800
  135. package/common/yesno.js +1 -1
  136. package/common/yesno.test.json +168 -4
  137. package/package.json +11 -6
@@ -6,6 +6,7 @@
6
6
  },
7
7
  "contexts": [
8
8
  {
9
+ "context_index": 1,
9
10
  "dead": true,
10
11
  "default": true,
11
12
  "level": 1,
@@ -25,7 +26,6 @@
25
26
  "word": "call"
26
27
  }
27
28
  ],
28
- "developerTest": false,
29
29
  "generatedParenthesized": [
30
30
  ""
31
31
  ],
@@ -63,6 +63,7 @@
63
63
  "processed": [
64
64
  {
65
65
  "context": {
66
+ "context_index": 1,
66
67
  "dead": true,
67
68
  "default": true,
68
69
  "level": 1,
@@ -99,6 +100,43 @@
99
100
  "query": "call",
100
101
  "responses": [
101
102
  ""
103
+ ],
104
+ "summaries": [
105
+ {
106
+ "length": 1,
107
+ "summaries": [
108
+ {
109
+ "counter": 1,
110
+ "operators": [
111
+ {
112
+ "marker": [
113
+ "call",
114
+ 0
115
+ ],
116
+ "range": {
117
+ "end": 3,
118
+ "start": 0
119
+ }
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "counter": 2,
125
+ "operators": [
126
+ {
127
+ "marker": [
128
+ "call",
129
+ 1
130
+ ],
131
+ "range": {
132
+ "end": 3,
133
+ "start": 0
134
+ }
135
+ }
136
+ ]
137
+ }
138
+ ]
139
+ }
102
140
  ]
103
141
  }
104
142
  ]
@@ -211,7 +211,7 @@
211
211
  "hierarchy": [
212
212
  [
213
213
  "a",
214
- "articlePOS",
214
+ "article",
215
215
  false
216
216
  ],
217
217
  [
@@ -225,8 +225,8 @@
225
225
  false
226
226
  ],
227
227
  [
228
- "articlePOS",
229
- "articlePOS",
228
+ "article",
229
+ "article",
230
230
  false
231
231
  ],
232
232
  [
@@ -284,6 +284,11 @@
284
284
  "canBeQuestion",
285
285
  false
286
286
  ],
287
+ [
288
+ "comparable",
289
+ "theAble",
290
+ false
291
+ ],
287
292
  [
288
293
  "concept",
289
294
  "queryable",
@@ -344,11 +349,21 @@
344
349
  "theAble",
345
350
  false
346
351
  ],
352
+ [
353
+ "distributable",
354
+ "queryable",
355
+ false
356
+ ],
347
357
  [
348
358
  "doubleQuote",
349
359
  "queryable",
350
360
  false
351
361
  ],
362
+ [
363
+ "each",
364
+ "article",
365
+ false
366
+ ],
352
367
  [
353
368
  "evaluate",
354
369
  "verb",
@@ -356,7 +371,7 @@
356
371
  ],
357
372
  [
358
373
  "every",
359
- "quantifier",
374
+ "article",
360
375
  false
361
376
  ],
362
377
  [
@@ -414,6 +429,11 @@
414
429
  "isEder",
415
430
  false
416
431
  ],
432
+ [
433
+ "isQuery",
434
+ "verb",
435
+ false
436
+ ],
417
437
  [
418
438
  "it",
419
439
  "pronoun",
@@ -434,6 +454,11 @@
434
454
  "toAble",
435
455
  false
436
456
  ],
457
+ [
458
+ "listable",
459
+ "listable",
460
+ false
461
+ ],
437
462
  [
438
463
  "lowest",
439
464
  "condition",
@@ -469,6 +494,11 @@
469
494
  "queryable",
470
495
  false
471
496
  ],
497
+ [
498
+ "object",
499
+ "listable",
500
+ false
501
+ ],
472
502
  [
473
503
  "object",
474
504
  "queryable",
@@ -526,7 +556,7 @@
526
556
  ],
527
557
  [
528
558
  "ordering_modifier",
529
- "ordering_modifier",
559
+ "adjective",
530
560
  false
531
561
  ],
532
562
  [
@@ -566,7 +596,7 @@
566
596
  ],
567
597
  [
568
598
  "queryable",
569
- "queryable",
599
+ "listable",
570
600
  false
571
601
  ],
572
602
  [
@@ -701,7 +731,7 @@
701
731
  ],
702
732
  [
703
733
  "the",
704
- "articlePOS",
734
+ "article",
705
735
  false
706
736
  ],
707
737
  [
@@ -875,7 +905,7 @@
875
905
  "end": 11
876
906
  },
877
907
  "dead": true,
878
- "level": 1
908
+ "level": 0
879
909
  }
880
910
  ],
881
911
  "concept": {
@@ -889,9 +919,10 @@
889
919
  "end": 29
890
920
  },
891
921
  "dead": true,
892
- "level": 1
922
+ "level": 0
893
923
  },
894
924
  "level": 1,
925
+ "context_index": 1,
895
926
  "topLevel": true,
896
927
  "touchedBy": [
897
928
  "math#call2"
@@ -919,32 +950,135 @@
919
950
  "unknown",
920
951
  0
921
952
  ]
922
- ],
923
- [
924
- [
925
- "modifies",
926
- 0
927
- ],
928
- [
929
- "unknown",
930
- 0
931
- ],
932
- [
933
- "unknown",
934
- 1
935
- ]
936
- ],
937
- [
938
- [
939
- "modifies",
940
- 0
941
- ],
942
- [
943
- "unknown",
944
- 1
945
- ]
946
953
  ]
947
954
  ],
955
+ "summaries": [
956
+ {
957
+ "summaries": [
958
+ {
959
+ "operators": [
960
+ {
961
+ "marker": [
962
+ "unknown",
963
+ 0
964
+ ],
965
+ "range": {
966
+ "start": 0,
967
+ "end": 11
968
+ }
969
+ },
970
+ {
971
+ "marker": [
972
+ "modifies",
973
+ 0
974
+ ],
975
+ "range": {
976
+ "start": 13,
977
+ "end": 20
978
+ }
979
+ },
980
+ {
981
+ "marker": [
982
+ "unknown",
983
+ 0
984
+ ],
985
+ "range": {
986
+ "start": 22,
987
+ "end": 29
988
+ }
989
+ }
990
+ ],
991
+ "counter": 1
992
+ },
993
+ {
994
+ "operators": [
995
+ {
996
+ "marker": [
997
+ "unknown",
998
+ 0
999
+ ],
1000
+ "range": {
1001
+ "start": 0,
1002
+ "end": 11
1003
+ }
1004
+ },
1005
+ {
1006
+ "marker": [
1007
+ "modifies",
1008
+ 0
1009
+ ],
1010
+ "range": {
1011
+ "start": 13,
1012
+ "end": 20
1013
+ }
1014
+ },
1015
+ {
1016
+ "marker": [
1017
+ "unknown",
1018
+ 0
1019
+ ],
1020
+ "range": {
1021
+ "start": 22,
1022
+ "end": 29
1023
+ }
1024
+ }
1025
+ ],
1026
+ "counter": 2
1027
+ },
1028
+ {
1029
+ "operators": [
1030
+ {
1031
+ "marker": [
1032
+ "unknown",
1033
+ 0
1034
+ ],
1035
+ "range": {
1036
+ "start": 0,
1037
+ "end": 11
1038
+ }
1039
+ },
1040
+ {
1041
+ "marker": [
1042
+ "modifies",
1043
+ 0
1044
+ ],
1045
+ "range": {
1046
+ "start": 13,
1047
+ "end": 20
1048
+ }
1049
+ },
1050
+ {
1051
+ "marker": [
1052
+ "unknown",
1053
+ 0
1054
+ ],
1055
+ "range": {
1056
+ "start": 22,
1057
+ "end": 29
1058
+ }
1059
+ }
1060
+ ],
1061
+ "counter": 3
1062
+ },
1063
+ {
1064
+ "operators": [
1065
+ {
1066
+ "marker": [
1067
+ "modifies",
1068
+ 1
1069
+ ],
1070
+ "range": {
1071
+ "start": 0,
1072
+ "end": 29
1073
+ }
1074
+ }
1075
+ ],
1076
+ "counter": 4
1077
+ }
1078
+ ],
1079
+ "length": 1
1080
+ }
1081
+ ],
948
1082
  "learned_contextual_priorities": [],
949
1083
  "query": "mathematical modifies operator",
950
1084
  "key": {
@@ -1157,31 +1291,134 @@
1157
1291
  "unknown",
1158
1292
  0
1159
1293
  ]
1160
- ],
1161
- [
1162
- [
1163
- "modifies",
1164
- 0
1165
- ],
1166
- [
1167
- "unknown",
1168
- 0
1169
- ],
1170
- [
1171
- "unknown",
1172
- 1
1173
- ]
1174
- ],
1175
- [
1176
- [
1177
- "modifies",
1178
- 0
1179
- ],
1180
- [
1181
- "unknown",
1182
- 1
1183
- ]
1184
1294
  ]
1185
1295
  ],
1296
+ "summaries": [
1297
+ {
1298
+ "summaries": [
1299
+ {
1300
+ "operators": [
1301
+ {
1302
+ "marker": [
1303
+ "unknown",
1304
+ 0
1305
+ ],
1306
+ "range": {
1307
+ "start": 0,
1308
+ "end": 11
1309
+ }
1310
+ },
1311
+ {
1312
+ "marker": [
1313
+ "modifies",
1314
+ 0
1315
+ ],
1316
+ "range": {
1317
+ "start": 13,
1318
+ "end": 20
1319
+ }
1320
+ },
1321
+ {
1322
+ "marker": [
1323
+ "unknown",
1324
+ 0
1325
+ ],
1326
+ "range": {
1327
+ "start": 22,
1328
+ "end": 29
1329
+ }
1330
+ }
1331
+ ],
1332
+ "counter": 1
1333
+ },
1334
+ {
1335
+ "operators": [
1336
+ {
1337
+ "marker": [
1338
+ "unknown",
1339
+ 0
1340
+ ],
1341
+ "range": {
1342
+ "start": 0,
1343
+ "end": 11
1344
+ }
1345
+ },
1346
+ {
1347
+ "marker": [
1348
+ "modifies",
1349
+ 0
1350
+ ],
1351
+ "range": {
1352
+ "start": 13,
1353
+ "end": 20
1354
+ }
1355
+ },
1356
+ {
1357
+ "marker": [
1358
+ "unknown",
1359
+ 0
1360
+ ],
1361
+ "range": {
1362
+ "start": 22,
1363
+ "end": 29
1364
+ }
1365
+ }
1366
+ ],
1367
+ "counter": 2
1368
+ },
1369
+ {
1370
+ "operators": [
1371
+ {
1372
+ "marker": [
1373
+ "unknown",
1374
+ 0
1375
+ ],
1376
+ "range": {
1377
+ "start": 0,
1378
+ "end": 11
1379
+ }
1380
+ },
1381
+ {
1382
+ "marker": [
1383
+ "modifies",
1384
+ 0
1385
+ ],
1386
+ "range": {
1387
+ "start": 13,
1388
+ "end": 20
1389
+ }
1390
+ },
1391
+ {
1392
+ "marker": [
1393
+ "unknown",
1394
+ 0
1395
+ ],
1396
+ "range": {
1397
+ "start": 22,
1398
+ "end": 29
1399
+ }
1400
+ }
1401
+ ],
1402
+ "counter": 3
1403
+ },
1404
+ {
1405
+ "operators": [
1406
+ {
1407
+ "marker": [
1408
+ "modifies",
1409
+ 1
1410
+ ],
1411
+ "range": {
1412
+ "start": 0,
1413
+ "end": 29
1414
+ }
1415
+ }
1416
+ ],
1417
+ "counter": 4
1418
+ }
1419
+ ],
1420
+ "length": 1
1421
+ }
1422
+ ],
1186
1423
  "learned_contextual_priorities": []
1187
1424
  }
package/common/math.js CHANGED
@@ -69,7 +69,7 @@ const mathematicalOperator = (name, words, apply, before = []) => [
69
69
  }
70
70
  ]
71
71
 
72
- let config = {
72
+ const config = {
73
73
  name: 'math',
74
74
  operators: [
75
75
  "([mathematicalExpression])",