tpmkms_4wp 9.3.0-beta.6 → 9.3.0-beta.60
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 +0 -65
- package/common/animals.js +2 -3
- package/common/animals.test.json +1607 -1
- package/common/articles.js +2 -4
- package/common/asking.js +21 -5
- package/common/avatar.js +2 -2
- package/common/characters.js +2 -2
- package/common/colors.instance.json +28 -70
- package/common/colors.js +2 -2
- package/common/comparable.instance.json +0 -15
- package/common/comparable.js +2 -2
- package/common/concept.js +1 -2
- package/common/concept.test.json +279 -193
- package/common/conjunction.js +3 -5
- package/common/countable.js +2 -14
- package/common/crew.instance.json +72 -130
- package/common/crew.js +2 -2
- package/common/currency.js +2 -3
- package/common/dateTimeSelectors.instance.json +175 -0
- package/common/dateTimeSelectors.js +168 -0
- package/common/dateTimeSelectors.test.json +85622 -0
- package/common/dates.instance.json +538 -506
- package/common/dates.js +112 -15
- package/common/dates.test.json +11021 -514
- package/common/dialogues.js +13 -49
- package/common/dimension.instance.json +0 -5
- package/common/dimension.js +4 -4
- package/common/edible.instance.json +56 -160
- package/common/edible.js +2 -2
- package/common/emotions.instance.json +0 -5
- package/common/emotions.js +2 -2
- package/common/errors.js +3 -0
- package/common/evaluate.js +2 -2
- package/common/events.js +1 -2
- package/common/fastfood.instance.json +172 -435
- package/common/fastfood.js +2 -4
- package/common/fastfood.test.json +16291 -6597
- package/common/formulas.instance.json +0 -5
- package/common/formulas.js +3 -1
- package/common/gdefaults.js +2 -3
- package/common/help.js +2 -2
- package/common/helpers/dateTimeSelectors.js +198 -0
- package/common/helpers/dialogues.js +11 -8
- package/common/helpers/properties.js +2 -2
- package/common/helpers.js +23 -47
- package/common/hierarchy.js +12 -13
- package/common/javascript.js +2 -3
- package/common/kirk.instance.json +0 -5
- package/common/kirk.js +2 -3
- package/common/length.instance.json +0 -75
- package/common/length.js +2 -3
- package/common/listener.js +3 -1
- package/common/math.instance.json +0 -5
- package/common/math.js +2 -3
- package/common/menus.instance.json +0 -35
- package/common/menus.js +3 -1
- package/common/meta.js +4 -5
- package/common/nameable.js +3 -1
- package/common/negation.js +2 -2
- package/common/numbers.js +7 -4
- package/common/numbers.test.json +89 -23
- package/common/ordering.instance.json +0 -10
- package/common/ordering.js +2 -3
- package/common/ordinals.js +2 -3
- package/common/people.instance.json +0 -40
- package/common/people.js +2 -3
- package/common/percentages.js +3 -4
- package/common/percentages.test.json +57 -11
- package/common/pipboy.instance.json +84 -85
- package/common/pipboy.js +1 -1
- package/common/pipboy.test.json +4377 -3386
- package/common/pokemon.instance.json +0 -65
- package/common/pokemon.js +1 -2
- package/common/pos.js +2 -2
- package/common/pressure.instance.json +0 -20
- package/common/pressure.js +2 -2
- package/common/properties.instance.json +0 -5
- package/common/properties.js +11 -13
- package/common/punctuation.js +2 -2
- package/common/reminders.instance.json +153 -23
- package/common/reminders.js +275 -82
- package/common/reminders.test.json +75654 -37
- package/common/reports.instance.json +1 -11
- package/common/reports.js +1 -1
- package/common/scorekeeper.js +2 -2
- package/common/scorekeeper.test.json +3565 -7550
- package/common/sdefaults.js +1 -1
- package/common/self.js +1 -1
- package/common/sizeable.js +2 -2
- package/common/spock.instance.json +0 -5
- package/common/spock.js +1 -1
- package/common/stgame.js +1 -1
- package/common/stm.js +1 -1
- package/common/tell.js +2 -2
- package/common/temperature.instance.json +84 -20
- package/common/temperature.js +2 -2
- package/common/tester.js +0 -1
- package/common/testing.js +0 -1
- package/common/time.js +57 -30
- package/common/time.test.json +4159 -205
- package/common/tokenize.js +1 -1
- package/common/ui.instance.json +0 -5
- package/common/ui.js +4 -2
- package/common/weight.instance.json +0 -112
- package/common/weight.js +2 -2
- package/common/wp.instance.json +56 -70
- package/common/wp.js +1 -3
- package/common/wp.test.json +8057 -3867
- package/common/yesno.js +2 -2
- package/main.js +2 -0
- package/package.json +8 -4
package/common/conjunction.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
const { knowledgeModule, where } = require('./runtime').theprogrammablemind
|
2
2
|
const gdefaults = require('./gdefaults.js')
|
3
3
|
const conjunction_tests = require('./conjunction.test.json')
|
4
|
-
const { defaultContextCheck, propertyToArray } = require('./helpers')
|
4
|
+
const { defaultObjectCheck, defaultContextCheck, propertyToArray } = require('./helpers')
|
5
5
|
const { isA, asList, listable } = require('./helpers/conjunction.js')
|
6
6
|
|
7
7
|
const config = {
|
@@ -110,9 +110,7 @@ knowledgeModule( {
|
|
110
110
|
name: './conjunction.test.json',
|
111
111
|
contents: conjunction_tests,
|
112
112
|
checks: {
|
113
|
-
|
114
|
-
|
115
|
-
},
|
116
|
-
|
113
|
+
context: [defaultContextCheck()],
|
114
|
+
},
|
117
115
|
},
|
118
116
|
})
|
package/common/countable.js
CHANGED
@@ -95,19 +95,7 @@ knowledgeModule({
|
|
95
95
|
name: './countable.test.json',
|
96
96
|
contents: countable_tests,
|
97
97
|
checks: {
|
98
|
-
|
99
|
-
|
100
|
-
{
|
101
|
-
property: 'quantity',
|
102
|
-
filter: ['marker', 'value'],
|
103
|
-
},
|
104
|
-
{
|
105
|
-
property: 'pieces',
|
106
|
-
filter: [
|
107
|
-
'marker', 'text',
|
108
|
-
{ property: 'count', filter: ['marker', 'value'] },
|
109
|
-
]
|
110
|
-
}]
|
111
|
-
},
|
98
|
+
context: [defaultContextCheck({ extra: ['count', 'quantity'] })],
|
99
|
+
}
|
112
100
|
},
|
113
101
|
})
|
@@ -360,11 +360,6 @@
|
|
360
360
|
"theAble",
|
361
361
|
false
|
362
362
|
],
|
363
|
-
[
|
364
|
-
"evaluate",
|
365
|
-
"verb",
|
366
|
-
false
|
367
|
-
],
|
368
363
|
[
|
369
364
|
"every",
|
370
365
|
"article",
|
@@ -1625,11 +1620,6 @@
|
|
1625
1620
|
"theAble",
|
1626
1621
|
false
|
1627
1622
|
],
|
1628
|
-
[
|
1629
|
-
"evaluate",
|
1630
|
-
"verb",
|
1631
|
-
false
|
1632
|
-
],
|
1633
1623
|
[
|
1634
1624
|
"every",
|
1635
1625
|
"article",
|
@@ -3317,11 +3307,6 @@
|
|
3317
3307
|
"theAble",
|
3318
3308
|
false
|
3319
3309
|
],
|
3320
|
-
[
|
3321
|
-
"evaluate",
|
3322
|
-
"verb",
|
3323
|
-
false
|
3324
|
-
],
|
3325
3310
|
[
|
3326
3311
|
"every",
|
3327
3312
|
"article",
|
@@ -5097,11 +5082,6 @@
|
|
5097
5082
|
"theAble",
|
5098
5083
|
false
|
5099
5084
|
],
|
5100
|
-
[
|
5101
|
-
"evaluate",
|
5102
|
-
"verb",
|
5103
|
-
false
|
5104
|
-
],
|
5105
5085
|
[
|
5106
5086
|
"every",
|
5107
5087
|
"article",
|
@@ -6912,11 +6892,6 @@
|
|
6912
6892
|
"theAble",
|
6913
6893
|
false
|
6914
6894
|
],
|
6915
|
-
[
|
6916
|
-
"evaluate",
|
6917
|
-
"verb",
|
6918
|
-
false
|
6919
|
-
],
|
6920
6895
|
[
|
6921
6896
|
"every",
|
6922
6897
|
"article",
|
@@ -8569,11 +8544,6 @@
|
|
8569
8544
|
"theAble",
|
8570
8545
|
false
|
8571
8546
|
],
|
8572
|
-
[
|
8573
|
-
"evaluate",
|
8574
|
-
"verb",
|
8575
|
-
false
|
8576
|
-
],
|
8577
8547
|
[
|
8578
8548
|
"every",
|
8579
8549
|
"article",
|
@@ -10292,11 +10262,6 @@
|
|
10292
10262
|
"theAble",
|
10293
10263
|
false
|
10294
10264
|
],
|
10295
|
-
[
|
10296
|
-
"evaluate",
|
10297
|
-
"verb",
|
10298
|
-
false
|
10299
|
-
],
|
10300
10265
|
[
|
10301
10266
|
"every",
|
10302
10267
|
"article",
|
@@ -12183,11 +12148,6 @@
|
|
12183
12148
|
"theAble",
|
12184
12149
|
false
|
12185
12150
|
],
|
12186
|
-
[
|
12187
|
-
"evaluate",
|
12188
|
-
"verb",
|
12189
|
-
false
|
12190
|
-
],
|
12191
12151
|
[
|
12192
12152
|
"every",
|
12193
12153
|
"article",
|
@@ -13269,6 +13229,24 @@
|
|
13269
13229
|
0
|
13270
13230
|
]
|
13271
13231
|
],
|
13232
|
+
[
|
13233
|
+
[
|
13234
|
+
"is",
|
13235
|
+
0
|
13236
|
+
],
|
13237
|
+
[
|
13238
|
+
"name",
|
13239
|
+
0
|
13240
|
+
],
|
13241
|
+
[
|
13242
|
+
"possession",
|
13243
|
+
0
|
13244
|
+
],
|
13245
|
+
[
|
13246
|
+
"spock",
|
13247
|
+
0
|
13248
|
+
]
|
13249
|
+
],
|
13272
13250
|
[
|
13273
13251
|
[
|
13274
13252
|
"is",
|
@@ -14105,11 +14083,6 @@
|
|
14105
14083
|
"theAble",
|
14106
14084
|
false
|
14107
14085
|
],
|
14108
|
-
[
|
14109
|
-
"evaluate",
|
14110
|
-
"verb",
|
14111
|
-
false
|
14112
|
-
],
|
14113
14086
|
[
|
14114
14087
|
"every",
|
14115
14088
|
"article",
|
@@ -16058,11 +16031,6 @@
|
|
16058
16031
|
"theAble",
|
16059
16032
|
false
|
16060
16033
|
],
|
16061
|
-
[
|
16062
|
-
"evaluate",
|
16063
|
-
"verb",
|
16064
|
-
false
|
16065
|
-
],
|
16066
16034
|
[
|
16067
16035
|
"every",
|
16068
16036
|
"article",
|
@@ -17800,11 +17768,6 @@
|
|
17800
17768
|
"theAble",
|
17801
17769
|
false
|
17802
17770
|
],
|
17803
|
-
[
|
17804
|
-
"evaluate",
|
17805
|
-
"verb",
|
17806
|
-
false
|
17807
|
-
],
|
17808
17771
|
[
|
17809
17772
|
"every",
|
17810
17773
|
"article",
|
@@ -19608,11 +19571,6 @@
|
|
19608
19571
|
"theAble",
|
19609
19572
|
false
|
19610
19573
|
],
|
19611
|
-
[
|
19612
|
-
"evaluate",
|
19613
|
-
"verb",
|
19614
|
-
false
|
19615
|
-
],
|
19616
19574
|
[
|
19617
19575
|
"every",
|
19618
19576
|
"article",
|
@@ -21597,11 +21555,6 @@
|
|
21597
21555
|
"theAble",
|
21598
21556
|
false
|
21599
21557
|
],
|
21600
|
-
[
|
21601
|
-
"evaluate",
|
21602
|
-
"verb",
|
21603
|
-
false
|
21604
|
-
],
|
21605
21558
|
[
|
21606
21559
|
"every",
|
21607
21560
|
"article",
|
@@ -22733,6 +22686,24 @@
|
|
22733
22686
|
0
|
22734
22687
|
]
|
22735
22688
|
],
|
22689
|
+
[
|
22690
|
+
[
|
22691
|
+
"is",
|
22692
|
+
0
|
22693
|
+
],
|
22694
|
+
[
|
22695
|
+
"mccoy",
|
22696
|
+
0
|
22697
|
+
],
|
22698
|
+
[
|
22699
|
+
"name",
|
22700
|
+
0
|
22701
|
+
],
|
22702
|
+
[
|
22703
|
+
"possession",
|
22704
|
+
0
|
22705
|
+
]
|
22706
|
+
],
|
22736
22707
|
[
|
22737
22708
|
[
|
22738
22709
|
"is",
|
@@ -23609,11 +23580,6 @@
|
|
23609
23580
|
"theAble",
|
23610
23581
|
false
|
23611
23582
|
],
|
23612
|
-
[
|
23613
|
-
"evaluate",
|
23614
|
-
"verb",
|
23615
|
-
false
|
23616
|
-
],
|
23617
23583
|
[
|
23618
23584
|
"every",
|
23619
23585
|
"article",
|
@@ -25652,11 +25618,6 @@
|
|
25652
25618
|
"theAble",
|
25653
25619
|
false
|
25654
25620
|
],
|
25655
|
-
[
|
25656
|
-
"evaluate",
|
25657
|
-
"verb",
|
25658
|
-
false
|
25659
|
-
],
|
25660
25621
|
[
|
25661
25622
|
"every",
|
25662
25623
|
"article",
|
@@ -27510,11 +27471,6 @@
|
|
27510
27471
|
"theAble",
|
27511
27472
|
false
|
27512
27473
|
],
|
27513
|
-
[
|
27514
|
-
"evaluate",
|
27515
|
-
"verb",
|
27516
|
-
false
|
27517
|
-
],
|
27518
27474
|
[
|
27519
27475
|
"every",
|
27520
27476
|
"article",
|
@@ -29311,11 +29267,6 @@
|
|
29311
29267
|
"theAble",
|
29312
29268
|
false
|
29313
29269
|
],
|
29314
|
-
[
|
29315
|
-
"evaluate",
|
29316
|
-
"verb",
|
29317
|
-
false
|
29318
|
-
],
|
29319
29270
|
[
|
29320
29271
|
"every",
|
29321
29272
|
"article",
|
@@ -31651,11 +31602,6 @@
|
|
31651
31602
|
"theAble",
|
31652
31603
|
false
|
31653
31604
|
],
|
31654
|
-
[
|
31655
|
-
"evaluate",
|
31656
|
-
"verb",
|
31657
|
-
false
|
31658
|
-
],
|
31659
31605
|
[
|
31660
31606
|
"every",
|
31661
31607
|
"article",
|
@@ -33356,11 +33302,6 @@
|
|
33356
33302
|
"theAble",
|
33357
33303
|
false
|
33358
33304
|
],
|
33359
|
-
[
|
33360
|
-
"evaluate",
|
33361
|
-
"verb",
|
33362
|
-
false
|
33363
|
-
],
|
33364
33305
|
[
|
33365
33306
|
"every",
|
33366
33307
|
"article",
|
@@ -36034,11 +35975,6 @@
|
|
36034
35975
|
"theAble",
|
36035
35976
|
false
|
36036
35977
|
],
|
36037
|
-
[
|
36038
|
-
"evaluate",
|
36039
|
-
"verb",
|
36040
|
-
false
|
36041
|
-
],
|
36042
35978
|
[
|
36043
35979
|
"every",
|
36044
35980
|
"article",
|
@@ -37920,11 +37856,6 @@
|
|
37920
37856
|
"theAble",
|
37921
37857
|
false
|
37922
37858
|
],
|
37923
|
-
[
|
37924
|
-
"evaluate",
|
37925
|
-
"verb",
|
37926
|
-
false
|
37927
|
-
],
|
37928
37859
|
[
|
37929
37860
|
"every",
|
37930
37861
|
"article",
|
@@ -39816,11 +39747,6 @@
|
|
39816
39747
|
"theAble",
|
39817
39748
|
false
|
39818
39749
|
],
|
39819
|
-
[
|
39820
|
-
"evaluate",
|
39821
|
-
"verb",
|
39822
|
-
false
|
39823
|
-
],
|
39824
39750
|
[
|
39825
39751
|
"every",
|
39826
39752
|
"article",
|
@@ -41661,11 +41587,6 @@
|
|
41661
41587
|
"theAble",
|
41662
41588
|
false
|
41663
41589
|
],
|
41664
|
-
[
|
41665
|
-
"evaluate",
|
41666
|
-
"verb",
|
41667
|
-
false
|
41668
|
-
],
|
41669
41590
|
[
|
41670
41591
|
"every",
|
41671
41592
|
"article",
|
@@ -43506,11 +43427,6 @@
|
|
43506
43427
|
"theAble",
|
43507
43428
|
false
|
43508
43429
|
],
|
43509
|
-
[
|
43510
|
-
"evaluate",
|
43511
|
-
"verb",
|
43512
|
-
false
|
43513
|
-
],
|
43514
43430
|
[
|
43515
43431
|
"every",
|
43516
43432
|
"article",
|
@@ -45351,11 +45267,6 @@
|
|
45351
45267
|
"theAble",
|
45352
45268
|
false
|
45353
45269
|
],
|
45354
|
-
[
|
45355
|
-
"evaluate",
|
45356
|
-
"verb",
|
45357
|
-
false
|
45358
|
-
],
|
45359
45270
|
[
|
45360
45271
|
"every",
|
45361
45272
|
"article",
|
@@ -48800,11 +48711,6 @@
|
|
48800
48711
|
"theAble",
|
48801
48712
|
false
|
48802
48713
|
],
|
48803
|
-
[
|
48804
|
-
"evaluate",
|
48805
|
-
"verb",
|
48806
|
-
false
|
48807
|
-
],
|
48808
48714
|
[
|
48809
48715
|
"every",
|
48810
48716
|
"article",
|
@@ -52640,6 +52546,24 @@
|
|
52640
52546
|
0
|
52641
52547
|
]
|
52642
52548
|
],
|
52549
|
+
[
|
52550
|
+
[
|
52551
|
+
"is",
|
52552
|
+
0
|
52553
|
+
],
|
52554
|
+
[
|
52555
|
+
"mccoy",
|
52556
|
+
0
|
52557
|
+
],
|
52558
|
+
[
|
52559
|
+
"name",
|
52560
|
+
0
|
52561
|
+
],
|
52562
|
+
[
|
52563
|
+
"possession",
|
52564
|
+
0
|
52565
|
+
]
|
52566
|
+
],
|
52643
52567
|
[
|
52644
52568
|
[
|
52645
52569
|
"is",
|
@@ -52808,6 +52732,24 @@
|
|
52808
52732
|
0
|
52809
52733
|
]
|
52810
52734
|
],
|
52735
|
+
[
|
52736
|
+
[
|
52737
|
+
"is",
|
52738
|
+
0
|
52739
|
+
],
|
52740
|
+
[
|
52741
|
+
"name",
|
52742
|
+
0
|
52743
|
+
],
|
52744
|
+
[
|
52745
|
+
"possession",
|
52746
|
+
0
|
52747
|
+
],
|
52748
|
+
[
|
52749
|
+
"spock",
|
52750
|
+
0
|
52751
|
+
]
|
52752
|
+
],
|
52811
52753
|
[
|
52812
52754
|
[
|
52813
52755
|
"is",
|
package/common/crew.js
CHANGED
package/common/currency.js
CHANGED
@@ -0,0 +1,175 @@
|
|
1
|
+
{
|
2
|
+
"configs": [
|
3
|
+
{
|
4
|
+
"operators": [
|
5
|
+
"([dateTimeSelector] (onDate) (atTime))",
|
6
|
+
"((day_dates/*) [dayOfMonth|of] (month_dates/*))",
|
7
|
+
"((day_dates/*) [dayAfterDate|after] (afterDateValue_dates/*))"
|
8
|
+
],
|
9
|
+
"bridges": [
|
10
|
+
{
|
11
|
+
"id": "dayOfMonth",
|
12
|
+
"after": [
|
13
|
+
"article"
|
14
|
+
],
|
15
|
+
"isA": [
|
16
|
+
"onDateValue_dates"
|
17
|
+
],
|
18
|
+
"before": [
|
19
|
+
"verb",
|
20
|
+
"onDate_dates"
|
21
|
+
],
|
22
|
+
"bridge": "{ ...next(operator), day: before[0], month: after[0], operator: operator, interpolate: '${day} ${operator} ${month}' }",
|
23
|
+
"check": [
|
24
|
+
"day",
|
25
|
+
"month"
|
26
|
+
]
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"id": "dayAfterDate",
|
30
|
+
"after": [
|
31
|
+
"article",
|
32
|
+
"monthDayYear_dates"
|
33
|
+
],
|
34
|
+
"isA": [
|
35
|
+
"onDateValue_dates"
|
36
|
+
],
|
37
|
+
"before": [
|
38
|
+
"verb",
|
39
|
+
"afterDate_dates"
|
40
|
+
],
|
41
|
+
"bridge": "{ ...next(operator), day: before[0], after: after[0], operator: operator, interpolate: '${day} ${operator} ${after}' }",
|
42
|
+
"check": [
|
43
|
+
"day",
|
44
|
+
"after"
|
45
|
+
]
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"id": "dateTimeSelector",
|
49
|
+
"after": [
|
50
|
+
"preposition"
|
51
|
+
],
|
52
|
+
"before": [
|
53
|
+
"verb"
|
54
|
+
],
|
55
|
+
"convolution": true,
|
56
|
+
"children": [
|
57
|
+
"onDate_dates",
|
58
|
+
"atTime",
|
59
|
+
"date_dates"
|
60
|
+
],
|
61
|
+
"bridge": "{ ...next(operator), date: after[0], time: after[1], interpolate: '${date} ${time}' }",
|
62
|
+
"check": [
|
63
|
+
"time",
|
64
|
+
"date"
|
65
|
+
]
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"semantics": [
|
69
|
+
{
|
70
|
+
"match": "({context, isA}) => context.evaluate && onOrIs('dayAfterDate', context)",
|
71
|
+
"apply": "async ({context, isProcess, isTest, kms, isA, e}) => {\n try {\n const now = kms.time.api.now()\n const date = afterOrIs('dayAfterDate', context)\n const afterISO = (await e(date.after)).evalue\n const day_ordinal = date.day.day_ordinal\n const ordinal = date.day.ordinal.value\n context.evalue = dateTimeSelectors_helpers.getNthWeekdayAfterDate(afterISO, day_ordinal, ordinal)\n } catch ( e ) {\n context.evalue = `Implement instatiate for this type of date. See the dateTimeSelectors KM ${where()}. ${e}`\n }\n }"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"match": "({context, isA}) => context.evaluate && onOrIs('dayOfMonth', context)",
|
75
|
+
"apply": "({context, isProcess, isTest, kms, isA}) => {\n try {\n const now = kms.time.api.now()\n const date = onOrIs('dayOfMonth', context)\n context.evalue = dateTimeSelectors_helpers.getNthDayOfMonth(removeDatesSuffix(date.day.value), date.day.ordinal.value || 1, removeDatesSuffix(date.month.value), now)\n } catch ( e ) {\n context.evalue = `Implement instatiate for this type of date. See the dateTimeSelectors KM ${where()}. ${e}`\n }\n }"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"match": "({context, isA}) => {\n if (!context.evaluate) {\n return false\n }\n if (isA(context.marker, 'onDateValue_dates')) {\n return true\n }\n if (isA(context.marker, 'dateTimeSelector')) {\n return true\n }\n }",
|
79
|
+
"apply": "({context, isProcess, isTest, kms, isA}) => {\n context.evalue = instantiate(kms, isA, isProcess || isTest || context.isTest, context)\n }"
|
80
|
+
}
|
81
|
+
],
|
82
|
+
"hierarchy": [
|
83
|
+
[
|
84
|
+
"day_dates",
|
85
|
+
"orderable"
|
86
|
+
]
|
87
|
+
]
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"resultss": [
|
91
|
+
{
|
92
|
+
"extraConfig": true,
|
93
|
+
"operators": [
|
94
|
+
"([dateTimeSelector] (onDate) (atTime))",
|
95
|
+
"((day_dates/*) [dayOfMonth|of] (month_dates/*))",
|
96
|
+
"((day_dates/*) [dayAfterDate|after] (afterDateValue_dates/*))"
|
97
|
+
],
|
98
|
+
"bridges": [
|
99
|
+
{
|
100
|
+
"id": "dayOfMonth",
|
101
|
+
"after": [
|
102
|
+
"article"
|
103
|
+
],
|
104
|
+
"isA": [
|
105
|
+
"onDateValue_dates"
|
106
|
+
],
|
107
|
+
"before": [
|
108
|
+
"verb",
|
109
|
+
"onDate_dates"
|
110
|
+
],
|
111
|
+
"bridge": "{ ...next(operator), day: before[0], month: after[0], operator: operator, interpolate: '${day} ${operator} ${month}' }",
|
112
|
+
"check": [
|
113
|
+
"day",
|
114
|
+
"month"
|
115
|
+
]
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"id": "dayAfterDate",
|
119
|
+
"after": [
|
120
|
+
"article",
|
121
|
+
"monthDayYear_dates"
|
122
|
+
],
|
123
|
+
"isA": [
|
124
|
+
"onDateValue_dates"
|
125
|
+
],
|
126
|
+
"before": [
|
127
|
+
"verb",
|
128
|
+
"afterDate_dates"
|
129
|
+
],
|
130
|
+
"bridge": "{ ...next(operator), day: before[0], after: after[0], operator: operator, interpolate: '${day} ${operator} ${after}' }",
|
131
|
+
"check": [
|
132
|
+
"day",
|
133
|
+
"after"
|
134
|
+
]
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"id": "dateTimeSelector",
|
138
|
+
"after": [
|
139
|
+
"preposition"
|
140
|
+
],
|
141
|
+
"before": [
|
142
|
+
"verb"
|
143
|
+
],
|
144
|
+
"convolution": true,
|
145
|
+
"children": [
|
146
|
+
"onDate_dates",
|
147
|
+
"atTime",
|
148
|
+
"date_dates"
|
149
|
+
],
|
150
|
+
"bridge": "{ ...next(operator), date: after[0], time: after[1], interpolate: '${date} ${time}' }",
|
151
|
+
"check": [
|
152
|
+
"time",
|
153
|
+
"date"
|
154
|
+
]
|
155
|
+
}
|
156
|
+
],
|
157
|
+
"semantics": [
|
158
|
+
{},
|
159
|
+
{},
|
160
|
+
{}
|
161
|
+
],
|
162
|
+
"hierarchy": [
|
163
|
+
[
|
164
|
+
"day_dates",
|
165
|
+
"orderable"
|
166
|
+
]
|
167
|
+
]
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"fragments": [],
|
171
|
+
"semantics": [],
|
172
|
+
"associations": [],
|
173
|
+
"summaries": [],
|
174
|
+
"learned_contextual_priorities": []
|
175
|
+
}
|