tpmkms_4wp 9.0.3-beta.1 → 9.0.3-beta.2
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/articles.js +6 -0
- package/common/conjunction.js +0 -4
- package/common/dialogues.js +0 -2
- package/common/edible.instance.json +56 -0
- package/common/fastfood.instance.json +66 -246
- package/common/fastfood.js +0 -38
- package/common/people.instance.json +23 -31
- package/common/pipboy.instance.json +28 -248
- package/common/pipboy.js +0 -7
- package/common/properties.js +0 -1
- package/common/reports.instance.json +1 -1
- package/common/weight.instance.json +2 -70
- package/common/wp.instance.json +1568 -224
- package/common/wp.js +46 -0
- package/package.json +2 -2
package/common/articles.js
CHANGED
@@ -22,6 +22,12 @@ const config = {
|
|
22
22
|
"(<the|> ([theAble]))",
|
23
23
|
"(<a|a,an> ([theAble|]))",
|
24
24
|
],
|
25
|
+
associations: {
|
26
|
+
positive: [
|
27
|
+
{ context: [['article', 0], ['unknown', 0]], choose: 1 },
|
28
|
+
{ context: [['article', 0], ['unknown', 1]], choose: 1 },
|
29
|
+
]
|
30
|
+
},
|
25
31
|
bridges: [
|
26
32
|
{
|
27
33
|
id: 'everything',
|
package/common/conjunction.js
CHANGED
package/common/dialogues.js
CHANGED
@@ -102,8 +102,6 @@ const config = {
|
|
102
102
|
"([to] ([toAble|]))",
|
103
103
|
],
|
104
104
|
associations: {
|
105
|
-
negative: [
|
106
|
-
],
|
107
105
|
positive: [
|
108
106
|
{ context: [['unknown', 0], ['isEdAble', 0]], choose: 1 },
|
109
107
|
{ context: [['isQuery', 0], ['a', 0], ['unknown', 0], ['a', 0], ['unknown', 0]], choose: 0 },
|
@@ -45446,6 +45446,20 @@
|
|
45446
45446
|
0
|
45447
45447
|
]
|
45448
45448
|
],
|
45449
|
+
[
|
45450
|
+
[
|
45451
|
+
"a",
|
45452
|
+
0
|
45453
|
+
],
|
45454
|
+
[
|
45455
|
+
"is",
|
45456
|
+
0
|
45457
|
+
],
|
45458
|
+
[
|
45459
|
+
"unknown",
|
45460
|
+
0
|
45461
|
+
]
|
45462
|
+
],
|
45449
45463
|
[
|
45450
45464
|
[
|
45451
45465
|
"is",
|
@@ -48173,6 +48187,20 @@
|
|
48173
48187
|
0
|
48174
48188
|
]
|
48175
48189
|
],
|
48190
|
+
[
|
48191
|
+
[
|
48192
|
+
"a",
|
48193
|
+
0
|
48194
|
+
],
|
48195
|
+
[
|
48196
|
+
"is",
|
48197
|
+
0
|
48198
|
+
],
|
48199
|
+
[
|
48200
|
+
"unknown",
|
48201
|
+
0
|
48202
|
+
]
|
48203
|
+
],
|
48176
48204
|
[
|
48177
48205
|
[
|
48178
48206
|
"is",
|
@@ -68644,6 +68672,34 @@
|
|
68644
68672
|
0
|
68645
68673
|
]
|
68646
68674
|
],
|
68675
|
+
[
|
68676
|
+
[
|
68677
|
+
"a",
|
68678
|
+
0
|
68679
|
+
],
|
68680
|
+
[
|
68681
|
+
"is",
|
68682
|
+
0
|
68683
|
+
],
|
68684
|
+
[
|
68685
|
+
"unknown",
|
68686
|
+
0
|
68687
|
+
]
|
68688
|
+
],
|
68689
|
+
[
|
68690
|
+
[
|
68691
|
+
"a",
|
68692
|
+
0
|
68693
|
+
],
|
68694
|
+
[
|
68695
|
+
"is",
|
68696
|
+
0
|
68697
|
+
],
|
68698
|
+
[
|
68699
|
+
"unknown",
|
68700
|
+
0
|
68701
|
+
]
|
68702
|
+
],
|
68647
68703
|
[
|
68648
68704
|
[
|
68649
68705
|
"apple",
|
package/common/fastfood.js
CHANGED
@@ -173,44 +173,6 @@ const template = {
|
|
173
173
|
{ context: [['combo', 1], ['list', 0], ['number', 1], ['combo', 1]], ordered: true, choose: [2,3] },
|
174
174
|
{ context: [['list', 0], ['number', 1], ['combo', 1]], ordered: true, choose: [1,2] },
|
175
175
|
{ context: [['list', 0], ['number', 1], ['smoothie_ingredient', 1], ['smoothie', 0]], ordered: true, choose: [1,2] },
|
176
|
-
|
177
|
-
/*
|
178
|
-
|
179
|
-
{ "context": [['number', 0], ['numberNumberCombo', 0], ], "choose": [0] },
|
180
|
-
{ "context": [['list', 0], ['numberNumberCombo', 0], ], "choose": [0] },
|
181
|
-
// [['list', 0], ['comboNumber', 0], ],
|
182
|
-
// [['comboNumber', 0], ['list', 0]],
|
183
|
-
// this is just to learn associations and contextual_priorities I don't want the semantic to actually run
|
184
|
-
// TODO make this learn cp#2 { query: "combo one and (2 combo twos)", skipSemantics: true },
|
185
|
-
// TODO make this learn cp#1 { query: "(single and double) combo", skipSemantics: true },
|
186
|
-
// cp#1
|
187
|
-
{ context: [['meal', 0], ['list',0], ['meal', 0], ['combo', 0]], ordered: true, choose: [0,1,2] },
|
188
|
-
// cp#2
|
189
|
-
// have a way of specifing this
|
190
|
-
// { context: [['list',0], ['number', 0], ['combo', 0], ['number', 0]], ordered: true, choose: [comboNumber (in between 2 and 3)] },
|
191
|
-
{ context: [['list',0], ['number', 0], ['combo', 0], ['number', 0]], ordered: true, choose: [2,3] },
|
192
|
-
{ context: [['list',0], ['number', 1], ['combo', 0], ['number', 0]], ordered: true, choose: [2,3] },
|
193
|
-
{ context: [['list',0], ['number', 1], ['combo', 0], ['number', 1]], ordered: true, choose: [2,3] },
|
194
|
-
{"context":[["mango_passion_smoothie",1],["list",0],["strawberry",1],['smoothie',1]],"ordered":true,"choose":[2,3]},
|
195
|
-
{"context":[["list",0],["number",0],["strawberry",0],['smoothie',0]],"ordered":true,"choose":[1,2]},
|
196
|
-
{"context":[["list",0],["number",1],["strawberry",1],['smoothie',0]],"ordered":true,"choose":[1,2]},
|
197
|
-
{"context":[["list",0],["number",1],["strawberry",1],['smoothie',1]],"ordered":true,"choose":[1,2]},
|
198
|
-
|
199
|
-
// {"context":[["list",0],["number",1],["strawberry",0],['smoothie',0]],"ordered":true,"choose":[1,2]},
|
200
|
-
// {"context":[["list",0],["number",1],["strawberry",0],['smoothie',1]],"ordered":true,"choose":[1,2]},
|
201
|
-
|
202
|
-
// 2 strawberry and 3 mange smoothies
|
203
|
-
// 2 strawberry smoothies and 3 mango smoothies
|
204
|
-
{"context":[['mango_passion_smoothie', 1],["list",0],["number",1],["strawberry",1],['smoothie',1]],"ordered":true,"choose":[3,4]},
|
205
|
-
{"context":[['smoothie', 0],["list",0],["number",1],["strawberry",0],['smoothie',0]],"ordered":true,"choose":[3,4]},
|
206
|
-
{"context":[['smoothie', 1],["list",0],["number",1],["strawberry",0],['smoothie',0]],"ordered":true,"choose":[3,4]},
|
207
|
-
{"context":[["list",0],["number",1],["strawberry",0],['smoothie',0]],"ordered":true,"choose":[1,2]},
|
208
|
-
{"context":[["list",0],["number",1],["strawberry",0],['smoothie',1]],"ordered":true,"choose":[1,2]},
|
209
|
-
|
210
|
-
{"context":[["mango_passion", 1],["list",0],["number",0],["strawberry",0],['smoothie',0]],"ordered":true,"choose":[0,2,3]},
|
211
|
-
{"context":[["mango_passion", 1],["list",0],["number",1],["strawberry",0],['smoothie',0]],"ordered":true,"choose":[0,2,3]},
|
212
|
-
{"context":[["mango_passion", 1],["list",0],["number",1],["strawberry",1],['smoothie',0]],"ordered":true,"choose":[0,2,3]},
|
213
|
-
*/
|
214
176
|
],
|
215
177
|
generators: [
|
216
178
|
{
|