tpmkms_4wp 9.2.0 → 9.3.0

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 (48) hide show
  1. package/common/animals.instance.json +21 -8
  2. package/common/colors.instance.json +32 -18
  3. package/common/comparable.instance.json +3 -0
  4. package/common/comparable.js +2 -2
  5. package/common/crew.instance.json +4736 -964
  6. package/common/crew.test.json +1904 -0
  7. package/common/dates.instance.json +28657 -0
  8. package/common/dates.js +152 -0
  9. package/common/dates.test.json +10239 -0
  10. package/common/dialogues.js +28 -9
  11. package/common/dimension.instance.json +3 -2
  12. package/common/edible.instance.json +1335 -508
  13. package/common/emotions.instance.json +7 -14
  14. package/common/emotions.js +4 -5
  15. package/common/fastfood.instance.json +4090 -698
  16. package/common/fastfood.js +7 -0
  17. package/common/formulas.instance.json +1 -0
  18. package/common/gdefaults.js +14 -0
  19. package/common/helpers/concept.js +1 -0
  20. package/common/helpers/dialogues.js +3 -0
  21. package/common/helpers/properties.js +2 -27
  22. package/common/helpers.js +70 -1
  23. package/common/hierarchy.js +4 -3
  24. package/common/kirk.instance.json +156 -10
  25. package/common/length.instance.json +17 -2
  26. package/common/math.instance.json +1 -0
  27. package/common/menus.instance.json +7 -0
  28. package/common/menus.js +1 -0
  29. package/common/menus.test.json +2418 -1355
  30. package/common/meta.js +3 -3
  31. package/common/ordering.instance.json +4 -2
  32. package/common/people.instance.json +8 -0
  33. package/common/pipboy.instance.json +57 -12
  34. package/common/pokemon.instance.json +24 -3
  35. package/common/pressure.instance.json +6 -2
  36. package/common/properties.instance.json +1 -0
  37. package/common/properties.js +19 -5
  38. package/common/punctuation.js +3 -0
  39. package/common/reports.instance.json +24 -14
  40. package/common/reports.js +2 -2
  41. package/common/spock.instance.json +156 -10
  42. package/common/temperature.instance.json +6 -2
  43. package/common/ui.instance.json +1 -0
  44. package/common/weight.instance.json +12 -0
  45. package/common/wp.instance.json +393 -95
  46. package/common/wp.js +15 -0
  47. package/main.js +2 -0
  48. package/package.json +6 -2
@@ -47,6 +47,192 @@
47
47
  ]
48
48
  ],
49
49
  "choose": 0
50
+ },
51
+ {
52
+ "context": [
53
+ [
54
+ "paragraph_wp",
55
+ 1
56
+ ],
57
+ [
58
+ "thatVerb",
59
+ 0
60
+ ],
61
+ [
62
+ "paragraphComparisonVerb_wp",
63
+ 0
64
+ ],
65
+ [
66
+ "unknown",
67
+ 0
68
+ ]
69
+ ],
70
+ "choose": 0
71
+ },
72
+ {
73
+ "context": [
74
+ [
75
+ "word_wp",
76
+ 0
77
+ ],
78
+ [
79
+ "thatVerb",
80
+ 0
81
+ ],
82
+ [
83
+ "wordComparison_wp",
84
+ 0
85
+ ]
86
+ ],
87
+ "choose": 0
88
+ },
89
+ {
90
+ "context": [
91
+ [
92
+ "paragraph_wp",
93
+ 0
94
+ ],
95
+ [
96
+ "thatVerb",
97
+ 0
98
+ ],
99
+ [
100
+ "paragraphComparisonVerb_wp",
101
+ 0
102
+ ]
103
+ ],
104
+ "choose": 0
105
+ },
106
+ {
107
+ "context": [
108
+ [
109
+ "paragraph_wp",
110
+ 1
111
+ ],
112
+ [
113
+ "thatVerb",
114
+ 0
115
+ ],
116
+ [
117
+ "paragraphComparisonVerb_wp",
118
+ 0
119
+ ]
120
+ ],
121
+ "choose": 0
122
+ },
123
+ {
124
+ "context": [
125
+ [
126
+ "paragraph_wp",
127
+ 1
128
+ ],
129
+ [
130
+ "thatVerb",
131
+ 0
132
+ ],
133
+ [
134
+ "paragraphComparisonVerb_wp",
135
+ 0
136
+ ],
137
+ [
138
+ "bolded_wp",
139
+ 0
140
+ ],
141
+ [
142
+ "word_wp",
143
+ 0
144
+ ]
145
+ ],
146
+ "choose": 0
147
+ },
148
+ {
149
+ "context": [
150
+ [
151
+ "paragraph_wp",
152
+ 1
153
+ ],
154
+ [
155
+ "thatVerb",
156
+ 0
157
+ ],
158
+ [
159
+ "paragraphComparisonVerb_wp",
160
+ 0
161
+ ],
162
+ [
163
+ "word_wp",
164
+ 0
165
+ ]
166
+ ],
167
+ "choose": 0
168
+ },
169
+ {
170
+ "context": [
171
+ [
172
+ "article",
173
+ 0
174
+ ],
175
+ [
176
+ "word_wp",
177
+ 1
178
+ ],
179
+ [
180
+ "statefulElementInContext_wp",
181
+ 0
182
+ ],
183
+ [
184
+ "every",
185
+ 0
186
+ ],
187
+ [
188
+ "paragraph_wp",
189
+ 0
190
+ ]
191
+ ],
192
+ "choose": 1
193
+ },
194
+ {
195
+ "context": [
196
+ [
197
+ "article",
198
+ 0
199
+ ],
200
+ [
201
+ "statefulElement_wp",
202
+ 0
203
+ ]
204
+ ],
205
+ "choose": 1
206
+ },
207
+ {
208
+ "context": [
209
+ [
210
+ "article",
211
+ 0
212
+ ],
213
+ [
214
+ "statefulElement_wp",
215
+ 1
216
+ ]
217
+ ],
218
+ "choose": 1
219
+ },
220
+ {
221
+ "context": [
222
+ [
223
+ "article",
224
+ 0
225
+ ],
226
+ [
227
+ "ordinal",
228
+ 0
229
+ ],
230
+ [
231
+ "statefulElement_wp",
232
+ 0
233
+ ]
234
+ ],
235
+ "choose": 2
50
236
  }
51
237
  ]
52
238
  },
@@ -3211,6 +3397,7 @@
3211
3397
  }
3212
3398
  ],
3213
3399
  "learned_contextual_priorities": [],
3400
+ "rtf_associations": [],
3214
3401
  "query": "setidsuffix _wp",
3215
3402
  "key": {
3216
3403
  "query": "setidsuffix _wp"
@@ -6117,13 +6304,13 @@
6117
6304
  "start": 34,
6118
6305
  "end": 42
6119
6306
  },
6307
+ "dead": true,
6120
6308
  "types": [
6121
6309
  "listable",
6122
6310
  "orderable",
6123
6311
  "queryable",
6124
6312
  "theAble"
6125
6313
  ],
6126
- "dead": true,
6127
6314
  "level": 1
6128
6315
  },
6129
6316
  {
@@ -6137,10 +6324,10 @@
6137
6324
  "start": 44,
6138
6325
  "end": 57
6139
6326
  },
6327
+ "dead": true,
6140
6328
  "types": [
6141
6329
  "unknown"
6142
6330
  ],
6143
- "dead": true,
6144
6331
  "level": 0
6145
6332
  },
6146
6333
  {
@@ -6154,10 +6341,10 @@
6154
6341
  "start": 63,
6155
6342
  "end": 78
6156
6343
  },
6344
+ "dead": true,
6157
6345
  "types": [
6158
6346
  "unknown"
6159
6347
  ],
6160
- "dead": true,
6161
6348
  "level": 0
6162
6349
  }
6163
6350
  ],
@@ -6260,28 +6447,6 @@
6260
6447
  0
6261
6448
  ]
6262
6449
  ],
6263
- [
6264
- [
6265
- "countable",
6266
- 0
6267
- ],
6268
- [
6269
- "distributable",
6270
- 0
6271
- ],
6272
- [
6273
- "is",
6274
- 0
6275
- ],
6276
- [
6277
- "list",
6278
- 1
6279
- ],
6280
- [
6281
- "unknown",
6282
- 0
6283
- ]
6284
- ],
6285
6450
  [
6286
6451
  [
6287
6452
  "countable",
@@ -6958,6 +7123,7 @@
6958
7123
  }
6959
7124
  ],
6960
7125
  "learned_contextual_priorities": [],
7126
+ "rtf_associations": [],
6961
7127
  "query": "words are countable distributable orderable textContainers and statefulElements",
6962
7128
  "key": {
6963
7129
  "query": "words are countable distributable orderable textContainers and statefulElements"
@@ -10459,6 +10625,7 @@
10459
10625
  }
10460
10626
  ],
10461
10627
  "learned_contextual_priorities": [],
10628
+ "rtf_associations": [],
10462
10629
  "query": "characters are countable distributable orderable and statefulElements",
10463
10630
  "key": {
10464
10631
  "query": "characters are countable distributable orderable and statefulElements"
@@ -13683,28 +13850,6 @@
13683
13850
  0
13684
13851
  ]
13685
13852
  ],
13686
- [
13687
- [
13688
- "countable",
13689
- 0
13690
- ],
13691
- [
13692
- "distributable",
13693
- 0
13694
- ],
13695
- [
13696
- "is",
13697
- 0
13698
- ],
13699
- [
13700
- "list",
13701
- 1
13702
- ],
13703
- [
13704
- "unknown",
13705
- 0
13706
- ]
13707
- ],
13708
13853
  [
13709
13854
  [
13710
13855
  "countable",
@@ -14316,6 +14461,7 @@
14316
14461
  }
14317
14462
  ],
14318
14463
  "learned_contextual_priorities": [],
14464
+ "rtf_associations": [],
14319
14465
  "query": "paragraphs are countable distributable orderable textContainers and statefulElement",
14320
14466
  "key": {
14321
14467
  "query": "paragraphs are countable distributable orderable textContainers and statefulElement"
@@ -17588,6 +17734,7 @@
17588
17734
  }
17589
17735
  ],
17590
17736
  "learned_contextual_priorities": [],
17737
+ "rtf_associations": [],
17591
17738
  "query": "text is a statefulElement",
17592
17739
  "key": {
17593
17740
  "query": "text is a statefulElement"
@@ -20739,6 +20886,7 @@
20739
20886
  }
20740
20887
  ],
20741
20888
  "learned_contextual_priorities": [],
20889
+ "rtf_associations": [],
20742
20890
  "query": "letters means characters",
20743
20891
  "key": {
20744
20892
  "query": "letters means characters"
@@ -24375,10 +24523,10 @@
24375
24523
  "start": 32,
24376
24524
  "end": 40
24377
24525
  },
24526
+ "dead": true,
24378
24527
  "types": [
24379
24528
  "unknown"
24380
24529
  ],
24381
- "dead": true,
24382
24530
  "level": 0
24383
24531
  },
24384
24532
  {
@@ -24391,10 +24539,10 @@
24391
24539
  "start": 46,
24392
24540
  "end": 54
24393
24541
  },
24542
+ "dead": true,
24394
24543
  "types": [
24395
24544
  "unknown"
24396
24545
  ],
24397
- "dead": true,
24398
24546
  "level": 0
24399
24547
  }
24400
24548
  ],
@@ -26297,6 +26445,7 @@
26297
26445
  }
26298
26446
  ],
26299
26447
  "learned_contextual_priorities": [],
26448
+ "rtf_associations": [],
26300
26449
  "query": "bold, italic, code, capitalize, lowercase and underline are styles",
26301
26450
  "key": {
26302
26451
  "query": "bold, italic, code, capitalize, lowercase and underline are styles"
@@ -29748,6 +29897,7 @@
29748
29897
  }
29749
29898
  ],
29750
29899
  "learned_contextual_priorities": [],
29900
+ "rtf_associations": [],
29751
29901
  "query": "underlined means underline",
29752
29902
  "key": {
29753
29903
  "query": "underlined means underline"
@@ -33224,6 +33374,7 @@
33224
33374
  }
33225
33375
  ],
33226
33376
  "learned_contextual_priorities": [],
33377
+ "rtf_associations": [],
33227
33378
  "query": "capitalized means capitalize",
33228
33379
  "key": {
33229
33380
  "query": "capitalized means capitalize"
@@ -36725,6 +36876,7 @@
36725
36876
  }
36726
36877
  ],
36727
36878
  "learned_contextual_priorities": [],
36879
+ "rtf_associations": [],
36728
36880
  "query": "uppercase means capitalize",
36729
36881
  "key": {
36730
36882
  "query": "uppercase means capitalize"
@@ -40251,6 +40403,7 @@
40251
40403
  }
40252
40404
  ],
40253
40405
  "learned_contextual_priorities": [],
40406
+ "rtf_associations": [],
40254
40407
  "query": "italicize means italic",
40255
40408
  "key": {
40256
40409
  "query": "italicize means italic"
@@ -43802,6 +43955,7 @@
43802
43955
  }
43803
43956
  ],
43804
43957
  "learned_contextual_priorities": [],
43958
+ "rtf_associations": [],
43805
43959
  "query": "italicized means italic",
43806
43960
  "key": {
43807
43961
  "query": "italicized means italic"
@@ -49642,6 +49796,7 @@
49642
49796
  }
49643
49797
  ],
49644
49798
  "learned_contextual_priorities": [],
49799
+ "rtf_associations": [],
49645
49800
  "query": "uppercased, lowercased, capitalized, bolded, italicized and underlined are styleModifiers",
49646
49801
  "key": {
49647
49802
  "query": "uppercased, lowercased, capitalized, bolded, italicized and underlined are styleModifiers"
@@ -53181,6 +53336,7 @@
53181
53336
  }
53182
53337
  ],
53183
53338
  "learned_contextual_priorities": [],
53339
+ "rtf_associations": [],
53184
53340
  "query": "resetIdSuffix",
53185
53341
  "key": {
53186
53342
  "query": "resetIdSuffix"
@@ -53220,6 +53376,192 @@
53220
53376
  ]
53221
53377
  ],
53222
53378
  "choose": 0
53379
+ },
53380
+ {
53381
+ "context": [
53382
+ [
53383
+ "paragraph_wp",
53384
+ 1
53385
+ ],
53386
+ [
53387
+ "thatVerb",
53388
+ 0
53389
+ ],
53390
+ [
53391
+ "paragraphComparisonVerb_wp",
53392
+ 0
53393
+ ],
53394
+ [
53395
+ "unknown",
53396
+ 0
53397
+ ]
53398
+ ],
53399
+ "choose": 0
53400
+ },
53401
+ {
53402
+ "context": [
53403
+ [
53404
+ "word_wp",
53405
+ 0
53406
+ ],
53407
+ [
53408
+ "thatVerb",
53409
+ 0
53410
+ ],
53411
+ [
53412
+ "wordComparison_wp",
53413
+ 0
53414
+ ]
53415
+ ],
53416
+ "choose": 0
53417
+ },
53418
+ {
53419
+ "context": [
53420
+ [
53421
+ "paragraph_wp",
53422
+ 0
53423
+ ],
53424
+ [
53425
+ "thatVerb",
53426
+ 0
53427
+ ],
53428
+ [
53429
+ "paragraphComparisonVerb_wp",
53430
+ 0
53431
+ ]
53432
+ ],
53433
+ "choose": 0
53434
+ },
53435
+ {
53436
+ "context": [
53437
+ [
53438
+ "paragraph_wp",
53439
+ 1
53440
+ ],
53441
+ [
53442
+ "thatVerb",
53443
+ 0
53444
+ ],
53445
+ [
53446
+ "paragraphComparisonVerb_wp",
53447
+ 0
53448
+ ]
53449
+ ],
53450
+ "choose": 0
53451
+ },
53452
+ {
53453
+ "context": [
53454
+ [
53455
+ "paragraph_wp",
53456
+ 1
53457
+ ],
53458
+ [
53459
+ "thatVerb",
53460
+ 0
53461
+ ],
53462
+ [
53463
+ "paragraphComparisonVerb_wp",
53464
+ 0
53465
+ ],
53466
+ [
53467
+ "bolded_wp",
53468
+ 0
53469
+ ],
53470
+ [
53471
+ "word_wp",
53472
+ 0
53473
+ ]
53474
+ ],
53475
+ "choose": 0
53476
+ },
53477
+ {
53478
+ "context": [
53479
+ [
53480
+ "paragraph_wp",
53481
+ 1
53482
+ ],
53483
+ [
53484
+ "thatVerb",
53485
+ 0
53486
+ ],
53487
+ [
53488
+ "paragraphComparisonVerb_wp",
53489
+ 0
53490
+ ],
53491
+ [
53492
+ "word_wp",
53493
+ 0
53494
+ ]
53495
+ ],
53496
+ "choose": 0
53497
+ },
53498
+ {
53499
+ "context": [
53500
+ [
53501
+ "article",
53502
+ 0
53503
+ ],
53504
+ [
53505
+ "word_wp",
53506
+ 1
53507
+ ],
53508
+ [
53509
+ "statefulElementInContext_wp",
53510
+ 0
53511
+ ],
53512
+ [
53513
+ "every",
53514
+ 0
53515
+ ],
53516
+ [
53517
+ "paragraph_wp",
53518
+ 0
53519
+ ]
53520
+ ],
53521
+ "choose": 1
53522
+ },
53523
+ {
53524
+ "context": [
53525
+ [
53526
+ "article",
53527
+ 0
53528
+ ],
53529
+ [
53530
+ "statefulElement_wp",
53531
+ 0
53532
+ ]
53533
+ ],
53534
+ "choose": 1
53535
+ },
53536
+ {
53537
+ "context": [
53538
+ [
53539
+ "article",
53540
+ 0
53541
+ ],
53542
+ [
53543
+ "statefulElement_wp",
53544
+ 1
53545
+ ]
53546
+ ],
53547
+ "choose": 1
53548
+ },
53549
+ {
53550
+ "context": [
53551
+ [
53552
+ "article",
53553
+ 0
53554
+ ],
53555
+ [
53556
+ "ordinal",
53557
+ 0
53558
+ ],
53559
+ [
53560
+ "statefulElement_wp",
53561
+ 0
53562
+ ]
53563
+ ],
53564
+ "choose": 2
53223
53565
  }
53224
53566
  ]
53225
53567
  },
@@ -53379,10 +53721,10 @@
53379
53721
  ],
53380
53722
  "semantics": [
53381
53723
  {
53382
- "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:361"
53724
+ "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:371"
53383
53725
  },
53384
53726
  {
53385
- "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:370"
53727
+ "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:380"
53386
53728
  }
53387
53729
  ],
53388
53730
  "priorities": [
@@ -54053,50 +54395,6 @@
54053
54395
  0
54054
54396
  ]
54055
54397
  ],
54056
- [
54057
- [
54058
- "countable",
54059
- 0
54060
- ],
54061
- [
54062
- "distributable",
54063
- 0
54064
- ],
54065
- [
54066
- "is",
54067
- 0
54068
- ],
54069
- [
54070
- "list",
54071
- 1
54072
- ],
54073
- [
54074
- "unknown",
54075
- 0
54076
- ]
54077
- ],
54078
- [
54079
- [
54080
- "countable",
54081
- 0
54082
- ],
54083
- [
54084
- "distributable",
54085
- 0
54086
- ],
54087
- [
54088
- "is",
54089
- 0
54090
- ],
54091
- [
54092
- "list",
54093
- 1
54094
- ],
54095
- [
54096
- "unknown",
54097
- 0
54098
- ]
54099
- ],
54100
54398
  [
54101
54399
  [
54102
54400
  "countable",
package/common/wp.js CHANGED
@@ -245,7 +245,22 @@ template = {
245
245
  ],
246
246
  associations: {
247
247
  positive: [
248
+ { context: [["bold_wp", 0], ["the", 0], ["ordinal", 0], ["word_wp", 0], ["statefulElementInContext_wp", 0], ["the", 0], ["ordinal", 0], ["list", 0], ["ordinal", 0], ["paragraph_wp", 0]], choose: { index: 0, increment: true } },
249
+ { context: [["bold_wp", 1], ["the", 0], ["ordinal", 0], ["word_wp", 0], ["statefulElementInContext_wp", 0], ["the", 0], ["ordinal", 0], ["list", 0], ["ordinal", 0], ["paragraph_wp", 0]], choose: { index: 0, increment: true } },
250
+ { context: [["bold_wp", 1], ["the", 0], ["ordinal", 1], ["word_wp", 0], ["statefulElementInContext_wp", 0], ["the", 0], ["ordinal", 0], ["list", 0], ["ordinal", 0], ["paragraph_wp", 0]], choose: { index: 0, increment: true } },
251
+ { context: [["bold_wp", 1], ["the", 0], ["ordinal", 1], ["word_wp", 1], ["statefulElementInContext_wp", 0], ["the", 0], ["ordinal", 0], ["list", 0], ["ordinal", 0], ["paragraph_wp", 0]], choose: { index: 0, increment: true } },
252
+
248
253
  { context: [["word_wp",1],["thatVerb",0],["wordComparison_wp",0],["unknown",0]], choose: 0 },
254
+ { context: [["paragraph_wp",1],["thatVerb",0],["paragraphComparisonVerb_wp",0],["unknown",0]], choose: 0 },
255
+ { context: [["word_wp",0],["thatVerb",0],["wordComparison_wp",0]], choose: 0 },
256
+ { context: [["paragraph_wp",0],["thatVerb",0],["paragraphComparisonVerb_wp",0]], choose: 0 },
257
+ { context: [["paragraph_wp",1],["thatVerb",0],["paragraphComparisonVerb_wp",0]], choose: 0 },
258
+ { context: [["paragraph_wp",1],["thatVerb",0],["paragraphComparisonVerb_wp",0],["bolded_wp",0],["word_wp",0]], choose: 0 },
259
+ { context: [["paragraph_wp",1],["thatVerb",0],["paragraphComparisonVerb_wp",0],["word_wp",0]], choose: 0 },
260
+ { context: [["article",0],["word_wp",1],["statefulElementInContext_wp",0],["every", 0],["paragraph_wp",0]], choose: 1 },
261
+ { context: [["article",0],["statefulElement_wp",0]], choose: 1 },
262
+ { context: [["article",0],["statefulElement_wp",1]], choose: 1 },
263
+ { context: [["article",0],["ordinal", 0],["statefulElement_wp",0]], choose: 2 },
249
264
  ]
250
265
  },
251
266
 
package/main.js CHANGED
@@ -7,6 +7,7 @@ const percentages = require('./common/percentages')
7
7
  const colors = require('./common/colors')
8
8
  const people = require('./common/people')
9
9
  const time = require('./common/time')
10
+ const dates = require('./common/dates')
10
11
  const yesno = require('./common/yesno')
11
12
  const negation = require('./common/negation')
12
13
  const asking = require('./common/asking')
@@ -68,6 +69,7 @@ module.exports = {
68
69
  colors,
69
70
  people,
70
71
  time,
72
+ dates,
71
73
  yesno,
72
74
  negation,
73
75
  asking,