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.
Files changed (43) hide show
  1. package/common/animals.instance.json +91 -78
  2. package/common/articles.js +4 -4
  3. package/common/asking.test.json +41 -0
  4. package/common/colors.instance.json +98 -128
  5. package/common/comparable.instance.json +21 -18
  6. package/common/comparable.js +1 -1
  7. package/common/countable.js +1 -1
  8. package/common/crew.instance.json +182 -224
  9. package/common/dialogues.js +5 -5
  10. package/common/dimension.instance.json +7 -6
  11. package/common/edible.instance.json +224 -236
  12. package/common/emotions.instance.json +7 -66
  13. package/common/fastfood.instance.json +709 -1161
  14. package/common/fastfood.js +1 -1
  15. package/common/formulas.instance.json +7 -6
  16. package/common/formulas.test.json +461 -10
  17. package/common/gdefaults.js +1 -1
  18. package/common/helpers/concept.js +2 -2
  19. package/common/helpers/properties.js +1 -1
  20. package/common/kirk.instance.json +7 -6
  21. package/common/length.instance.json +105 -90
  22. package/common/math.instance.json +7 -6
  23. package/common/ordering.instance.json +14 -132
  24. package/common/ordinals.js +1 -0
  25. package/common/people.instance.json +56 -48
  26. package/common/pipboy.instance.json +129 -112
  27. package/common/pipboy.js +5 -5
  28. package/common/pokemon.instance.json +91 -78
  29. package/common/pos.js +6 -6
  30. package/common/pressure.instance.json +28 -24
  31. package/common/properties.instance.json +7 -50
  32. package/common/properties.js +3 -3
  33. package/common/reports.instance.json +15 -13
  34. package/common/reports.js +1 -1
  35. package/common/sizeable.js +1 -1
  36. package/common/spock.instance.json +7 -6
  37. package/common/temperature.instance.json +28 -220
  38. package/common/ui.instance.json +7 -6
  39. package/common/weight.instance.json +84 -140
  40. package/common/wp.instance.json +140 -169
  41. package/common/wp.js +16 -6
  42. package/common/wp.test.json +4906 -987
  43. package/package.json +2 -2
@@ -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], ['articlePOS', 0]], "choose": [0] }))
137
- config.addPriority({ "context": [[objectId, 0], ['articlePOS', 0], ], "choose": [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": [['articlePOS', 0], [operator, 0], ], "choose": [0] })
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
- "articlePOS",
10
+ "article",
11
11
  false
12
12
  ],
13
13
  [
@@ -51,8 +51,8 @@
51
51
  false
52
52
  ],
53
53
  [
54
- "articlePOS",
55
- "articlePOS",
54
+ "article",
55
+ "article",
56
56
  false
57
57
  ],
58
58
  [
@@ -452,7 +452,7 @@
452
452
  ],
453
453
  [
454
454
  "each",
455
- "articlePOS",
455
+ "article",
456
456
  false
457
457
  ],
458
458
  [
@@ -507,7 +507,7 @@
507
507
  ],
508
508
  [
509
509
  "every",
510
- "articlePOS",
510
+ "article",
511
511
  false
512
512
  ],
513
513
  [
@@ -1257,7 +1257,7 @@
1257
1257
  ],
1258
1258
  [
1259
1259
  "the",
1260
- "articlePOS",
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"