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.
@@ -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',
@@ -9,10 +9,6 @@ const config = {
9
9
  operators: [
10
10
  "(x [list|and] y)",
11
11
  ],
12
- associations: {
13
- positive: [
14
- ]
15
- },
16
12
  bridges: [
17
13
  // context.instance == variables.instance (unification)
18
14
  {
@@ -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 },
@@ -137049,24 +137049,6 @@
137049
137049
  0
137050
137050
  ]
137051
137051
  ],
137052
- [
137053
- [
137054
- "is",
137055
- 0
137056
- ],
137057
- [
137058
- "list",
137059
- 1
137060
- ],
137061
- [
137062
- "sandwich",
137063
- 0
137064
- ],
137065
- [
137066
- "unknown",
137067
- 0
137068
- ]
137069
- ],
137070
137052
  [
137071
137053
  [
137072
137054
  "is",
@@ -150547,6 +150529,20 @@
150547
150529
  0
150548
150530
  ]
150549
150531
  ],
150532
+ [
150533
+ [
150534
+ "a",
150535
+ 0
150536
+ ],
150537
+ [
150538
+ "is",
150539
+ 0
150540
+ ],
150541
+ [
150542
+ "unknown",
150543
+ 0
150544
+ ]
150545
+ ],
150550
150546
  [
150551
150547
  [
150552
150548
  "is",
@@ -346472,64 +346468,6 @@
346472
346468
  "pancake",
346473
346469
  0
346474
346470
  ],
346475
- [
346476
- "platter",
346477
- 0
346478
- ],
346479
- [
346480
- "sausage",
346481
- 0
346482
- ],
346483
- [
346484
- "toast",
346485
- 0
346486
- ]
346487
- ],
346488
- [
346489
- [
346490
- "breakfast",
346491
- 0
346492
- ],
346493
- [
346494
- "comma",
346495
- 0
346496
- ],
346497
- [
346498
- "double",
346499
- 0
346500
- ],
346501
- [
346502
- "french",
346503
- 0
346504
- ],
346505
- [
346506
- "is",
346507
- 0
346508
- ],
346509
- [
346510
- "list",
346511
- 0
346512
- ],
346513
- [
346514
- "meal",
346515
- 0
346516
- ],
346517
- [
346518
- "muffin",
346519
- 0
346520
- ],
346521
- [
346522
- "oatmeal",
346523
- 0
346524
- ],
346525
- [
346526
- "pancake",
346527
- 0
346528
- ],
346529
- [
346530
- "platter",
346531
- 0
346532
- ],
346533
346471
  [
346534
346472
  "sausage",
346535
346473
  0
@@ -346548,10 +346486,6 @@
346548
346486
  "comma",
346549
346487
  0
346550
346488
  ],
346551
- [
346552
- "double",
346553
- 0
346554
- ],
346555
346489
  [
346556
346490
  "french",
346557
346491
  0
@@ -346568,10 +346502,6 @@
346568
346502
  "meal",
346569
346503
  0
346570
346504
  ],
346571
- [
346572
- "muffin",
346573
- 0
346574
- ],
346575
346505
  [
346576
346506
  "oatmeal",
346577
346507
  0
@@ -346580,10 +346510,6 @@
346580
346510
  "pancake",
346581
346511
  0
346582
346512
  ],
346583
- [
346584
- "sausage",
346585
- 0
346586
- ],
346587
346513
  [
346588
346514
  "toast",
346589
346515
  0
@@ -346618,10 +346544,6 @@
346618
346544
  "oatmeal",
346619
346545
  0
346620
346546
  ],
346621
- [
346622
- "pancake",
346623
- 0
346624
- ],
346625
346547
  [
346626
346548
  "toast",
346627
346549
  0
@@ -346632,10 +346554,6 @@
346632
346554
  "breakfast",
346633
346555
  0
346634
346556
  ],
346635
- [
346636
- "comma",
346637
- 0
346638
- ],
346639
346557
  [
346640
346558
  "french",
346641
346559
  0
@@ -346666,10 +346584,6 @@
346666
346584
  "breakfast",
346667
346585
  0
346668
346586
  ],
346669
- [
346670
- "french",
346671
- 0
346672
- ],
346673
346587
  [
346674
346588
  "is",
346675
346589
  0
@@ -346685,10 +346599,6 @@
346685
346599
  [
346686
346600
  "oatmeal",
346687
346601
  0
346688
- ],
346689
- [
346690
- "toast",
346691
- 0
346692
346602
  ]
346693
346603
  ],
346694
346604
  [
@@ -346702,15 +346612,11 @@
346702
346612
  ],
346703
346613
  [
346704
346614
  "list",
346705
- 0
346615
+ 1
346706
346616
  ],
346707
346617
  [
346708
346618
  "meal",
346709
346619
  0
346710
- ],
346711
- [
346712
- "oatmeal",
346713
- 0
346714
346620
  ]
346715
346621
  ],
346716
346622
  [
@@ -396492,20 +396398,6 @@
396492
396398
  0
396493
396399
  ]
396494
396400
  ],
396495
- [
396496
- [
396497
- "is",
396498
- 0
396499
- ],
396500
- [
396501
- "list",
396502
- 1
396503
- ],
396504
- [
396505
- "pop",
396506
- 0
396507
- ]
396508
- ],
396509
396401
  [
396510
396402
  [
396511
396403
  "is",
@@ -582300,6 +582192,24 @@
582300
582192
  0
582301
582193
  ]
582302
582194
  ],
582195
+ [
582196
+ [
582197
+ "is",
582198
+ 0
582199
+ ],
582200
+ [
582201
+ "kid",
582202
+ 0
582203
+ ],
582204
+ [
582205
+ "list",
582206
+ 1
582207
+ ],
582208
+ [
582209
+ "meal",
582210
+ 0
582211
+ ]
582212
+ ],
582303
582213
  [
582304
582214
  [
582305
582215
  "is",
@@ -618491,6 +618401,20 @@
618491
618401
  0
618492
618402
  ]
618493
618403
  ],
618404
+ [
618405
+ [
618406
+ "a",
618407
+ 0
618408
+ ],
618409
+ [
618410
+ "is",
618411
+ 0
618412
+ ],
618413
+ [
618414
+ "unknown",
618415
+ 0
618416
+ ]
618417
+ ],
618494
618418
  [
618495
618419
  [
618496
618420
  "apple",
@@ -620114,64 +620038,6 @@
620114
620038
  "pancake",
620115
620039
  0
620116
620040
  ],
620117
- [
620118
- "platter",
620119
- 0
620120
- ],
620121
- [
620122
- "sausage",
620123
- 0
620124
- ],
620125
- [
620126
- "toast",
620127
- 0
620128
- ]
620129
- ],
620130
- [
620131
- [
620132
- "breakfast",
620133
- 0
620134
- ],
620135
- [
620136
- "comma",
620137
- 0
620138
- ],
620139
- [
620140
- "double",
620141
- 0
620142
- ],
620143
- [
620144
- "french",
620145
- 0
620146
- ],
620147
- [
620148
- "is",
620149
- 0
620150
- ],
620151
- [
620152
- "list",
620153
- 0
620154
- ],
620155
- [
620156
- "meal",
620157
- 0
620158
- ],
620159
- [
620160
- "muffin",
620161
- 0
620162
- ],
620163
- [
620164
- "oatmeal",
620165
- 0
620166
- ],
620167
- [
620168
- "pancake",
620169
- 0
620170
- ],
620171
- [
620172
- "platter",
620173
- 0
620174
- ],
620175
620041
  [
620176
620042
  "sausage",
620177
620043
  0
@@ -620190,10 +620056,6 @@
620190
620056
  "comma",
620191
620057
  0
620192
620058
  ],
620193
- [
620194
- "double",
620195
- 0
620196
- ],
620197
620059
  [
620198
620060
  "french",
620199
620061
  0
@@ -620210,10 +620072,6 @@
620210
620072
  "meal",
620211
620073
  0
620212
620074
  ],
620213
- [
620214
- "muffin",
620215
- 0
620216
- ],
620217
620075
  [
620218
620076
  "oatmeal",
620219
620077
  0
@@ -620222,10 +620080,6 @@
620222
620080
  "pancake",
620223
620081
  0
620224
620082
  ],
620225
- [
620226
- "sausage",
620227
- 0
620228
- ],
620229
620083
  [
620230
620084
  "toast",
620231
620085
  0
@@ -620260,10 +620114,6 @@
620260
620114
  "oatmeal",
620261
620115
  0
620262
620116
  ],
620263
- [
620264
- "pancake",
620265
- 0
620266
- ],
620267
620117
  [
620268
620118
  "toast",
620269
620119
  0
@@ -620274,10 +620124,6 @@
620274
620124
  "breakfast",
620275
620125
  0
620276
620126
  ],
620277
- [
620278
- "comma",
620279
- 0
620280
- ],
620281
620127
  [
620282
620128
  "french",
620283
620129
  0
@@ -620308,10 +620154,6 @@
620308
620154
  "breakfast",
620309
620155
  0
620310
620156
  ],
620311
- [
620312
- "french",
620313
- 0
620314
- ],
620315
620157
  [
620316
620158
  "is",
620317
620159
  0
@@ -620327,10 +620169,6 @@
620327
620169
  [
620328
620170
  "oatmeal",
620329
620171
  0
620330
- ],
620331
- [
620332
- "toast",
620333
- 0
620334
620172
  ]
620335
620173
  ],
620336
620174
  [
@@ -620344,15 +620182,11 @@
620344
620182
  ],
620345
620183
  [
620346
620184
  "list",
620347
- 0
620185
+ 1
620348
620186
  ],
620349
620187
  [
620350
620188
  "meal",
620351
620189
  0
620352
- ],
620353
- [
620354
- "oatmeal",
620355
- 0
620356
620190
  ]
620357
620191
  ],
620358
620192
  [
@@ -622427,6 +622261,24 @@
622427
622261
  0
622428
622262
  ]
622429
622263
  ],
622264
+ [
622265
+ [
622266
+ "is",
622267
+ 0
622268
+ ],
622269
+ [
622270
+ "kid",
622271
+ 0
622272
+ ],
622273
+ [
622274
+ "list",
622275
+ 1
622276
+ ],
622277
+ [
622278
+ "meal",
622279
+ 0
622280
+ ]
622281
+ ],
622430
622282
  [
622431
622283
  [
622432
622284
  "is",
@@ -622641,20 +622493,6 @@
622641
622493
  0
622642
622494
  ]
622643
622495
  ],
622644
- [
622645
- [
622646
- "is",
622647
- 0
622648
- ],
622649
- [
622650
- "list",
622651
- 1
622652
- ],
622653
- [
622654
- "pop",
622655
- 0
622656
- ]
622657
- ],
622658
622496
  [
622659
622497
  [
622660
622498
  "is",
@@ -622705,24 +622543,6 @@
622705
622543
  0
622706
622544
  ]
622707
622545
  ],
622708
- [
622709
- [
622710
- "is",
622711
- 0
622712
- ],
622713
- [
622714
- "list",
622715
- 1
622716
- ],
622717
- [
622718
- "sandwich",
622719
- 0
622720
- ],
622721
- [
622722
- "unknown",
622723
- 0
622724
- ]
622725
- ],
622726
622546
  [
622727
622547
  [
622728
622548
  "is",
@@ -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
  {