tpmkms_4wp 9.0.3 → 9.1.1-beta.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/animals.instance.json +0 -130
- package/common/articles.js +8 -0
- package/common/avatar.js +0 -8
- package/common/colors.instance.json +136 -192
- package/common/comparable.instance.json +2 -93
- package/common/comparable.js +6 -7
- package/common/concept.js +0 -8
- package/common/conjunction.js +0 -7
- package/common/crew.instance.json +83 -903
- package/common/crew.js +0 -19
- package/common/dialogues.js +18 -63
- package/common/dimension.instance.json +2 -136
- package/common/dimension.js +0 -8
- package/common/edible.instance.json +474 -675
- package/common/edible.js +0 -13
- package/common/emotions.instance.json +0 -10
- package/common/emotions.js +0 -8
- package/common/fastfood.instance.json +3761 -7798
- package/common/fastfood.js +0 -120
- package/common/formulas.instance.json +0 -10
- package/common/help.js +0 -5
- package/common/helpers/properties.js +1 -1
- package/common/hierarchy.js +0 -9
- package/common/kirk.instance.json +0 -10
- package/common/length.instance.json +0 -150
- package/common/math.instance.json +0 -10
- package/common/menus.instance.json +2 -0
- package/common/menus.js +61 -0
- package/common/menus.test.json +2 -0
- package/common/meta.js +7 -0
- package/common/negation.js +5 -0
- package/common/ordering.instance.json +0 -20
- package/common/ordinals.js +0 -5
- package/common/people.instance.json +147 -196
- package/common/people.js +0 -4
- package/common/pipboy.instance.json +102 -753
- package/common/pipboy.js +0 -17
- package/common/pokemon.instance.json +140 -679
- package/common/pressure.instance.json +0 -40
- package/common/properties.instance.json +0 -10
- package/common/properties.js +1 -14
- package/common/reports.instance.json +1 -21
- package/common/reports.js +0 -7
- package/common/scorekeeper.js +0 -12
- package/common/spock.instance.json +0 -10
- package/common/temperature.instance.json +112 -40
- package/common/ui.instance.json +0 -10
- package/common/weight.instance.json +0 -367
- package/common/weight.js +0 -9
- package/common/wp.instance.json +45 -681
- package/common/wp.js +0 -18
- package/main.js +2 -0
- package/package.json +7 -3
package/common/crew.js
CHANGED
@@ -24,14 +24,6 @@ const template = {
|
|
24
24
|
"mccoy's eyes are brown",
|
25
25
|
"mccoy is a crew member",
|
26
26
|
"mccoy is a doctor",
|
27
|
-
{
|
28
|
-
associations: {
|
29
|
-
positive: [
|
30
|
-
{ context: [["article",0],["unknown",0],["propertyOf",0],["the",0],["unknown",0],["is",0],["unknown",0]], choose: 5 },
|
31
|
-
{ context: [["what",0],["is",0],["the",0],["crew_member",1]], choose: 1 },
|
32
|
-
]
|
33
|
-
},
|
34
|
-
},
|
35
27
|
"the status of the phasers is armed",
|
36
28
|
"photon modifies torpedoes",
|
37
29
|
"the status of the photon torpedoes is armed",
|
@@ -41,17 +33,6 @@ const template = {
|
|
41
33
|
"spock is readonly",
|
42
34
|
"mccoy is readonly",
|
43
35
|
"arm the weapon means the status of the weapon is armed",
|
44
|
-
{
|
45
|
-
associations: {
|
46
|
-
positive: [
|
47
|
-
{ context: [["disarm",0],["the",0],["unknown",0],["means",0],["the",0],["unknown",0],["propertyOf",0],["the",0],["unknown",0],["isEd",0],["not",0],["unknown",0]], choose: 3 },
|
48
|
-
{ context: [["disarm",0],["unknown",0],["means",0],["the",0],["unknown",0],["propertyOf",0],["the",0],["unknown",0],["isEd",0],["not",0],["unknown",0]], choose: 2 },
|
49
|
-
{ context: [["disarm",0],["unknown",0],["means",0],["unknown",0],["propertyOf",0],["the",0],["unknown",0],["isEd",0],["not",0],["unknown",0]], choose: 2 },
|
50
|
-
{ context: [["disarm",0],["unknown",0],["means",0],["unknown",0],["propertyOf",0],["unknown",0],["isEd",0],["not",0],["unknown",0]], choose: 2 },
|
51
|
-
{ context: [["disarm",1],["means",0],["unknown",0],["propertyOf",0],["unknown",0],["isEd",0],["not",0],["unknown",0]], choose: 1 },
|
52
|
-
]
|
53
|
-
},
|
54
|
-
},
|
55
36
|
"disarm the weapon means the status of the weapon is not armed",
|
56
37
|
],
|
57
38
|
};
|
package/common/dialogues.js
CHANGED
@@ -102,67 +102,17 @@ const config = {
|
|
102
102
|
"([to] ([toAble|]))",
|
103
103
|
],
|
104
104
|
associations: {
|
105
|
-
negative: [
|
106
|
-
// [['isEd', 0], ['unknown', 0]],
|
107
|
-
// [['isEd', 0], ['unknown', 1]],
|
108
|
-
// [['is', 0], ['means', 0]],
|
109
|
-
],
|
110
105
|
positive: [
|
111
|
-
// [['is', 0], ['unknown', 1]],
|
112
|
-
// [['isEd', 0], ['means', 0]],
|
113
|
-
// [['unknown', 0], ['list', 0], ['unknown', 0]],
|
114
106
|
{ context: [['unknown', 0], ['isEdAble', 0]], choose: 1 },
|
115
|
-
|
116
|
-
{ context: [['listable', 0], ['list', 0], ['listable', 0]], choose: 0 },
|
117
|
-
{ context: [['the', 0], ['listable', 0], ['list', 0], ['listable', 0]], choose: 1 },
|
118
|
-
{ context: [['the', 0], ['listable', 0], ['list', 0], ['the', 0], ['listable', 0]], choose: 1 },
|
119
|
-
|
120
|
-
{ context: [['queryable', 0], ['is', 0], ['article', 0], ['theAble', 0]], choose: 1 },
|
121
|
-
{ context: [['queryable', 1], ['is', 0], ['article', 0], ['theAble', 0]], choose: 1 },
|
122
|
-
{ context: [['queryable', 1], ['is', 0], ['article', 0], ['theAble', 1]], choose: 1 },
|
123
|
-
|
124
107
|
{ context: [['isQuery', 0], ['a', 0], ['unknown', 0], ['a', 0], ['unknown', 0]], choose: 0 },
|
125
108
|
|
126
|
-
{ context: [['isQuery', 0], ['unknown', 0], ['unknown', 0]], choose: 0 },
|
127
|
-
|
128
|
-
{ context: [['isQuery', 0], ['unknown', 0], ['article', 0], ['unknown', 0]], choose: 0 },
|
129
|
-
|
130
|
-
{ context: [['isQuery', 0], ['queryable', 0], ['article', 0], ['queryable', 0]], choose: 0 },
|
131
|
-
{ context: [['isQuery', 0], ['queryable', 1], ['article', 0], ['queryable', 0]], choose: 0 },
|
132
|
-
{ context: [['isQuery', 0], ['queryable', 1], ['article', 0], ['queryable', 1]], choose: 0 },
|
133
|
-
|
134
|
-
{ context: [['unknown', 0], ['is', 0], ['unknown', 0]], choose: 1 },
|
135
|
-
{ context: [["unknown",0],["is",0],["article",0],["queryable",0]], choose: 1 },
|
136
|
-
{ context: [["unknown",0],["is",0],["article",0],["queryable",1]], choose: 1 },
|
137
|
-
|
138
|
-
{ context: [["a",0],["unknown",0],["is",0],["a",0],["unknown",0]], choose: 2 },
|
139
|
-
|
140
|
-
{ context: [['article', 0], ['unknown', 0], ['is', 0], ['article', 0], ['unknown', 0]], choose: 2 },
|
141
|
-
{ context: [['queryable', 0], ['is', 0], ['article', 0], ['unknown', 1]], choose: 1 },
|
142
|
-
{ context: [['queryable', 1], ['is', 0], ['article', 0], ['unknown', 1]], choose: 1 },
|
143
|
-
|
144
|
-
{ context: [["article",0],["unknown",0],["isEdAble",0],["by",0],["unknown",0]], choose: 1 },
|
145
|
-
|
146
|
-
{ context: [["queryable",0],["is",0],["isEder",0],["isEdAble",0],["by",0]], choose: 1 },
|
147
|
-
{ context: [["queryable",1],["is",0],["isEder",0],["isEdAble",0],["by",0]], choose: 1 },
|
148
|
-
{ context: [["queryable",1],["is",0],["isEder",1],["isEdAble",0],["by",0]], choose: 1 },
|
149
|
-
{ context: [["queryable",0],["is",0],["unknown",0],["isEdAble",0],["by",0]], choose: 1 },
|
150
|
-
{ context: [["queryable",1],["is",0],["unknown",0],["isEdAble",0],["by",0]], choose: 1 },
|
151
|
-
|
152
109
|
{ context: [["unknown",0],["isEd",0],["isEdAble",0],["by",0],["unknown",0]], choose: 1 },
|
153
110
|
{ context: [["unknown",0],["isEd",0],["isEdAble",0],["by",1]], choose: 1 },
|
154
111
|
{ context: [["unknown",0],["isEd",0],["isEdAble",0]], choose: 1 },
|
155
112
|
|
156
|
-
{ context: [["isEdee",0],["isEd",0],["isEdAble",0],["by",0],["isEder",0]], choose: 1 },
|
157
|
-
{ context: [["isEdee",1],["isEd",0],["isEdAble",0],["by",0],["isEder",0]], choose: 1 },
|
158
|
-
{ context: [["isEdee",1],["isEd",0],["isEdAble",0],["by",0],["isEder",1]], choose: 1 },
|
159
|
-
{ context: [["isEdee",0],["isEd",0],["isEdAble",0],["by",1]], choose: 1 },
|
160
|
-
{ context: [["isEdee",1],["isEd",0],["isEdAble",0],["by",1]], choose: 1 },
|
161
|
-
|
162
113
|
|
163
114
|
...listorama('unknown'),
|
164
115
|
...listorama('queryable'),
|
165
|
-
// ...listorama('listable'),
|
166
116
|
]
|
167
117
|
},
|
168
118
|
bridges: [
|
@@ -249,14 +199,23 @@ const config = {
|
|
249
199
|
{ id: "isEdAble", level: 1, bridge: "{ ...next(operator) }" },
|
250
200
|
{ id: "isEdee" },
|
251
201
|
{ id: "isEder" },
|
252
|
-
{
|
253
|
-
|
254
|
-
|
202
|
+
{
|
203
|
+
id: "is",
|
204
|
+
localHierarchy: [['unknown', 'queryable']],
|
205
|
+
bridge: "{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }",
|
206
|
+
isA: ['verb'],
|
255
207
|
},
|
256
|
-
{
|
257
|
-
|
258
|
-
|
259
|
-
|
208
|
+
{
|
209
|
+
id: "is",
|
210
|
+
level: 1,
|
211
|
+
localHierarchy: [['unknown', 'queryable']],
|
212
|
+
bridge: "{ ...next(operator) }"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
id: "isQuery",
|
216
|
+
localHierarchy: [['unknown', 'queryable']],
|
217
|
+
bridge: "{ ...operator, marker: operator('is', 1), one: after[0], two: after[1], query: true, generate: [operator, 'one', 'two'] }" ,
|
218
|
+
isA: ['verb'],
|
260
219
|
},
|
261
220
|
|
262
221
|
{ id: "canBeDoQuestion", level: 0, bridge: "{ ...next(operator) }" },
|
@@ -396,12 +355,8 @@ const config = {
|
|
396
355
|
priorities: [
|
397
356
|
{ "context": [['is', 0], ['means', 0], ], "choose": [0] },
|
398
357
|
{ "context": [['is', 0], ['means', 0], ], "choose": [0] },
|
399
|
-
{ "context": [["what",0], ["does",0],], "choose": [0] },
|
400
|
-
{ "context": [["is",0], ["is",1],], "choose": [0] },
|
401
358
|
{ "context": [["isEdAble",0], ["isEd",0],], "choose": [0] },
|
402
|
-
{ "context": [['a', 0], ['is', 0], ['does', 0], ], "choose": [0] },
|
403
359
|
{ "context": [['isEd', 0], ['means', 0], ], "choose": [0] },
|
404
|
-
{ "context": [['article', 0], ['isEdAble', 0], ], "choose": [0] },
|
405
360
|
{ "context": [['isEdAble', 0], ['is', 0], ], "choose": [0] },
|
406
361
|
{ "context": [['isEdAble', 0], ['is', 1], ], "choose": [0] },
|
407
362
|
],
|
@@ -413,9 +368,9 @@ const config = {
|
|
413
368
|
// ['questionMark', 'isEd'],
|
414
369
|
['a', 'article'],
|
415
370
|
['the', 'article'],
|
416
|
-
['unknown', 'theAble'],
|
371
|
+
// ['unknown', 'theAble'],
|
417
372
|
['theAble', 'queryable'],
|
418
|
-
['unknown', 'queryable'],
|
373
|
+
// ['unknown', 'queryable'],
|
419
374
|
['it', 'queryable'],
|
420
375
|
['what', 'queryable'],
|
421
376
|
['whatAble', 'queryable'],
|
@@ -117,69 +117,7 @@
|
|
117
117
|
"number"
|
118
118
|
]
|
119
119
|
}
|
120
|
-
]
|
121
|
-
"associations": {
|
122
|
-
"positive": [
|
123
|
-
{
|
124
|
-
"context": [
|
125
|
-
[
|
126
|
-
"what",
|
127
|
-
0
|
128
|
-
],
|
129
|
-
[
|
130
|
-
"is",
|
131
|
-
0
|
132
|
-
],
|
133
|
-
[
|
134
|
-
"the",
|
135
|
-
0
|
136
|
-
],
|
137
|
-
[
|
138
|
-
"unit",
|
139
|
-
0
|
140
|
-
],
|
141
|
-
[
|
142
|
-
"propertyOf",
|
143
|
-
0
|
144
|
-
],
|
145
|
-
[
|
146
|
-
"dimension",
|
147
|
-
0
|
148
|
-
]
|
149
|
-
],
|
150
|
-
"choose": 1
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"context": [
|
154
|
-
[
|
155
|
-
"what",
|
156
|
-
0
|
157
|
-
],
|
158
|
-
[
|
159
|
-
"is",
|
160
|
-
0
|
161
|
-
],
|
162
|
-
[
|
163
|
-
"the",
|
164
|
-
0
|
165
|
-
],
|
166
|
-
[
|
167
|
-
"unit",
|
168
|
-
1
|
169
|
-
],
|
170
|
-
[
|
171
|
-
"propertyOf",
|
172
|
-
0
|
173
|
-
],
|
174
|
-
[
|
175
|
-
"dimension",
|
176
|
-
1
|
177
|
-
]
|
178
|
-
],
|
179
|
-
"choose": 1
|
180
|
-
}
|
181
|
-
]
|
182
|
-
}
|
120
|
+
]
|
183
121
|
}
|
184
122
|
],
|
185
123
|
"resultss": [
|
@@ -1020,16 +958,6 @@
|
|
1020
958
|
"hierarchyAble",
|
1021
959
|
false
|
1022
960
|
],
|
1023
|
-
[
|
1024
|
-
"unknown",
|
1025
|
-
"queryable",
|
1026
|
-
false
|
1027
|
-
],
|
1028
|
-
[
|
1029
|
-
"unknown",
|
1030
|
-
"theAble",
|
1031
|
-
false
|
1032
|
-
],
|
1033
961
|
[
|
1034
962
|
"verb",
|
1035
963
|
"verb",
|
@@ -1734,69 +1662,7 @@
|
|
1734
1662
|
"number"
|
1735
1663
|
]
|
1736
1664
|
}
|
1737
|
-
]
|
1738
|
-
"associations": {
|
1739
|
-
"positive": [
|
1740
|
-
{
|
1741
|
-
"context": [
|
1742
|
-
[
|
1743
|
-
"what",
|
1744
|
-
0
|
1745
|
-
],
|
1746
|
-
[
|
1747
|
-
"is",
|
1748
|
-
0
|
1749
|
-
],
|
1750
|
-
[
|
1751
|
-
"the",
|
1752
|
-
0
|
1753
|
-
],
|
1754
|
-
[
|
1755
|
-
"unit",
|
1756
|
-
0
|
1757
|
-
],
|
1758
|
-
[
|
1759
|
-
"propertyOf",
|
1760
|
-
0
|
1761
|
-
],
|
1762
|
-
[
|
1763
|
-
"dimension",
|
1764
|
-
0
|
1765
|
-
]
|
1766
|
-
],
|
1767
|
-
"choose": 1
|
1768
|
-
},
|
1769
|
-
{
|
1770
|
-
"context": [
|
1771
|
-
[
|
1772
|
-
"what",
|
1773
|
-
0
|
1774
|
-
],
|
1775
|
-
[
|
1776
|
-
"is",
|
1777
|
-
0
|
1778
|
-
],
|
1779
|
-
[
|
1780
|
-
"the",
|
1781
|
-
0
|
1782
|
-
],
|
1783
|
-
[
|
1784
|
-
"unit",
|
1785
|
-
1
|
1786
|
-
],
|
1787
|
-
[
|
1788
|
-
"propertyOf",
|
1789
|
-
0
|
1790
|
-
],
|
1791
|
-
[
|
1792
|
-
"dimension",
|
1793
|
-
1
|
1794
|
-
]
|
1795
|
-
],
|
1796
|
-
"choose": 1
|
1797
|
-
}
|
1798
|
-
]
|
1799
|
-
}
|
1665
|
+
]
|
1800
1666
|
}
|
1801
1667
|
],
|
1802
1668
|
"fragments": [],
|
package/common/dimension.js
CHANGED
@@ -175,14 +175,6 @@ const config = {
|
|
175
175
|
isA: ['number'],
|
176
176
|
},
|
177
177
|
],
|
178
|
-
associations: {
|
179
|
-
positive: [
|
180
|
-
{ context: [["what",0],["is",0],["the",0],["unit",0],["propertyOf",0],["dimension",0]], choose: 1 },
|
181
|
-
{ context: [["what",0],["is",0],["the",0],["unit",1],["propertyOf",0],["dimension",1]], choose: 1 },
|
182
|
-
// { context: [["integer",0],["degree",0],["fahrenheit",0]], choose: 1 },
|
183
|
-
],
|
184
|
-
}
|
185
|
-
|
186
178
|
};
|
187
179
|
|
188
180
|
const template = {
|