tpmkms_4wp 9.3.0 → 9.4.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 (113) hide show
  1. package/common/animals.instance.json +0 -65
  2. package/common/animals.js +2 -3
  3. package/common/animals.test.json +1607 -1
  4. package/common/articles.js +2 -4
  5. package/common/asking.js +21 -5
  6. package/common/avatar.js +4 -12
  7. package/common/characters.js +2 -2
  8. package/common/colors.instance.json +0 -70
  9. package/common/colors.js +2 -2
  10. package/common/comparable.instance.json +0 -15
  11. package/common/comparable.js +2 -2
  12. package/common/concept.js +1 -2
  13. package/common/concept.test.json +279 -193
  14. package/common/conjunction.js +3 -5
  15. package/common/countable.js +2 -14
  16. package/common/crew.instance.json +0 -130
  17. package/common/crew.js +2 -2
  18. package/common/currency.js +2 -3
  19. package/common/dateTimeSelectors.instance.json +175 -0
  20. package/common/dateTimeSelectors.js +168 -0
  21. package/common/dateTimeSelectors.test.json +85622 -0
  22. package/common/dates.instance.json +504 -486
  23. package/common/dates.js +128 -16
  24. package/common/dates.test.json +16867 -373
  25. package/common/dialogues.js +13 -49
  26. package/common/dimension.instance.json +0 -5
  27. package/common/dimension.js +4 -4
  28. package/common/edible.instance.json +0 -216
  29. package/common/edible.js +2 -2
  30. package/common/emotions.instance.json +0 -5
  31. package/common/emotions.js +2 -2
  32. package/common/errors.js +3 -0
  33. package/common/evaluate.js +2 -2
  34. package/common/events.js +1 -2
  35. package/common/fastfood.instance.json +28 -975
  36. package/common/fastfood.js +2 -4
  37. package/common/fastfood.test.json +16291 -6597
  38. package/common/formulas.instance.json +0 -5
  39. package/common/formulas.js +3 -1
  40. package/common/gdefaults.js +7 -4
  41. package/common/help.js +2 -2
  42. package/common/helpers/dateTimeSelectors.js +198 -0
  43. package/common/helpers/dialogues.js +11 -8
  44. package/common/helpers/properties.js +2 -2
  45. package/common/helpers.js +23 -47
  46. package/common/hierarchy.js +12 -13
  47. package/common/javascript.js +2 -3
  48. package/common/kirk.instance.json +30 -119
  49. package/common/kirk.js +2 -3
  50. package/common/length.instance.json +0 -75
  51. package/common/length.js +2 -3
  52. package/common/listener.js +3 -1
  53. package/common/math.instance.json +0 -5
  54. package/common/math.js +2 -3
  55. package/common/menus.instance.json +0 -35
  56. package/common/menus.js +3 -1
  57. package/common/meta.js +4 -5
  58. package/common/nameable.js +3 -1
  59. package/common/negation.js +2 -2
  60. package/common/numbers.js +7 -4
  61. package/common/numbers.test.json +89 -23
  62. package/common/ordering.instance.json +0 -10
  63. package/common/ordering.js +2 -3
  64. package/common/ordinals.js +2 -3
  65. package/common/people.instance.json +0 -40
  66. package/common/people.js +2 -3
  67. package/common/percentages.js +3 -4
  68. package/common/percentages.test.json +57 -11
  69. package/common/pipboy.instance.json +0 -85
  70. package/common/pipboy.js +1 -1
  71. package/common/pipboy.test.json +4377 -3386
  72. package/common/pokemon.instance.json +0 -65
  73. package/common/pokemon.js +1 -2
  74. package/common/pos.js +2 -2
  75. package/common/pressure.instance.json +0 -20
  76. package/common/pressure.js +2 -2
  77. package/common/properties.instance.json +0 -5
  78. package/common/properties.js +11 -13
  79. package/common/punctuation.js +2 -2
  80. package/common/reminders.instance.json +237 -0
  81. package/common/reminders.js +394 -0
  82. package/common/reminders.test.json +81932 -0
  83. package/common/reports.instance.json +2 -12
  84. package/common/reports.js +1 -1
  85. package/common/scorekeeper.js +2 -2
  86. package/common/scorekeeper.test.json +3565 -7550
  87. package/common/sdefaults.js +1 -1
  88. package/common/self.instance.json +2 -0
  89. package/common/self.js +49 -0
  90. package/common/self.test.json +2 -0
  91. package/common/sizeable.js +2 -2
  92. package/common/spock.instance.json +30 -119
  93. package/common/spock.js +1 -1
  94. package/common/stgame.js +1 -1
  95. package/common/stm.js +1 -1
  96. package/common/tell.js +2 -2
  97. package/common/temperature.instance.json +84 -20
  98. package/common/temperature.js +2 -2
  99. package/common/tester.js +0 -1
  100. package/common/testing.js +0 -1
  101. package/common/time.js +57 -30
  102. package/common/time.test.json +4159 -205
  103. package/common/tokenize.js +1 -1
  104. package/common/ui.instance.json +0 -5
  105. package/common/ui.js +4 -2
  106. package/common/weight.instance.json +0 -60
  107. package/common/weight.js +2 -2
  108. package/common/wp.instance.json +386 -72
  109. package/common/wp.js +1 -5
  110. package/common/wp.test.json +8057 -3867
  111. package/common/yesno.js +2 -2
  112. package/main.js +6 -0
  113. package/package.json +16 -4
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "configs": [
3
3
  "setidsuffix _dates",
4
+ {
5
+ "apply": "({config}) => {\n const months = [\"january\", \"february\", \"march\", \"april\", \"may\", \"june\", \"july\", \"august\", \"september\", \"october\", \"november\", \"december\"]\n config.addSemantic({\n match: ({context}) => {\n if (!context.makeObject) {\n return\n }\n return months.includes(context.value)\n },\n apply: ({context}) => {\n context.initial.month_ordinal = months.findIndex((month) => month == context.value) + 1\n },\n })\n }"
6
+ },
4
7
  "january, february, march, april, may, june, july, august, september, october, november and december are months",
8
+ {
9
+ "apply": "({config}) => {\n const days = [\"sunday\", \"monday\", \"tuesday\", \"wednesday\", \"thursday\", \"friday\", \"saturday\"]\n config.addSemantic({\n match: ({context}) => {\n if (!context.makeObject) {\n return\n }\n return days.includes(context.value)\n },\n apply: ({context}) => {\n context.initial.day_ordinal = days.findIndex((day) => day == context.value) + 1\n },\n })\n }"
10
+ },
5
11
  "monday, tuesday, wednesday, thursday, friday, saturday and sunday are days",
6
12
  "ac, bc, bce and ad are eras",
7
13
  {
@@ -13,10 +19,97 @@
13
19
  "([era_dates|])",
14
20
  "([date_dates|])",
15
21
  "([dateEra_dates] (date_dates/*) (era_dates/*))",
22
+ "([monthDay_dates] (month_dates/*) (dayNumber_dates/*))",
23
+ "([monthYear_dates] (month_dates/*) (yearNumber_dates/*))",
16
24
  "([monthDayYear_dates] (month_dates/*) (dayNumber_dates/*) (yearNumber_dates/*))",
17
- "([monthDayYearWithSlashes_dates] (monthNumber_dates/*) (dateSeparator_dates/*) (dayNumber_dates/*) (dateSeparator_dates/*) (yearNumber_dates/*))"
25
+ "([monthDayYearWithSlashes_dates] (monthNumber_dates/*) (dateSeparator_dates/*) (dayNumber_dates/*) (dateSeparator_dates/*) (yearNumber_dates/*))",
26
+ "([onDate_dates|on] ([onDateValue_dates|]))",
27
+ "([afterDate_dates|after] ([afterDateValue_dates|]))"
28
+ ],
29
+ "associations": {
30
+ "positive": [
31
+ {
32
+ "context": [
33
+ [
34
+ "every",
35
+ 0
36
+ ],
37
+ [
38
+ "monday_dates",
39
+ 0
40
+ ]
41
+ ],
42
+ "choose": 1
43
+ }
44
+ ]
45
+ },
46
+ "hierarchy": [
47
+ [
48
+ "monday_dates",
49
+ "distributable"
50
+ ]
18
51
  ],
19
52
  "bridges": [
53
+ {
54
+ "id": "onDateValue_dates",
55
+ "children": [
56
+ "day_dates",
57
+ "month_dates"
58
+ ]
59
+ },
60
+ {
61
+ "id": "onDate_dates",
62
+ "isA": [
63
+ "preposition"
64
+ ],
65
+ "bridge": "{ ...next(operator), date: after[0], onDate: operator, interpolate: '${onDate} ${date}' }",
66
+ "check": [
67
+ "marker",
68
+ "text",
69
+ "verbatim",
70
+ "value",
71
+ "evalue",
72
+ "isResponse",
73
+ {
74
+ "properties": "modifiers"
75
+ },
76
+ {
77
+ "properties": "postModifiers"
78
+ },
79
+ "onDate",
80
+ "date"
81
+ ]
82
+ },
83
+ {
84
+ "id": "afterDateValue_dates",
85
+ "children": [
86
+ "day_dates",
87
+ "month_dates"
88
+ ]
89
+ },
90
+ {
91
+ "id": "afterDate_dates",
92
+ "isA": [
93
+ "preposition"
94
+ ],
95
+ "bridge": "{ ...next(operator), date: after[0], afterDate: operator, interpolate: '${afterDate} ${date}' }",
96
+ "check": [
97
+ "marker",
98
+ "text",
99
+ "verbatim",
100
+ "value",
101
+ "evalue",
102
+ "isResponse",
103
+ {
104
+ "properties": "modifiers"
105
+ },
106
+ {
107
+ "properties": "postModifiers"
108
+ },
109
+ "afterDate",
110
+ "date"
111
+ ]
112
+ },
20
113
  {
21
114
  "id": "era_dates",
22
115
  "words": [
@@ -27,7 +120,12 @@
27
120
  {
28
121
  "id": "date_dates",
29
122
  "words": [
30
- "date"
123
+ "date",
124
+ "distributable"
125
+ ],
126
+ "isA": [
127
+ "onDateValue_dates",
128
+ "afterDateValue_dates"
31
129
  ],
32
130
  "bridge": "{ ...next(operator) }"
33
131
  },
@@ -37,7 +135,22 @@
37
135
  "date_dates"
38
136
  ],
39
137
  "convolution": true,
40
- "bridge": "{ ...next(after[0]), era: after[1], interpolate: concat(after[0].interpolate, ' ${era}') }"
138
+ "bridge": "{ ...next(after[0]), era: after[1], interpolate: concat(after[0].interpolate, ' ${era}') }",
139
+ "check": [
140
+ "marker",
141
+ "text",
142
+ "verbatim",
143
+ "value",
144
+ "evalue",
145
+ "isResponse",
146
+ {
147
+ "properties": "modifiers"
148
+ },
149
+ {
150
+ "properties": "postModifiers"
151
+ },
152
+ "era"
153
+ ]
41
154
  },
42
155
  {
43
156
  "id": "dateSeparator_dates",
@@ -51,17 +164,34 @@
51
164
  "isA": [
52
165
  "date_dates"
53
166
  ],
167
+ "before": [
168
+ "preposition"
169
+ ],
54
170
  "convolution": true,
55
- "bridge": "{ ...next(operator), day: after[2], month: after[0], year: after[4], interpolate: '${month}/${day}/${year}' }"
171
+ "bridge": "{ ...next(operator), day: after[2], month: after[0], year: after[4], interpolate: '${month}/${day}/${year}' }",
172
+ "check": [
173
+ "marker",
174
+ "text",
175
+ "verbatim",
176
+ "value",
177
+ "evalue",
178
+ "isResponse",
179
+ {
180
+ "properties": "modifiers"
181
+ },
182
+ {
183
+ "properties": "postModifiers"
184
+ },
185
+ "day",
186
+ "month",
187
+ "year"
188
+ ]
56
189
  },
57
190
  {
58
191
  "id": "dayNumber_dates",
59
192
  "isA": [
60
193
  "integer"
61
194
  ],
62
- "associations": [
63
- "dates"
64
- ],
65
195
  "bridge": "{ ...next(operator) }"
66
196
  },
67
197
  {
@@ -78,19 +208,101 @@
78
208
  ],
79
209
  "bridge": "{ ...next(operator) }"
80
210
  },
211
+ {
212
+ "id": "monthDay_dates",
213
+ "convolution": true,
214
+ "localHierarchy": [
215
+ [
216
+ "ordinal",
217
+ "dayNumber_dates"
218
+ ]
219
+ ],
220
+ "before": [
221
+ "preposition"
222
+ ],
223
+ "isA": [
224
+ "date_dates"
225
+ ],
226
+ "bridge": "{ ...next(operator), month: after[0], day: after[1], interpolate: '${month} ${day}' }",
227
+ "check": [
228
+ "marker",
229
+ "text",
230
+ "verbatim",
231
+ "value",
232
+ "evalue",
233
+ "isResponse",
234
+ {
235
+ "properties": "modifiers"
236
+ },
237
+ {
238
+ "properties": "postModifiers"
239
+ },
240
+ "day",
241
+ "month"
242
+ ]
243
+ },
244
+ {
245
+ "id": "monthYear_dates",
246
+ "convolution": true,
247
+ "before": [
248
+ "preposition"
249
+ ],
250
+ "isA": [
251
+ "date_dates"
252
+ ],
253
+ "bridge": "{ ...next(operator), month: after[0], year: after[1], interpolate: '${month} ${year}' }",
254
+ "check": [
255
+ "marker",
256
+ "text",
257
+ "verbatim",
258
+ "value",
259
+ "evalue",
260
+ "isResponse",
261
+ {
262
+ "properties": "modifiers"
263
+ },
264
+ {
265
+ "properties": "postModifiers"
266
+ },
267
+ "month",
268
+ "year"
269
+ ]
270
+ },
81
271
  {
82
272
  "id": "monthDayYear_dates",
83
273
  "convolution": true,
274
+ "before": [
275
+ "preposition",
276
+ "monthDay_dates"
277
+ ],
84
278
  "isA": [
85
279
  "date_dates"
86
280
  ],
281
+ "evaluator": "({context}) => {\n const year = context.year.value\n const day = context.day.value\n const month_ordinal = context.month.month_ordinal\n context.evalue = new Date(year, month_ordinal-1, day).toISOString()\n }",
87
282
  "localHierarchy": [
88
283
  [
89
284
  "ordinal",
90
285
  "dayNumber_dates"
91
286
  ]
92
287
  ],
93
- "bridge": "{ ...next(operator), month: after[0], day: after[1], year: after[2], interpolate: '${month} ${day} ${year}' }"
288
+ "bridge": "{ ...next(operator), month: after[0], day: after[1], year: after[2], interpolate: '${month} ${day} ${year}' }",
289
+ "check": [
290
+ "marker",
291
+ "text",
292
+ "verbatim",
293
+ "value",
294
+ "evalue",
295
+ "isResponse",
296
+ {
297
+ "properties": "modifiers"
298
+ },
299
+ {
300
+ "properties": "postModifiers"
301
+ },
302
+ "month",
303
+ "day",
304
+ "year"
305
+ ]
94
306
  }
95
307
  ],
96
308
  "words": {
@@ -153,7 +365,7 @@
153
365
  }
154
366
  },
155
367
  {
156
- "apply": "(args) => {\n const as = ['jan', 'feb', 'mar', 'apr', 'jun', 'jul', 'aug', 'sept', 'oct', 'nov', 'dec']\n const ms = ['january', 'february', 'march', 'april', 'june', 'july', 'august', 'september', 'october', 'november', 'december']\n for (let i = 0; i < as.length; ++i) {\n args.makeObject({...args, context: { word: as[i], value: `${as[i]}_dates`}, types: [`${ms[i]}_dates`]})\n }\n\n /*\n const word = 'bc'\n const synonym = 'bce'\n args.makeObject({...args, context: { word: synonym, value: `${synonym}_dates`}, types: [`${word}_dates`]})\n */\n }"
368
+ "apply": "(args) => {\n {\n const as = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sept', 'oct', 'nov', 'dec']\n const ms = ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december']\n // args.makeObject({...args, context: { word: as[i], value: `${ms[i]}_dates`}, types: [`${ms[i]}_dates`]})\n for (let i = 0; i < as.length; ++i) {\n const word = as[i]\n if (word == 'may') {\n continue\n }\n const id = `${ms[i]}_dates`\n args.addWords(id, word, { value: id, abbreviation: word, month_ordinal: i+1 })\n }\n }\n\n {\n const as = ['sun', 'mon', 'tues', 'weds', 'thurs', 'fri', 'sat']\n const ms = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday']\n // args.makeObject({...args, context: { word: as[i], value: `${ms[i]}_dates`}, types: [`${ms[i]}_dates`]})\n for (let i = 0; i < as.length; ++i) {\n const word = as[i]\n const id = `${ms[i]}_dates`\n args.addWords(id, word, { value: id, abbreviation: word, day_ordinal: i+1 })\n }\n }\n\n }"
157
369
  },
158
370
  "resetIdSuffix"
159
371
  ],
@@ -215,11 +427,6 @@
215
427
  "article",
216
428
  false
217
429
  ],
218
- [
219
- "evaluate",
220
- "verb",
221
- false
222
- ],
223
430
  [
224
431
  "every",
225
432
  "article",
@@ -682,6 +889,9 @@
682
889
  "query": "setidsuffix _dates"
683
890
  }
684
891
  },
892
+ {
893
+ "apply": "({config}) => {\n const months = [\"january\", \"february\", \"march\", \"april\", \"may\", \"june\", \"july\", \"august\", \"september\", \"october\", \"november\", \"december\"]\n config.addSemantic({\n match: ({context}) => {\n if (!context.makeObject) {\n return\n }\n return months.includes(context.value)\n },\n apply: ({context}) => {\n context.initial.month_ordinal = months.findIndex((month) => month == context.value) + 1\n },\n })\n }"
894
+ },
685
895
  {
686
896
  "hierarchy": [
687
897
  [
@@ -739,11 +949,6 @@
739
949
  "article",
740
950
  false
741
951
  ],
742
- [
743
- "evaluate",
744
- "verb",
745
- false
746
- ],
747
952
  [
748
953
  "every",
749
954
  "article",
@@ -9673,6 +9878,9 @@
9673
9878
  "query": "january, february, march, april, may, june, july, august, september, october, november and december are months"
9674
9879
  }
9675
9880
  },
9881
+ {
9882
+ "apply": "({config}) => {\n const days = [\"sunday\", \"monday\", \"tuesday\", \"wednesday\", \"thursday\", \"friday\", \"saturday\"]\n config.addSemantic({\n match: ({context}) => {\n if (!context.makeObject) {\n return\n }\n return days.includes(context.value)\n },\n apply: ({context}) => {\n context.initial.day_ordinal = days.findIndex((day) => day == context.value) + 1\n },\n })\n }"
9883
+ },
9676
9884
  {
9677
9885
  "hierarchy": [
9678
9886
  [
@@ -9850,11 +10058,6 @@
9850
10058
  "article",
9851
10059
  false
9852
10060
  ],
9853
- [
9854
- "evaluate",
9855
- "verb",
9856
- false
9857
- ],
9858
10061
  [
9859
10062
  "every",
9860
10063
  "article",
@@ -14176,11 +14379,6 @@
14176
14379
  "article",
14177
14380
  false
14178
14381
  ],
14179
- [
14180
- "evaluate",
14181
- "verb",
14182
- false
14183
- ],
14184
14382
  [
14185
14383
  "every",
14186
14384
  "article",
@@ -16597,10 +16795,97 @@
16597
16795
  "([era_dates|])",
16598
16796
  "([date_dates|])",
16599
16797
  "([dateEra_dates] (date_dates/*) (era_dates/*))",
16798
+ "([monthDay_dates] (month_dates/*) (dayNumber_dates/*))",
16799
+ "([monthYear_dates] (month_dates/*) (yearNumber_dates/*))",
16600
16800
  "([monthDayYear_dates] (month_dates/*) (dayNumber_dates/*) (yearNumber_dates/*))",
16601
- "([monthDayYearWithSlashes_dates] (monthNumber_dates/*) (dateSeparator_dates/*) (dayNumber_dates/*) (dateSeparator_dates/*) (yearNumber_dates/*))"
16801
+ "([monthDayYearWithSlashes_dates] (monthNumber_dates/*) (dateSeparator_dates/*) (dayNumber_dates/*) (dateSeparator_dates/*) (yearNumber_dates/*))",
16802
+ "([onDate_dates|on] ([onDateValue_dates|]))",
16803
+ "([afterDate_dates|after] ([afterDateValue_dates|]))"
16804
+ ],
16805
+ "associations": {
16806
+ "positive": [
16807
+ {
16808
+ "context": [
16809
+ [
16810
+ "every",
16811
+ 0
16812
+ ],
16813
+ [
16814
+ "monday_dates",
16815
+ 0
16816
+ ]
16817
+ ],
16818
+ "choose": 1
16819
+ }
16820
+ ]
16821
+ },
16822
+ "hierarchy": [
16823
+ [
16824
+ "monday_dates",
16825
+ "distributable"
16826
+ ]
16602
16827
  ],
16603
16828
  "bridges": [
16829
+ {
16830
+ "id": "onDateValue_dates",
16831
+ "children": [
16832
+ "day_dates",
16833
+ "month_dates"
16834
+ ]
16835
+ },
16836
+ {
16837
+ "id": "onDate_dates",
16838
+ "isA": [
16839
+ "preposition"
16840
+ ],
16841
+ "bridge": "{ ...next(operator), date: after[0], onDate: operator, interpolate: '${onDate} ${date}' }",
16842
+ "check": [
16843
+ "marker",
16844
+ "text",
16845
+ "verbatim",
16846
+ "value",
16847
+ "evalue",
16848
+ "isResponse",
16849
+ {
16850
+ "properties": "modifiers"
16851
+ },
16852
+ {
16853
+ "properties": "postModifiers"
16854
+ },
16855
+ "onDate",
16856
+ "date"
16857
+ ]
16858
+ },
16859
+ {
16860
+ "id": "afterDateValue_dates",
16861
+ "children": [
16862
+ "day_dates",
16863
+ "month_dates"
16864
+ ]
16865
+ },
16866
+ {
16867
+ "id": "afterDate_dates",
16868
+ "isA": [
16869
+ "preposition"
16870
+ ],
16871
+ "bridge": "{ ...next(operator), date: after[0], afterDate: operator, interpolate: '${afterDate} ${date}' }",
16872
+ "check": [
16873
+ "marker",
16874
+ "text",
16875
+ "verbatim",
16876
+ "value",
16877
+ "evalue",
16878
+ "isResponse",
16879
+ {
16880
+ "properties": "modifiers"
16881
+ },
16882
+ {
16883
+ "properties": "postModifiers"
16884
+ },
16885
+ "afterDate",
16886
+ "date"
16887
+ ]
16888
+ },
16604
16889
  {
16605
16890
  "id": "era_dates",
16606
16891
  "words": [
@@ -16611,7 +16896,12 @@
16611
16896
  {
16612
16897
  "id": "date_dates",
16613
16898
  "words": [
16614
- "date"
16899
+ "date",
16900
+ "distributable"
16901
+ ],
16902
+ "isA": [
16903
+ "onDateValue_dates",
16904
+ "afterDateValue_dates"
16615
16905
  ],
16616
16906
  "bridge": "{ ...next(operator) }"
16617
16907
  },
@@ -16621,7 +16911,22 @@
16621
16911
  "date_dates"
16622
16912
  ],
16623
16913
  "convolution": true,
16624
- "bridge": "{ ...next(after[0]), era: after[1], interpolate: concat(after[0].interpolate, ' ${era}') }"
16914
+ "bridge": "{ ...next(after[0]), era: after[1], interpolate: concat(after[0].interpolate, ' ${era}') }",
16915
+ "check": [
16916
+ "marker",
16917
+ "text",
16918
+ "verbatim",
16919
+ "value",
16920
+ "evalue",
16921
+ "isResponse",
16922
+ {
16923
+ "properties": "modifiers"
16924
+ },
16925
+ {
16926
+ "properties": "postModifiers"
16927
+ },
16928
+ "era"
16929
+ ]
16625
16930
  },
16626
16931
  {
16627
16932
  "id": "dateSeparator_dates",
@@ -16635,17 +16940,34 @@
16635
16940
  "isA": [
16636
16941
  "date_dates"
16637
16942
  ],
16943
+ "before": [
16944
+ "preposition"
16945
+ ],
16638
16946
  "convolution": true,
16639
- "bridge": "{ ...next(operator), day: after[2], month: after[0], year: after[4], interpolate: '${month}/${day}/${year}' }"
16947
+ "bridge": "{ ...next(operator), day: after[2], month: after[0], year: after[4], interpolate: '${month}/${day}/${year}' }",
16948
+ "check": [
16949
+ "marker",
16950
+ "text",
16951
+ "verbatim",
16952
+ "value",
16953
+ "evalue",
16954
+ "isResponse",
16955
+ {
16956
+ "properties": "modifiers"
16957
+ },
16958
+ {
16959
+ "properties": "postModifiers"
16960
+ },
16961
+ "day",
16962
+ "month",
16963
+ "year"
16964
+ ]
16640
16965
  },
16641
16966
  {
16642
16967
  "id": "dayNumber_dates",
16643
16968
  "isA": [
16644
16969
  "integer"
16645
16970
  ],
16646
- "associations": [
16647
- "dates"
16648
- ],
16649
16971
  "bridge": "{ ...next(operator) }"
16650
16972
  },
16651
16973
  {
@@ -16662,9 +16984,73 @@
16662
16984
  ],
16663
16985
  "bridge": "{ ...next(operator) }"
16664
16986
  },
16987
+ {
16988
+ "id": "monthDay_dates",
16989
+ "convolution": true,
16990
+ "localHierarchy": [
16991
+ [
16992
+ "ordinal",
16993
+ "dayNumber_dates"
16994
+ ]
16995
+ ],
16996
+ "before": [
16997
+ "preposition"
16998
+ ],
16999
+ "isA": [
17000
+ "date_dates"
17001
+ ],
17002
+ "bridge": "{ ...next(operator), month: after[0], day: after[1], interpolate: '${month} ${day}' }",
17003
+ "check": [
17004
+ "marker",
17005
+ "text",
17006
+ "verbatim",
17007
+ "value",
17008
+ "evalue",
17009
+ "isResponse",
17010
+ {
17011
+ "properties": "modifiers"
17012
+ },
17013
+ {
17014
+ "properties": "postModifiers"
17015
+ },
17016
+ "day",
17017
+ "month"
17018
+ ]
17019
+ },
17020
+ {
17021
+ "id": "monthYear_dates",
17022
+ "convolution": true,
17023
+ "before": [
17024
+ "preposition"
17025
+ ],
17026
+ "isA": [
17027
+ "date_dates"
17028
+ ],
17029
+ "bridge": "{ ...next(operator), month: after[0], year: after[1], interpolate: '${month} ${year}' }",
17030
+ "check": [
17031
+ "marker",
17032
+ "text",
17033
+ "verbatim",
17034
+ "value",
17035
+ "evalue",
17036
+ "isResponse",
17037
+ {
17038
+ "properties": "modifiers"
17039
+ },
17040
+ {
17041
+ "properties": "postModifiers"
17042
+ },
17043
+ "month",
17044
+ "year"
17045
+ ]
17046
+ },
16665
17047
  {
16666
17048
  "id": "monthDayYear_dates",
16667
17049
  "convolution": true,
17050
+ "before": [
17051
+ "preposition",
17052
+ "monthDay_dates"
17053
+ ],
16668
17054
  "isA": [
16669
17055
  "date_dates"
16670
17056
  ],
@@ -16674,7 +17060,24 @@
16674
17060
  "dayNumber_dates"
16675
17061
  ]
16676
17062
  ],
16677
- "bridge": "{ ...next(operator), month: after[0], day: after[1], year: after[2], interpolate: '${month} ${day} ${year}' }"
17063
+ "bridge": "{ ...next(operator), month: after[0], day: after[1], year: after[2], interpolate: '${month} ${day} ${year}' }",
17064
+ "check": [
17065
+ "marker",
17066
+ "text",
17067
+ "verbatim",
17068
+ "value",
17069
+ "evalue",
17070
+ "isResponse",
17071
+ {
17072
+ "properties": "modifiers"
17073
+ },
17074
+ {
17075
+ "properties": "postModifiers"
17076
+ },
17077
+ "month",
17078
+ "day",
17079
+ "year"
17080
+ ]
16678
17081
  }
16679
17082
  ],
16680
17083
  "words": {
@@ -16737,7 +17140,7 @@
16737
17140
  }
16738
17141
  },
16739
17142
  {
16740
- "apply": "(args) => {\n const as = ['jan', 'feb', 'mar', 'apr', 'jun', 'jul', 'aug', 'sept', 'oct', 'nov', 'dec']\n const ms = ['january', 'february', 'march', 'april', 'june', 'july', 'august', 'september', 'october', 'november', 'december']\n for (let i = 0; i < as.length; ++i) {\n args.makeObject({...args, context: { word: as[i], value: `${as[i]}_dates`}, types: [`${ms[i]}_dates`]})\n }\n\n /*\n const word = 'bc'\n const synonym = 'bce'\n args.makeObject({...args, context: { word: synonym, value: `${synonym}_dates`}, types: [`${word}_dates`]})\n */\n }"
17143
+ "apply": "(args) => {\n {\n const as = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sept', 'oct', 'nov', 'dec']\n const ms = ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december']\n // args.makeObject({...args, context: { word: as[i], value: `${ms[i]}_dates`}, types: [`${ms[i]}_dates`]})\n for (let i = 0; i < as.length; ++i) {\n const word = as[i]\n if (word == 'may') {\n continue\n }\n const id = `${ms[i]}_dates`\n args.addWords(id, word, { value: id, abbreviation: word, month_ordinal: i+1 })\n }\n }\n\n {\n const as = ['sun', 'mon', 'tues', 'weds', 'thurs', 'fri', 'sat']\n const ms = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday']\n // args.makeObject({...args, context: { word: as[i], value: `${ms[i]}_dates`}, types: [`${ms[i]}_dates`]})\n for (let i = 0; i < as.length; ++i) {\n const word = as[i]\n const id = `${ms[i]}_dates`\n args.addWords(id, word, { value: id, abbreviation: word, day_ordinal: i+1 })\n }\n }\n\n }"
16741
17144
  },
16742
17145
  {
16743
17146
  "hierarchy": [
@@ -16832,43 +17235,13 @@
16832
17235
  false
16833
17236
  ],
16834
17237
  [
16835
- "apr_dates",
16836
- "april_dates",
16837
- false
16838
- ],
16839
- [
16840
- "apr_dates",
16841
- "hierarchyAble",
16842
- false
16843
- ],
16844
- [
16845
- "apr_dates",
16846
- "isEdee",
16847
- false
16848
- ],
16849
- [
16850
- "apr_dates",
16851
- "isEder",
16852
- false
16853
- ],
16854
- [
16855
- "apr_dates",
16856
- "object",
16857
- false
16858
- ],
16859
- [
16860
- "apr_dates",
16861
- "property",
16862
- false
16863
- ],
16864
- [
16865
- "apr_dates",
16866
- "queryable",
17238
+ "afterDateValue_dates",
17239
+ "afterDateValue_dates",
16867
17240
  false
16868
17241
  ],
16869
17242
  [
16870
- "apr_dates",
16871
- "theAble",
17243
+ "afterDate_dates",
17244
+ "preposition",
16872
17245
  false
16873
17246
  ],
16874
17247
  [
@@ -16917,82 +17290,42 @@
16917
17290
  false
16918
17291
  ],
16919
17292
  [
16920
- "aug_dates",
16921
17293
  "august_dates",
16922
- false
16923
- ],
16924
- [
16925
- "aug_dates",
16926
17294
  "hierarchyAble",
16927
17295
  false
16928
17296
  ],
16929
17297
  [
16930
- "aug_dates",
17298
+ "august_dates",
16931
17299
  "isEdee",
16932
17300
  false
16933
17301
  ],
16934
17302
  [
16935
- "aug_dates",
17303
+ "august_dates",
16936
17304
  "isEder",
16937
17305
  false
16938
17306
  ],
16939
17307
  [
16940
- "aug_dates",
17308
+ "august_dates",
17309
+ "month_dates",
17310
+ false
17311
+ ],
17312
+ [
17313
+ "august_dates",
16941
17314
  "object",
16942
17315
  false
16943
17316
  ],
16944
17317
  [
16945
- "aug_dates",
17318
+ "august_dates",
16946
17319
  "property",
16947
17320
  false
16948
17321
  ],
16949
17322
  [
16950
- "aug_dates",
17323
+ "august_dates",
16951
17324
  "queryable",
16952
17325
  false
16953
17326
  ],
16954
17327
  [
16955
- "aug_dates",
16956
- "theAble",
16957
- false
16958
- ],
16959
- [
16960
- "august_dates",
16961
- "hierarchyAble",
16962
- false
16963
- ],
16964
- [
16965
- "august_dates",
16966
- "isEdee",
16967
- false
16968
- ],
16969
- [
16970
- "august_dates",
16971
- "isEder",
16972
- false
16973
- ],
16974
- [
16975
- "august_dates",
16976
- "month_dates",
16977
- false
16978
- ],
16979
- [
16980
- "august_dates",
16981
- "object",
16982
- false
16983
- ],
16984
- [
16985
- "august_dates",
16986
- "property",
16987
- false
16988
- ],
16989
- [
16990
- "august_dates",
16991
- "queryable",
16992
- false
16993
- ],
16994
- [
16995
- "august_dates",
17328
+ "august_dates",
16996
17329
  "theAble",
16997
17330
  false
16998
17331
  ],
@@ -17108,7 +17441,12 @@
17108
17441
  ],
17109
17442
  [
17110
17443
  "date_dates",
17444
+ "afterDateValue_dates",
17445
+ false
17446
+ ],
17447
+ [
17111
17448
  "date_dates",
17449
+ "onDateValue_dates",
17112
17450
  false
17113
17451
  ],
17114
17452
  [
@@ -17118,76 +17456,46 @@
17118
17456
  ],
17119
17457
  [
17120
17458
  "day_dates",
17121
- "hierarchyAble",
17459
+ "afterDateValue_dates",
17122
17460
  false
17123
17461
  ],
17124
17462
  [
17125
17463
  "day_dates",
17126
- "isEdee",
17464
+ "hierarchyAble",
17127
17465
  false
17128
17466
  ],
17129
17467
  [
17130
17468
  "day_dates",
17131
- "isEder",
17469
+ "isEdee",
17132
17470
  false
17133
17471
  ],
17134
17472
  [
17135
17473
  "day_dates",
17136
- "object",
17474
+ "isEder",
17137
17475
  false
17138
17476
  ],
17139
17477
  [
17140
17478
  "day_dates",
17141
- "property",
17479
+ "object",
17142
17480
  false
17143
17481
  ],
17144
17482
  [
17145
17483
  "day_dates",
17146
- "queryable",
17484
+ "onDateValue_dates",
17147
17485
  false
17148
17486
  ],
17149
17487
  [
17150
17488
  "day_dates",
17151
- "theAble",
17152
- false
17153
- ],
17154
- [
17155
- "dec_dates",
17156
- "december_dates",
17157
- false
17158
- ],
17159
- [
17160
- "dec_dates",
17161
- "hierarchyAble",
17162
- false
17163
- ],
17164
- [
17165
- "dec_dates",
17166
- "isEdee",
17167
- false
17168
- ],
17169
- [
17170
- "dec_dates",
17171
- "isEder",
17172
- false
17173
- ],
17174
- [
17175
- "dec_dates",
17176
- "object",
17177
- false
17178
- ],
17179
- [
17180
- "dec_dates",
17181
17489
  "property",
17182
17490
  false
17183
17491
  ],
17184
17492
  [
17185
- "dec_dates",
17493
+ "day_dates",
17186
17494
  "queryable",
17187
17495
  false
17188
17496
  ],
17189
17497
  [
17190
- "dec_dates",
17498
+ "day_dates",
17191
17499
  "theAble",
17192
17500
  false
17193
17501
  ],
@@ -17281,56 +17589,11 @@
17281
17589
  "theAble",
17282
17590
  false
17283
17591
  ],
17284
- [
17285
- "evaluate",
17286
- "verb",
17287
- false
17288
- ],
17289
17592
  [
17290
17593
  "every",
17291
17594
  "article",
17292
17595
  false
17293
17596
  ],
17294
- [
17295
- "feb_dates",
17296
- "february_dates",
17297
- false
17298
- ],
17299
- [
17300
- "feb_dates",
17301
- "hierarchyAble",
17302
- false
17303
- ],
17304
- [
17305
- "feb_dates",
17306
- "isEdee",
17307
- false
17308
- ],
17309
- [
17310
- "feb_dates",
17311
- "isEder",
17312
- false
17313
- ],
17314
- [
17315
- "feb_dates",
17316
- "object",
17317
- false
17318
- ],
17319
- [
17320
- "feb_dates",
17321
- "property",
17322
- false
17323
- ],
17324
- [
17325
- "feb_dates",
17326
- "queryable",
17327
- false
17328
- ],
17329
- [
17330
- "feb_dates",
17331
- "theAble",
17332
- false
17333
- ],
17334
17597
  [
17335
17598
  "february_dates",
17336
17599
  "hierarchyAble",
@@ -17481,46 +17744,6 @@
17481
17744
  "toAble",
17482
17745
  false
17483
17746
  ],
17484
- [
17485
- "jan_dates",
17486
- "hierarchyAble",
17487
- false
17488
- ],
17489
- [
17490
- "jan_dates",
17491
- "isEdee",
17492
- false
17493
- ],
17494
- [
17495
- "jan_dates",
17496
- "isEder",
17497
- false
17498
- ],
17499
- [
17500
- "jan_dates",
17501
- "january_dates",
17502
- false
17503
- ],
17504
- [
17505
- "jan_dates",
17506
- "object",
17507
- false
17508
- ],
17509
- [
17510
- "jan_dates",
17511
- "property",
17512
- false
17513
- ],
17514
- [
17515
- "jan_dates",
17516
- "queryable",
17517
- false
17518
- ],
17519
- [
17520
- "jan_dates",
17521
- "theAble",
17522
- false
17523
- ],
17524
17747
  [
17525
17748
  "january_dates",
17526
17749
  "hierarchyAble",
@@ -17561,46 +17784,6 @@
17561
17784
  "theAble",
17562
17785
  false
17563
17786
  ],
17564
- [
17565
- "jul_dates",
17566
- "hierarchyAble",
17567
- false
17568
- ],
17569
- [
17570
- "jul_dates",
17571
- "isEdee",
17572
- false
17573
- ],
17574
- [
17575
- "jul_dates",
17576
- "isEder",
17577
- false
17578
- ],
17579
- [
17580
- "jul_dates",
17581
- "july_dates",
17582
- false
17583
- ],
17584
- [
17585
- "jul_dates",
17586
- "object",
17587
- false
17588
- ],
17589
- [
17590
- "jul_dates",
17591
- "property",
17592
- false
17593
- ],
17594
- [
17595
- "jul_dates",
17596
- "queryable",
17597
- false
17598
- ],
17599
- [
17600
- "jul_dates",
17601
- "theAble",
17602
- false
17603
- ],
17604
17787
  [
17605
17788
  "july_dates",
17606
17789
  "hierarchyAble",
@@ -17641,46 +17824,6 @@
17641
17824
  "theAble",
17642
17825
  false
17643
17826
  ],
17644
- [
17645
- "jun_dates",
17646
- "hierarchyAble",
17647
- false
17648
- ],
17649
- [
17650
- "jun_dates",
17651
- "isEdee",
17652
- false
17653
- ],
17654
- [
17655
- "jun_dates",
17656
- "isEder",
17657
- false
17658
- ],
17659
- [
17660
- "jun_dates",
17661
- "june_dates",
17662
- false
17663
- ],
17664
- [
17665
- "jun_dates",
17666
- "object",
17667
- false
17668
- ],
17669
- [
17670
- "jun_dates",
17671
- "property",
17672
- false
17673
- ],
17674
- [
17675
- "jun_dates",
17676
- "queryable",
17677
- false
17678
- ],
17679
- [
17680
- "jun_dates",
17681
- "theAble",
17682
- false
17683
- ],
17684
17827
  [
17685
17828
  "june_dates",
17686
17829
  "hierarchyAble",
@@ -17726,46 +17869,6 @@
17726
17869
  "theAble",
17727
17870
  false
17728
17871
  ],
17729
- [
17730
- "mar_dates",
17731
- "hierarchyAble",
17732
- false
17733
- ],
17734
- [
17735
- "mar_dates",
17736
- "isEdee",
17737
- false
17738
- ],
17739
- [
17740
- "mar_dates",
17741
- "isEder",
17742
- false
17743
- ],
17744
- [
17745
- "mar_dates",
17746
- "march_dates",
17747
- false
17748
- ],
17749
- [
17750
- "mar_dates",
17751
- "object",
17752
- false
17753
- ],
17754
- [
17755
- "mar_dates",
17756
- "property",
17757
- false
17758
- ],
17759
- [
17760
- "mar_dates",
17761
- "queryable",
17762
- false
17763
- ],
17764
- [
17765
- "mar_dates",
17766
- "theAble",
17767
- false
17768
- ],
17769
17872
  [
17770
17873
  "march_dates",
17771
17874
  "hierarchyAble",
@@ -17861,6 +17964,11 @@
17861
17964
  "day_dates",
17862
17965
  false
17863
17966
  ],
17967
+ [
17968
+ "monday_dates",
17969
+ "distributable",
17970
+ false
17971
+ ],
17864
17972
  [
17865
17973
  "monday_dates",
17866
17974
  "hierarchyAble",
@@ -17906,11 +18014,26 @@
17906
18014
  "date_dates",
17907
18015
  false
17908
18016
  ],
18017
+ [
18018
+ "monthDay_dates",
18019
+ "date_dates",
18020
+ false
18021
+ ],
17909
18022
  [
17910
18023
  "monthNumber_dates",
17911
18024
  "integer",
17912
18025
  false
17913
18026
  ],
18027
+ [
18028
+ "monthYear_dates",
18029
+ "date_dates",
18030
+ false
18031
+ ],
18032
+ [
18033
+ "month_dates",
18034
+ "afterDateValue_dates",
18035
+ false
18036
+ ],
17914
18037
  [
17915
18038
  "month_dates",
17916
18039
  "hierarchyAble",
@@ -17933,66 +18056,31 @@
17933
18056
  ],
17934
18057
  [
17935
18058
  "month_dates",
17936
- "property",
18059
+ "onDateValue_dates",
17937
18060
  false
17938
18061
  ],
17939
18062
  [
17940
18063
  "month_dates",
17941
- "queryable",
18064
+ "property",
17942
18065
  false
17943
18066
  ],
17944
18067
  [
17945
18068
  "month_dates",
17946
- "theAble",
17947
- false
17948
- ],
17949
- [
17950
- "negatable",
17951
18069
  "queryable",
17952
18070
  false
17953
18071
  ],
17954
18072
  [
17955
- "noun",
18073
+ "month_dates",
17956
18074
  "theAble",
17957
18075
  false
17958
18076
  ],
17959
18077
  [
17960
- "nov_dates",
17961
- "hierarchyAble",
17962
- false
17963
- ],
17964
- [
17965
- "nov_dates",
17966
- "isEdee",
17967
- false
17968
- ],
17969
- [
17970
- "nov_dates",
17971
- "isEder",
17972
- false
17973
- ],
17974
- [
17975
- "nov_dates",
17976
- "november_dates",
17977
- false
17978
- ],
17979
- [
17980
- "nov_dates",
17981
- "object",
17982
- false
17983
- ],
17984
- [
17985
- "nov_dates",
17986
- "property",
17987
- false
17988
- ],
17989
- [
17990
- "nov_dates",
18078
+ "negatable",
17991
18079
  "queryable",
17992
18080
  false
17993
18081
  ],
17994
18082
  [
17995
- "nov_dates",
18083
+ "noun",
17996
18084
  "theAble",
17997
18085
  false
17998
18086
  ],
@@ -18056,46 +18144,6 @@
18056
18144
  "theAble",
18057
18145
  false
18058
18146
  ],
18059
- [
18060
- "oct_dates",
18061
- "hierarchyAble",
18062
- false
18063
- ],
18064
- [
18065
- "oct_dates",
18066
- "isEdee",
18067
- false
18068
- ],
18069
- [
18070
- "oct_dates",
18071
- "isEder",
18072
- false
18073
- ],
18074
- [
18075
- "oct_dates",
18076
- "object",
18077
- false
18078
- ],
18079
- [
18080
- "oct_dates",
18081
- "october_dates",
18082
- false
18083
- ],
18084
- [
18085
- "oct_dates",
18086
- "property",
18087
- false
18088
- ],
18089
- [
18090
- "oct_dates",
18091
- "queryable",
18092
- false
18093
- ],
18094
- [
18095
- "oct_dates",
18096
- "theAble",
18097
- false
18098
- ],
18099
18147
  [
18100
18148
  "october_dates",
18101
18149
  "hierarchyAble",
@@ -18136,6 +18184,16 @@
18136
18184
  "theAble",
18137
18185
  false
18138
18186
  ],
18187
+ [
18188
+ "onDateValue_dates",
18189
+ "onDateValue_dates",
18190
+ false
18191
+ ],
18192
+ [
18193
+ "onDate_dates",
18194
+ "preposition",
18195
+ false
18196
+ ],
18139
18197
  [
18140
18198
  "orAble",
18141
18199
  "ifAble",
@@ -18261,46 +18319,6 @@
18261
18319
  "theAble",
18262
18320
  false
18263
18321
  ],
18264
- [
18265
- "sept_dates",
18266
- "hierarchyAble",
18267
- false
18268
- ],
18269
- [
18270
- "sept_dates",
18271
- "isEdee",
18272
- false
18273
- ],
18274
- [
18275
- "sept_dates",
18276
- "isEder",
18277
- false
18278
- ],
18279
- [
18280
- "sept_dates",
18281
- "object",
18282
- false
18283
- ],
18284
- [
18285
- "sept_dates",
18286
- "property",
18287
- false
18288
- ],
18289
- [
18290
- "sept_dates",
18291
- "queryable",
18292
- false
18293
- ],
18294
- [
18295
- "sept_dates",
18296
- "september_dates",
18297
- false
18298
- ],
18299
- [
18300
- "sept_dates",
18301
- "theAble",
18302
- false
18303
- ],
18304
18322
  [
18305
18323
  "september_dates",
18306
18324
  "hierarchyAble",