tpmkms_4wp 8.9.1-beta.17 → 8.9.1-beta.19
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 +91 -78
- package/common/articles.js +4 -4
- package/common/asking.test.json +41 -0
- package/common/colors.instance.json +98 -128
- package/common/comparable.instance.json +21 -18
- package/common/comparable.js +1 -1
- package/common/countable.js +1 -1
- package/common/crew.instance.json +182 -224
- package/common/dialogues.js +5 -5
- package/common/dimension.instance.json +7 -6
- package/common/edible.instance.json +224 -236
- package/common/emotions.instance.json +7 -66
- package/common/fastfood.instance.json +709 -1161
- package/common/fastfood.js +1 -1
- package/common/formulas.instance.json +7 -6
- package/common/formulas.test.json +461 -10
- package/common/gdefaults.js +1 -1
- package/common/helpers/concept.js +2 -2
- package/common/helpers/properties.js +1 -1
- package/common/kirk.instance.json +7 -6
- package/common/length.instance.json +105 -90
- package/common/math.instance.json +7 -6
- package/common/ordering.instance.json +14 -132
- package/common/ordinals.js +1 -0
- package/common/people.instance.json +56 -48
- package/common/pipboy.instance.json +129 -112
- package/common/pipboy.js +5 -5
- package/common/pokemon.instance.json +91 -78
- package/common/pos.js +6 -6
- package/common/pressure.instance.json +28 -24
- package/common/properties.instance.json +7 -50
- package/common/properties.js +3 -3
- package/common/reports.instance.json +15 -13
- package/common/reports.js +1 -1
- package/common/sizeable.js +1 -1
- package/common/spock.instance.json +7 -6
- package/common/temperature.instance.json +28 -220
- package/common/ui.instance.json +7 -6
- package/common/weight.instance.json +84 -140
- package/common/wp.instance.json +140 -169
- package/common/wp.js +16 -6
- package/common/wp.test.json +4906 -987
- package/package.json +2 -2
package/common/gdefaults.js
CHANGED
@@ -34,7 +34,7 @@ const config = {
|
|
34
34
|
match: ({context}) => context.generate,
|
35
35
|
apply: async ({context, gs}) => {
|
36
36
|
const contexts = []
|
37
|
-
for (const keyOrContext of context.generate) {
|
37
|
+
for (const keyOrContext of (context.modifiers || []).concat(context.generate)) {
|
38
38
|
let value = keyOrContext
|
39
39
|
if (keyOrContext.invisible) {
|
40
40
|
continue
|
@@ -133,8 +133,8 @@ class API {
|
|
133
133
|
}
|
134
134
|
config.addHierarchy(modifiersObjectId, objectId)
|
135
135
|
|
136
|
-
modifierIds.forEach((modifierId) => config.addPriority({ "context": [[modifierId, 0], ['
|
137
|
-
config.addPriority({ "context": [[objectId, 0], ['
|
136
|
+
modifierIds.forEach((modifierId) => config.addPriority({ "context": [[modifierId, 0], ['article', 0]], "choose": [0] }))
|
137
|
+
config.addPriority({ "context": [[objectId, 0], ['article', 0], ], "choose": [0] })
|
138
138
|
// maybe remove the next line
|
139
139
|
modifierIds.forEach((modifierId) => config.addPriority({ context: [[modifiersObjectId, 0], [modifierId, 0], ], generalize: false, choose: [0] }))
|
140
140
|
config.addPriority({ "context": [[modifiersObjectId, 0], [objectId, 0], ], choose: [0] })
|
@@ -404,7 +404,7 @@ class API {
|
|
404
404
|
}
|
405
405
|
|
406
406
|
config.addPriority({ "context": [[operator, 0], ['means', 0], ], "choose": [0] })
|
407
|
-
config.addPriority({ "context": [['
|
407
|
+
config.addPriority({ "context": [['article', 0], [operator, 0], ], "choose": [0] })
|
408
408
|
|
409
409
|
config.addGenerator({
|
410
410
|
notes: 'ordering generator for paraphrase',
|
@@ -7,7 +7,7 @@
|
|
7
7
|
"hierarchy": [
|
8
8
|
[
|
9
9
|
"a",
|
10
|
-
"
|
10
|
+
"article",
|
11
11
|
false
|
12
12
|
],
|
13
13
|
[
|
@@ -51,8 +51,8 @@
|
|
51
51
|
false
|
52
52
|
],
|
53
53
|
[
|
54
|
-
"
|
55
|
-
"
|
54
|
+
"article",
|
55
|
+
"article",
|
56
56
|
false
|
57
57
|
],
|
58
58
|
[
|
@@ -452,7 +452,7 @@
|
|
452
452
|
],
|
453
453
|
[
|
454
454
|
"each",
|
455
|
-
"
|
455
|
+
"article",
|
456
456
|
false
|
457
457
|
],
|
458
458
|
[
|
@@ -507,7 +507,7 @@
|
|
507
507
|
],
|
508
508
|
[
|
509
509
|
"every",
|
510
|
-
"
|
510
|
+
"article",
|
511
511
|
false
|
512
512
|
],
|
513
513
|
[
|
@@ -1257,7 +1257,7 @@
|
|
1257
1257
|
],
|
1258
1258
|
[
|
1259
1259
|
"the",
|
1260
|
-
"
|
1260
|
+
"article",
|
1261
1261
|
false
|
1262
1262
|
],
|
1263
1263
|
[
|
@@ -1560,6 +1560,7 @@
|
|
1560
1560
|
},
|
1561
1561
|
"dead": true,
|
1562
1562
|
"level": 2,
|
1563
|
+
"context_index": 1,
|
1563
1564
|
"topLevel": true,
|
1564
1565
|
"touchedBy": [
|
1565
1566
|
"kirk#call2"
|