tpmkms_4wp 9.0.3-beta.0 → 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/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",
@@ -44,11 +36,7 @@ const template = {
44
36
  {
45
37
  associations: {
46
38
  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 },
39
+ { context: [["not",0],["unknown",0]], choose: 1 },
52
40
  ]
53
41
  },
54
42
  },
@@ -102,47 +102,10 @@ 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
109
  { context: [["queryable",0],["is",0],["isEder",0],["isEdAble",0],["by",0]], choose: 1 },
147
110
  { context: [["queryable",1],["is",0],["isEder",0],["isEdAble",0],["by",0]], choose: 1 },
148
111
  { context: [["queryable",1],["is",0],["isEder",1],["isEdAble",0],["by",0]], choose: 1 },
@@ -153,16 +116,9 @@ const config = {
153
116
  { context: [["unknown",0],["isEd",0],["isEdAble",0],["by",1]], choose: 1 },
154
117
  { context: [["unknown",0],["isEd",0],["isEdAble",0]], choose: 1 },
155
118
 
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
119
 
163
120
  ...listorama('unknown'),
164
121
  ...listorama('queryable'),
165
- // ...listorama('listable'),
166
122
  ]
167
123
  },
168
124
  bridges: [
@@ -396,12 +352,8 @@ const config = {
396
352
  priorities: [
397
353
  { "context": [['is', 0], ['means', 0], ], "choose": [0] },
398
354
  { "context": [['is', 0], ['means', 0], ], "choose": [0] },
399
- { "context": [["what",0], ["does",0],], "choose": [0] },
400
- { "context": [["is",0], ["is",1],], "choose": [0] },
401
355
  { "context": [["isEdAble",0], ["isEd",0],], "choose": [0] },
402
- { "context": [['a', 0], ['is', 0], ['does', 0], ], "choose": [0] },
403
356
  { "context": [['isEd', 0], ['means', 0], ], "choose": [0] },
404
- { "context": [['article', 0], ['isEdAble', 0], ], "choose": [0] },
405
357
  { "context": [['isEdAble', 0], ['is', 0], ], "choose": [0] },
406
358
  { "context": [['isEdAble', 0], ['is', 1], ], "choose": [0] },
407
359
  ],
@@ -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": [
@@ -1734,69 +1672,7 @@
1734
1672
  "number"
1735
1673
  ]
1736
1674
  }
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
- }
1675
+ ]
1800
1676
  }
1801
1677
  ],
1802
1678
  "fragments": [],
@@ -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 = {