ekms 9.5.1-beta.5 → 9.5.1-beta.7

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 (70) hide show
  1. package/common/animals.instance.json +21 -61
  2. package/common/asking.js +102 -100
  3. package/common/can.instance.json +17 -0
  4. package/common/can.js +188 -0
  5. package/common/characters.js +3 -3
  6. package/common/colors.instance.json +38 -10
  7. package/common/comparable.instance.json +2 -2
  8. package/common/concept.test.json +54 -40
  9. package/common/conjunction.js +13 -5
  10. package/common/crew.instance.json +26 -26
  11. package/common/crew.js +1 -1
  12. package/common/currency.js +1 -1
  13. package/common/dates.instance.json +87 -3
  14. package/common/dialogues.js +11 -8
  15. package/common/dimension.instance.json +1 -1
  16. package/common/edible.instance.json +79 -95
  17. package/common/emotions.instance.json +6 -10
  18. package/common/emotions.js +1 -1
  19. package/common/english_helpers.js +277 -67
  20. package/common/fastfood.instance.json +235 -807
  21. package/common/fastfood.js +4 -4
  22. package/common/formulas.instance.json +1 -1
  23. package/common/gdefaults.js +41 -9
  24. package/common/help.js +2 -2
  25. package/common/helpers/concept.js +1 -1
  26. package/common/helpers/conjunction.js +54 -44
  27. package/common/helpers/dateTimeSelectors.js +2 -2
  28. package/common/helpers/dialogues.js +1 -1
  29. package/common/helpers/formulas.js +13 -11
  30. package/common/helpers/menus.js +12 -12
  31. package/common/helpers/meta.js +8 -8
  32. package/common/helpers/properties.js +76 -15
  33. package/common/helpers.js +82 -46
  34. package/common/hierarchy.js +3 -3
  35. package/common/kirk.instance.json +1 -1
  36. package/common/length.instance.json +2 -2
  37. package/common/math.instance.json +20 -20
  38. package/common/math.js +45 -44
  39. package/common/menus.instance.json +3 -3
  40. package/common/menus.js +1 -1
  41. package/common/meta.js +49 -33
  42. package/common/ordering.instance.json +16 -28
  43. package/common/ordering.js +1 -1
  44. package/common/ordering.test.json +354 -296
  45. package/common/people.instance.json +36 -47
  46. package/common/people.js +1 -1
  47. package/common/people.test.json +952 -681
  48. package/common/pipboy.instance.json +72 -16
  49. package/common/pokemon.instance.json +8 -8
  50. package/common/pokemon.js +1 -1
  51. package/common/pressure.instance.json +2 -2
  52. package/common/properties.instance.json +1 -1
  53. package/common/properties.js +16 -3
  54. package/common/reminders.js +1 -1
  55. package/common/reports.instance.json +3 -3
  56. package/common/reports.js +18 -16
  57. package/common/scorekeeper.js +4 -4
  58. package/common/sdefaults.js +22 -2
  59. package/common/spock.instance.json +1 -1
  60. package/common/stgame.js +1 -1
  61. package/common/stm.js +2 -2
  62. package/common/tell.js +1 -1
  63. package/common/temperature.instance.json +2 -2
  64. package/common/tester.js +3 -3
  65. package/common/time.js +3 -3
  66. package/common/tokenize.js +1 -1
  67. package/common/weight.instance.json +2 -2
  68. package/common/wp.instance.json +62 -6
  69. package/common/wp.js +4 -4
  70. package/package.json +4 -2
package/common/can.js ADDED
@@ -0,0 +1,188 @@
1
+ const { knowledgeModule, where } = require('./runtime').theprogrammablemind
2
+ const { defaultContextCheck } = require('./helpers')
3
+ const hierarchy = require("./hierarchy")
4
+ const can_tests = require('./can.test.json')
5
+ const can_instance = require('./can.instance.json')
6
+
7
+ /*
8
+ you can make these coffees -> list of coffees
9
+ the coffees you can make are list of coffees
10
+ fred can fly these planes.
11
+ what can you make?
12
+ what can fred fly?
13
+ you can order a product
14
+ you can modify a document
15
+ what can you do
16
+ what can you do with a document
17
+ i order a product
18
+
19
+ fred bob and stan can make coffee
20
+ fred can make capucino bob americano and stan lattes
21
+ ask someone to make me an americano
22
+ who do I ask to make an american
23
+
24
+ have a way to convert from active to passive
25
+
26
+ DONE what can fred make
27
+ DONE can bob make coffee
28
+
29
+ DONE coffee can be made by joe
30
+ DONE who can coffee be made by
31
+ DONE who can make coffee and tea
32
+
33
+ DONE can bob make coffee
34
+ DONE what can bob make
35
+ */
36
+
37
+ const config = {
38
+ name: 'can',
39
+ operators: [
40
+ // "([can] (canableAction && context.infinitive))",
41
+ "((*) [canableAction] (*))",
42
+ "(<canStatement|can> (canableAction/0))",
43
+ "(<canQuestion|can> (canableAction/1))",
44
+ // what can joe make
45
+ "((*) [whatCanQuestion|can] (*) (canableAction))",
46
+ // who can coffee be made by
47
+ "((*) [whatCanQuestionPassive|can] (*) ([beCanPassive|be]) (canableAction) ([byCanPassive|by]))",
48
+ "((*) [canPassive|can] ([beCanPassive|be]) (canableAction) ([byCanPassive|by]) (*))",
49
+ /*
50
+ bridge: [
51
+ // b=[do] o=c a=[s, ca]
52
+ apply operator { ...after[1], can } to operator
53
+ // b=[do] o=[ca+c] a=[s, ca]
54
+ rewire before[0] -> after[0] + after[0] -> before[0]
55
+ // b=[s] o=[ca+c] a=[do, ca]
56
+ apply operator
57
+ ]
58
+ */
59
+ // Bridge('{ ...before }'-(Rewire before[0] to after[0] Set after to [ListableType(Listable(Type('likee')))]), '{ ...next(operator), likee*: after[0], liker: before[0] }')
60
+ ],
61
+ /*
62
+ associations: {
63
+ positive: [
64
+ { context: [['what', 0], ['whatCanQuestionPassive', 0], ['unknown', 0], ['beCanPassive', 0], ['make', 0], ['byCanPassive', 0]], choose: 1 },
65
+ { context: [['what', 1], ['whatCanQuestionPassive', 0], ['unknown', 0], ['beCanPassive', 0], ['make', 0], ['byCanPassive', 0]], choose: 1 },
66
+ { context: [['unknown', 0], ['canPassive', 0], ['beCanPassive', 0], ['make', 0], ['byCanPassive', 0], ['unknown', 0]], choose: 1 },
67
+ { context: [['unknown', 1], ['canPassive', 0], ['beCanPassive', 0], ['make', 0], ['byCanPassive', 0], ['unknown', 0]], choose: 1 },
68
+ ],
69
+ },
70
+ */
71
+ bridges: [
72
+ { id: 'beCanPassive' },
73
+ { id: 'byCanPassive' },
74
+ {
75
+ id: "canableAction",
76
+ isA: ['verb'],
77
+ },
78
+ {
79
+ id: "canStatement",
80
+ before: ['verb'],
81
+ bridge: "{ ...after[0], can: operator, verb: after[0], interpolate: [{ property: 'can' }, { property: 'verb', context: { number: 'one' } }]}",
82
+ },
83
+ {
84
+ id: "canQuestion",
85
+ before: ['verb'],
86
+ // bridge: "{ ...after[0], operator.number: 'infinitive', truthValueOnly: true, query: true, can: operator, arg1: [{ property: 'can' }], interpolate: append([{ property: 'can'}], after[0].interpolate)}",
87
+ bridge: "{ ...after[0], operator.number: 'infinitive', truthValueOnly: true, query: true, can: operator, interpolate: append([{ property: 'can'}], after[0].interpolate)}",
88
+ },
89
+ {
90
+ // "((*) [canPassive|can] ([beCanPassive|be]) (canableAction) ([byCanPassive|by]) (*))",
91
+ id: "canPassive",
92
+ before: ['verb'],
93
+ bridge: [
94
+ // { "apply": true, "bridge": "{ ...after[1], can: operator, operator: after[1], interpolate: [{ property: 'can' }, { property: 'operator' }] }", "set": "operator" },
95
+ { "apply": true, "bridge": "{ ...after[1], can: operator, be: after[0], operator: after[1], by: after[2] }", "set": "operator" },
96
+ {
97
+ "rewire": [
98
+ { "from": 'before[0]', "to": 'after[0]' },
99
+ { "from": 'after[3]', "to": 'before[0]' },
100
+ ]
101
+ },
102
+ { "apply": true, "operator": "operator", "set": "context" },
103
+ { "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[2], { property: 'can' }, { property: 'be' }, context.interpolate[1], { property: 'by' }, context.interpolate[0]] }", "set": "context" },
104
+ // { "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[2], context.interpolate[0], context.interpolate[1]] }", set: "context" },
105
+ ],
106
+ },
107
+ {
108
+ // "((*) [whatCanQuestionPassive|can] (*) ([beCanPassive|be]) (canableAction) ([byCanPassive|by]))",
109
+ id: "whatCanQuestionPassive",
110
+ before: ['verb'],
111
+ bridge: [
112
+ // { "apply": true, "bridge": "{ ...after[1], can: operator, operator: after[1], interpolate: [{ property: 'can' }, { property: 'operator' }] }", "set": "operator" },
113
+ { "apply": true, "bridge": "{ ...after[2], can: operator, be: after[1], operator: after[2], by: after[3] }", "set": "operator" },
114
+ { "apply": true, "operator": "operator", "set": "context" },
115
+ { "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[0], { property: 'can' }, context.interpolate[2], { property: 'be' }, context.interpolate[1], { property: 'by' }] }", "set": "context" },
116
+ // { "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[2], context.interpolate[0], context.interpolate[1]] }", set: "context" },
117
+ ],
118
+ },
119
+ {
120
+ id: "whatCanQuestion",
121
+ before: ['verb'],
122
+ bridge: [
123
+ // { "apply": true, "bridge": "{ ...after[1], can: operator, operator: after[1], interpolate: [{ property: 'can' }, { property: 'operator' }] }", "set": "operator" },
124
+ { "apply": true, "bridge": "{ ...after[1], can: operator, operator: after[1] }", "set": "operator" },
125
+ {
126
+ "rewire": [
127
+ { "from": 'before[0]', "to": 'after[0]' },
128
+ { "from": 'after[0]', "to": 'before[0]' },
129
+ ]
130
+ },
131
+ { "apply": true, "operator": "operator", "set": "context" },
132
+ { "apply": true, "bridge": "{ ...context, operator.number: 'infinitive', interpolate: [context.interpolate[2], { property: 'can' }, context.interpolate[0], context.interpolate[1]] }", "set": "context" },
133
+ // { "apply": true, "bridge": "{ ...context, interpolate: [context.interpolate[2], context.interpolate[0], context.interpolate[1]] }", set: "context" },
134
+ ],
135
+ },
136
+ ],
137
+ };
138
+
139
+ const template = {
140
+ configs: [
141
+ ({isProcess, isTesting, testModuleName, apis, config, addHierarchy}) => {
142
+ if (isProcess || isTesting) {
143
+ const api = apis('properties')
144
+ api.createActionPrefix({
145
+ before: [{tag: 'maker', id: 'maker'}],
146
+ operator: 'make',
147
+ after: [{tag: 'makeable', id: 'makeable'}],
148
+ relation: true,
149
+ flatten: true,
150
+ can: true,
151
+ create: [
152
+ {
153
+ id: 'make',
154
+ infinitive: 'make',
155
+ },
156
+ 'makeable',
157
+ 'maker'
158
+ ],
159
+ localHierarchy: [
160
+ ['unknown', 'maker'],
161
+ ['unknown', 'makeable'],
162
+ ],
163
+ config,
164
+ })
165
+ }
166
+ }
167
+ ]
168
+ }
169
+
170
+ knowledgeModule( {
171
+ config,
172
+ includes: [hierarchy],
173
+
174
+ module,
175
+ description: 'talk about what can be done',
176
+ test: {
177
+ name: './can.test.json',
178
+ contents: can_tests,
179
+ checks: {
180
+ context: [defaultContextCheck()],
181
+ },
182
+ },
183
+ template: {
184
+ template,
185
+ instance: can_instance,
186
+ },
187
+
188
+ })
@@ -7,7 +7,7 @@ const { table } = require('table')
7
7
  const _ = require('lodash')
8
8
  const characters_tests = require('./characters.test.json')
9
9
 
10
- const getHelp = (config, indent=2) => {
10
+ function getHelp(config, indent=2) {
11
11
  indent = ' '.repeat(indent)
12
12
  let help = ''
13
13
  help += `${indent}NAME: ${config.name}\n`
@@ -167,13 +167,13 @@ class Bob {
167
167
  }
168
168
  }
169
169
 
170
- const initializeApi = (config, api) => {
170
+ function initializeApi(config, api) {
171
171
  const name = api.getName();
172
172
  config.addWord(name, {"id": "character", "initial": "{ value: '" + name + `', api: '${name}'}` })
173
173
  }
174
174
 
175
175
 
176
- const initializer = async ({isModule, km}) => {
176
+ async function initializer({isModule, km}) {
177
177
  if (!isModule) {
178
178
  const timeKM = await createTimeKM()
179
179
  const currencyKM = await createCurrencyKM()
@@ -1080,7 +1080,7 @@
1080
1080
  "text": "dark and light",
1081
1081
  "range": {
1082
1082
  "start": 0,
1083
- "end": 28
1083
+ "end": 13
1084
1084
  },
1085
1085
  "types": [
1086
1086
  "list",
@@ -3219,7 +3219,7 @@
3219
3219
  "text": "red, pink, orange, yellow, purple, green, blue, brown, white and gray",
3220
3220
  "range": {
3221
3221
  "start": 0,
3222
- "end": 79
3222
+ "end": 68
3223
3223
  },
3224
3224
  "types": [
3225
3225
  "list",
@@ -3586,6 +3586,20 @@
3586
3586
  0
3587
3587
  ]
3588
3588
  ],
3589
+ [
3590
+ [
3591
+ "is",
3592
+ 0
3593
+ ],
3594
+ [
3595
+ "list",
3596
+ 1
3597
+ ],
3598
+ [
3599
+ "unknown",
3600
+ 0
3601
+ ]
3602
+ ],
3589
3603
  [
3590
3604
  [
3591
3605
  "is",
@@ -9171,7 +9185,7 @@
9171
9185
  "word": "crimson",
9172
9186
  "range": {
9173
9187
  "start": 0,
9174
- "end": 15
9188
+ "end": 6
9175
9189
  },
9176
9190
  "dead": true,
9177
9191
  "types": [
@@ -10574,7 +10588,7 @@
10574
10588
  "text": "gold and khaki",
10575
10589
  "range": {
10576
10590
  "start": 0,
10577
- "end": 25
10591
+ "end": 13
10578
10592
  },
10579
10593
  "types": [
10580
10594
  "list",
@@ -12487,7 +12501,7 @@
12487
12501
  "text": "lavender, violet, magenta and indigo",
12488
12502
  "range": {
12489
12503
  "start": 0,
12490
- "end": 47
12504
+ "end": 35
12491
12505
  },
12492
12506
  "types": [
12493
12507
  "list",
@@ -15284,7 +15298,7 @@
15284
15298
  "text": "lime, chartruese, olive and teal",
15285
15299
  "range": {
15286
15300
  "start": 0,
15287
- "end": 43
15301
+ "end": 31
15288
15302
  },
15289
15303
  "types": [
15290
15304
  "list",
@@ -18376,7 +18390,7 @@
18376
18390
  "text": "aqua, cyan, aquamarine, turquoise and navy",
18377
18391
  "range": {
18378
18392
  "start": 0,
18379
- "end": 52
18393
+ "end": 41
18380
18394
  },
18381
18395
  "types": [
18382
18396
  "list",
@@ -21870,7 +21884,7 @@
21870
21884
  "text": "tan, sienna and maroon",
21871
21885
  "range": {
21872
21886
  "start": 0,
21873
- "end": 33
21887
+ "end": 21
21874
21888
  },
21875
21889
  "types": [
21876
21890
  "list",
@@ -24771,7 +24785,7 @@
24771
24785
  "text": "snow, azure, beige and ivory",
24772
24786
  "range": {
24773
24787
  "start": 0,
24774
- "end": 39
24788
+ "end": 27
24775
24789
  },
24776
24790
  "types": [
24777
24791
  "list",
@@ -27986,7 +28000,7 @@
27986
28000
  "text": "silver and black",
27987
28001
  "range": {
27988
28002
  "start": 0,
27989
- "end": 26
28003
+ "end": 15
27990
28004
  },
27991
28005
  "types": [
27992
28006
  "list",
@@ -35813,6 +35827,20 @@
35813
35827
  0
35814
35828
  ]
35815
35829
  ],
35830
+ [
35831
+ [
35832
+ "is",
35833
+ 0
35834
+ ],
35835
+ [
35836
+ "list",
35837
+ 1
35838
+ ],
35839
+ [
35840
+ "unknown",
35841
+ 0
35842
+ ]
35843
+ ],
35816
35844
  [
35817
35845
  [
35818
35846
  "is",
@@ -963,7 +963,7 @@
963
963
  "word": "ascending",
964
964
  "range": {
965
965
  "start": 0,
966
- "end": 27
966
+ "end": 8
967
967
  },
968
968
  "dead": true,
969
969
  "types": [
@@ -1792,7 +1792,7 @@
1792
1792
  "word": "descending",
1793
1793
  "range": {
1794
1794
  "start": 0,
1795
- "end": 28
1795
+ "end": 9
1796
1796
  },
1797
1797
  "dead": true,
1798
1798
  "types": [
@@ -489,10 +489,10 @@
489
489
  },
490
490
  {
491
491
  "atomic": true,
492
- "context_id": 2,
492
+ "context_id": 5,
493
493
  "context_index": 1,
494
494
  "dead": true,
495
- "level": 1,
495
+ "level": 0,
496
496
  "marker": "ice_cream",
497
497
  "modifier_ice": {
498
498
  "level": 0,
@@ -528,10 +528,10 @@
528
528
  },
529
529
  {
530
530
  "atomic": true,
531
- "context_id": 4,
531
+ "context_id": 7,
532
532
  "context_index": 3,
533
533
  "dead": true,
534
- "level": 1,
534
+ "level": 0,
535
535
  "marker": "hand_cream",
536
536
  "modifier_hand": {
537
537
  "level": 0,
@@ -810,10 +810,10 @@
810
810
  {
811
811
  "context": {
812
812
  "atomic": true,
813
- "context_id": 4,
813
+ "context_id": 7,
814
814
  "context_index": 3,
815
815
  "dead": true,
816
- "level": 1,
816
+ "level": 0,
817
817
  "marker": "hand_cream",
818
818
  "modifier_hand": {
819
819
  "level": 0,
@@ -861,10 +861,10 @@
861
861
  {
862
862
  "context": {
863
863
  "atomic": true,
864
- "context_id": 2,
864
+ "context_id": 5,
865
865
  "context_index": 1,
866
866
  "dead": true,
867
- "level": 1,
867
+ "level": 0,
868
868
  "marker": "ice_cream",
869
869
  "modifier_ice": {
870
870
  "level": 0,
@@ -1008,12 +1008,12 @@
1008
1008
  ]
1009
1009
  },
1010
1010
  "paraphrases": [
1011
- "ice and hand modifies cream",
1011
+ "ice and hand modify cream",
1012
1012
  "ice cream",
1013
1013
  "hand cream"
1014
1014
  ],
1015
1015
  "paraphrasesParenthesized": [
1016
- "(((ice) and (hand)) (modifies) (cream))",
1016
+ "(((ice) and (hand)) (modify) (cream))",
1017
1017
  "((ice) (cream))",
1018
1018
  "((hand) (cream))"
1019
1019
  ],
@@ -1353,7 +1353,7 @@
1353
1353
  {
1354
1354
  "marker": [
1355
1355
  "ice_cream",
1356
- 1
1356
+ 0
1357
1357
  ],
1358
1358
  "range": {
1359
1359
  "end": 9,
@@ -1388,7 +1388,7 @@
1388
1388
  {
1389
1389
  "marker": [
1390
1390
  "ice_cream",
1391
- 1
1391
+ 0
1392
1392
  ],
1393
1393
  "range": {
1394
1394
  "end": 9,
@@ -1398,7 +1398,7 @@
1398
1398
  {
1399
1399
  "marker": [
1400
1400
  "hand_cream",
1401
- 1
1401
+ 0
1402
1402
  ],
1403
1403
  "range": {
1404
1404
  "end": 20,
@@ -1479,10 +1479,10 @@
1479
1479
  },
1480
1480
  {
1481
1481
  "atomic": true,
1482
- "context_id": 2,
1482
+ "context_id": 5,
1483
1483
  "context_index": 1,
1484
1484
  "dead": true,
1485
- "level": 1,
1485
+ "level": 0,
1486
1486
  "marker": "raw_chicken_strip",
1487
1487
  "modifier_chicken": {
1488
1488
  "level": 0,
@@ -1722,10 +1722,10 @@
1722
1722
  {
1723
1723
  "context": {
1724
1724
  "atomic": true,
1725
- "context_id": 2,
1725
+ "context_id": 5,
1726
1726
  "context_index": 1,
1727
1727
  "dead": true,
1728
- "level": 1,
1728
+ "level": 0,
1729
1729
  "marker": "raw_chicken_strip",
1730
1730
  "modifier_chicken": {
1731
1731
  "level": 0,
@@ -2116,7 +2116,7 @@
2116
2116
  {
2117
2117
  "marker": [
2118
2118
  "raw_chicken_strip",
2119
- 1
2119
+ 0
2120
2120
  ],
2121
2121
  "range": {
2122
2122
  "end": 18,
@@ -2196,7 +2196,7 @@
2196
2196
  "value": "smoothie",
2197
2197
  "word": "smoothie"
2198
2198
  },
2199
- "context_id": 2,
2199
+ "context_id": 5,
2200
2200
  "context_index": 1,
2201
2201
  "dead": true,
2202
2202
  "flatten": false,
@@ -2206,7 +2206,7 @@
2206
2206
  {
2207
2207
  "atomic": true,
2208
2208
  "dead": true,
2209
- "level": 1,
2209
+ "level": 0,
2210
2210
  "marker": "mango_passion",
2211
2211
  "modifier_mango": {
2212
2212
  "level": 0,
@@ -2254,15 +2254,15 @@
2254
2254
  },
2255
2255
  {
2256
2256
  "atomic": true,
2257
- "context_id": 2,
2257
+ "context_id": 8,
2258
2258
  "context_index": 1,
2259
2259
  "dead": true,
2260
- "level": 1,
2260
+ "level": 0,
2261
2261
  "marker": "mango_passion_smoothie",
2262
2262
  "modifier_mango_passion": {
2263
2263
  "atomic": true,
2264
2264
  "dead": true,
2265
- "level": 1,
2265
+ "level": 0,
2266
2266
  "marker": "mango_passion",
2267
2267
  "modifier_mango": {
2268
2268
  "level": 0,
@@ -2562,15 +2562,15 @@
2562
2562
  {
2563
2563
  "context": {
2564
2564
  "atomic": true,
2565
- "context_id": 2,
2565
+ "context_id": 8,
2566
2566
  "context_index": 1,
2567
2567
  "dead": true,
2568
- "level": 1,
2568
+ "level": 0,
2569
2569
  "marker": "mango_passion_smoothie",
2570
2570
  "modifier_mango_passion": {
2571
2571
  "atomic": true,
2572
2572
  "dead": true,
2573
- "level": 1,
2573
+ "level": 0,
2574
2574
  "marker": "mango_passion",
2575
2575
  "modifier_mango": {
2576
2576
  "level": 0,
@@ -2645,7 +2645,7 @@
2645
2645
  "value": "smoothie",
2646
2646
  "word": "smoothie"
2647
2647
  },
2648
- "context_id": 2,
2648
+ "context_id": 5,
2649
2649
  "context_index": 1,
2650
2650
  "dead": true,
2651
2651
  "flatten": false,
@@ -2655,7 +2655,7 @@
2655
2655
  {
2656
2656
  "atomic": true,
2657
2657
  "dead": true,
2658
- "level": 1,
2658
+ "level": 0,
2659
2659
  "marker": "mango_passion",
2660
2660
  "modifier_mango": {
2661
2661
  "level": 0,
@@ -3012,7 +3012,7 @@
3012
3012
  {
3013
3013
  "marker": [
3014
3014
  "mango_passion",
3015
- 1
3015
+ 0
3016
3016
  ],
3017
3017
  "range": {
3018
3018
  "end": 12,
@@ -3102,7 +3102,7 @@
3102
3102
  {
3103
3103
  "marker": [
3104
3104
  "mango_passion",
3105
- 1
3105
+ 0
3106
3106
  ],
3107
3107
  "range": {
3108
3108
  "end": 12,
@@ -3127,7 +3127,7 @@
3127
3127
  {
3128
3128
  "marker": [
3129
3129
  "mango_passion_smoothie",
3130
- 1
3130
+ 0
3131
3131
  ],
3132
3132
  "range": {
3133
3133
  "end": 21,
@@ -3237,10 +3237,10 @@
3237
3237
  },
3238
3238
  {
3239
3239
  "atomic": true,
3240
- "context_id": 2,
3240
+ "context_id": 5,
3241
3241
  "context_index": 1,
3242
3242
  "dead": true,
3243
- "level": 1,
3243
+ "level": 0,
3244
3244
  "marker": "apple_list_cheddar_pie",
3245
3245
  "modifier_apple": {
3246
3246
  "level": 0,
@@ -3561,10 +3561,10 @@
3561
3561
  {
3562
3562
  "context": {
3563
3563
  "atomic": true,
3564
- "context_id": 2,
3564
+ "context_id": 5,
3565
3565
  "context_index": 1,
3566
3566
  "dead": true,
3567
- "level": 1,
3567
+ "level": 0,
3568
3568
  "marker": "apple_list_cheddar_pie",
3569
3569
  "modifier_apple": {
3570
3570
  "level": 0,
@@ -3742,11 +3742,11 @@
3742
3742
  ]
3743
3743
  },
3744
3744
  "paraphrases": [
3745
- "apple and cheddar literally modifies pie",
3745
+ "apple and cheddar literally modify pie",
3746
3746
  "apple and cheddar pie"
3747
3747
  ],
3748
3748
  "paraphrasesParenthesized": [
3749
- "(((apple) and (cheddar)) literally (modifies) (pie))",
3749
+ "(((apple) and (cheddar)) literally (modify) (pie))",
3750
3750
  "((apple) (and) (cheddar) (pie))"
3751
3751
  ],
3752
3752
  "query": "apple and cheddar literally modifies pie\\napple and cheddar pie",
@@ -4169,7 +4169,7 @@
4169
4169
  {
4170
4170
  "marker": [
4171
4171
  "apple_list_cheddar_pie",
4172
- 1
4172
+ 0
4173
4173
  ],
4174
4174
  "range": {
4175
4175
  "end": 20,
@@ -4220,6 +4220,20 @@
4220
4220
  0
4221
4221
  ]
4222
4222
  ],
4223
+ [
4224
+ [
4225
+ "list",
4226
+ 1
4227
+ ],
4228
+ [
4229
+ "modifies",
4230
+ 0
4231
+ ],
4232
+ [
4233
+ "unknown",
4234
+ 0
4235
+ ]
4236
+ ],
4223
4237
  [
4224
4238
  [
4225
4239
  "list",
@@ -4761,10 +4775,10 @@
4761
4775
  ]
4762
4776
  },
4763
4777
  "paraphrases": [
4764
- "aa, bb and cc modifies dude"
4778
+ "aa, bb and cc modify dude"
4765
4779
  ],
4766
4780
  "paraphrasesParenthesized": [
4767
- "(((aa), (bb) and (cc)) (modifies) (dude))"
4781
+ "(((aa), (bb) and (cc)) (modify) (dude))"
4768
4782
  ],
4769
4783
  "query": "aa, bb and cc modify dude",
4770
4784
  "responses": [