ekms 9.0.3-beta.4 → 9.0.3-beta.5

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.
@@ -27,27 +27,6 @@
27
27
  ],
28
28
  "associations": {
29
29
  "positive": [
30
- {
31
- "context": [
32
- [
33
- "word_wp",
34
- 0
35
- ],
36
- [
37
- "thatVerb",
38
- 0
39
- ],
40
- [
41
- "wordComparison_wp",
42
- 0
43
- ],
44
- [
45
- "unknown",
46
- 0
47
- ]
48
- ],
49
- "choose": 0
50
- },
51
30
  {
52
31
  "context": [
53
32
  [
@@ -68,881 +47,230 @@
68
47
  ]
69
48
  ],
70
49
  "choose": 0
50
+ }
51
+ ]
52
+ },
53
+ "bridges": [
54
+ {
55
+ "id": "change_wp",
56
+ "bridge": "{ ...next(operator), from: after[0][0], generate: [operator, 'from', after[1]] }"
57
+ },
58
+ {
59
+ "id": "paragraphComparisonVerb_wp",
60
+ "parents": [
61
+ "verb"
62
+ ],
63
+ "words": [
64
+ {
65
+ "word": "contain",
66
+ "comparison": "include"
67
+ },
68
+ {
69
+ "word": "contains",
70
+ "comparison": "include"
71
+ },
72
+ {
73
+ "word": "include",
74
+ "comparison": "include"
75
+ },
76
+ {
77
+ "word": "includes",
78
+ "comparison": "include"
79
+ }
80
+ ],
81
+ "bridge": "{ ...next(operator), element: before[0], subject: before[0], words: after[0], verb: operator, generate: ['element', 'verb', 'words'] }"
82
+ },
83
+ {
84
+ "id": "statefulElementInContext_wp",
85
+ "parents": [
86
+ "preposition"
87
+ ],
88
+ "optional": {
89
+ "-1": "{ ...operator, invisible: true }"
71
90
  },
72
- {
73
- "context": [
74
- [
75
- "letter_wp",
76
- 1
77
- ],
78
- [
79
- "statefulElementInContext_wp",
80
- 0
81
- ],
82
- [
83
- "every",
84
- 0
85
- ],
86
- [
87
- "word_wp",
88
- 0
89
- ],
90
- [
91
- "thatVerb",
92
- 0
93
- ],
94
- [
95
- "wordComparisonWithVerb_wp",
96
- 0
97
- ],
98
- [
99
- "comparisonWith_wp",
100
- 0
101
- ],
102
- [
103
- "unknown",
104
- 0
105
- ]
91
+ "bridge": "{ ...next(before[0]), context: append(before[0].context, [after[0]]), generate: [before[0], operator, after[0]], modifiers: [] }",
92
+ "semantic": "(args) => {\n const { context, contexts } = args\n for (let i = context.context_index + 1; i < contexts.length; ++i) {\n if (contexts[i].marker == 'applyStyle_wp') {\n const element = contexts[i].element\n if (!element.context) {\n element.context = []\n }\n element.context = element.context.concat(context.context)\n }\n }\n console.log(JSON.stringify(Object.keys(args)))\n }"
93
+ },
94
+ {
95
+ "id": "applyStyle_wp",
96
+ "parents": [
97
+ "verb"
98
+ ],
99
+ "convolution": true,
100
+ "bridge": "{ ...next(operator), element: after[0], state: before[0], operator: operator, generate: ['state', 'element'] }",
101
+ "localHierarchy": [
102
+ [
103
+ "thisitthat",
104
+ "statefulElement_wp"
106
105
  ],
107
- "choose": 0
106
+ [
107
+ "everything",
108
+ "statefulElement_wp"
109
+ ]
110
+ ],
111
+ "semantic": "(args) => {\n changeState({...args, element: args.context.element, state: args.context.state})\n }"
112
+ },
113
+ {
114
+ "id": "modifiedByStyle_wp",
115
+ "parents": [
116
+ "adjective"
117
+ ],
118
+ "convolution": true,
119
+ "bridge": "{ ...after[0], style: before[0], target: after[0], generate: ['style', 'target'], conditions: append(after[0].conditions, [before[0]]) }"
120
+ },
121
+ {
122
+ "id": "wordComparisonWithVerb_wp",
123
+ "parents": [
124
+ "verb"
125
+ ],
126
+ "words": [
127
+ {
128
+ "word": "start",
129
+ "comparison": "prefix"
130
+ },
131
+ {
132
+ "word": "starts",
133
+ "comparison": "prefix"
134
+ },
135
+ {
136
+ "word": "end",
137
+ "comparison": "suffix"
138
+ },
139
+ {
140
+ "word": "ends",
141
+ "comparison": "suffix"
142
+ }
143
+ ],
144
+ "bridge": "{ ...next(operator), element: before[0], subject: before[0], letters: after[0], verb: operator, generate: ['element', 'verb', 'letters'] }"
145
+ },
146
+ {
147
+ "id": "wordComparison_wp",
148
+ "parents": [
149
+ "verb"
150
+ ],
151
+ "words": [
152
+ {
153
+ "word": "contain",
154
+ "comparison": "include"
155
+ },
156
+ {
157
+ "word": "contains",
158
+ "comparison": "include"
159
+ },
160
+ {
161
+ "word": "include",
162
+ "comparison": "include"
163
+ },
164
+ {
165
+ "word": "includes",
166
+ "comparison": "include"
167
+ }
168
+ ],
169
+ "optional": {
170
+ "1": "{ marker: 'a' }"
108
171
  },
109
- {
110
- "context": [
111
- [
112
- "letter_wp",
113
- 1
114
- ],
115
- [
116
- "statefulElementInContext_wp",
117
- 0
118
- ],
119
- [
120
- "every",
121
- 0
122
- ],
123
- [
124
- "word_wp",
125
- 1
126
- ],
127
- [
128
- "thatVerb",
129
- 0
130
- ],
131
- [
132
- "wordComparisonWithVerb_wp",
133
- 0
134
- ],
135
- [
136
- "comparisonWith_wp",
137
- 0
138
- ],
139
- [
140
- "unknown",
141
- 0
142
- ]
143
- ],
144
- "choose": 0
172
+ "bridge": "{ ...next(operator), element: before[0], subject: before[0], letters: after[1], verb: operator, generate: ['element', 'verb', 'letters'] }"
173
+ },
174
+ {
175
+ "id": "comparisonWith_wp",
176
+ "parents": [
177
+ "preposition"
178
+ ],
179
+ "optional": {
180
+ "1": "{ marker: 'a' }"
145
181
  },
146
- {
147
- "context": [
148
- [
149
- "word_wp",
150
- 0
151
- ],
152
- [
153
- "thatVerb",
154
- 0
155
- ],
156
- [
157
- "wordComparisonWithVerb_wp",
158
- 0
159
- ],
160
- [
161
- "comparisonWith_wp",
162
- 0
163
- ],
164
- [
165
- "unknown",
166
- 0
167
- ],
168
- [
169
- "statefulElementInContext_wp",
170
- 0
171
- ],
172
- [
173
- "article",
174
- 0
175
- ],
176
- [
177
- "ordinal",
178
- 0
179
- ],
180
- [
181
- "paragraph_wp",
182
- 0
183
- ]
182
+ "bridge": "{ ...next(operator), operator: operator, letters: after[1], generate: ['operator', 'letters'] }"
183
+ },
184
+ {
185
+ "id": "changeState_wp",
186
+ "parents": [
187
+ "verb"
188
+ ],
189
+ "bridge": "{ ...next(operator), element: after[0], state: after[1], operator: operator, generate: ['operator', 'element', 'state'] }",
190
+ "localHierarchy": [
191
+ [
192
+ "thisitthat",
193
+ "statefulElement_wp"
184
194
  ],
185
- "choose": 0
186
- },
187
- {
188
- "context": [
189
- [
190
- "word_wp",
191
- 1
192
- ],
193
- [
194
- "thatVerb",
195
- 0
196
- ],
197
- [
198
- "wordComparisonWithVerb_wp",
199
- 0
200
- ],
201
- [
202
- "comparisonWith_wp",
203
- 0
204
- ],
205
- [
206
- "unknown",
207
- 0
208
- ],
209
- [
210
- "statefulElementInContext_wp",
211
- 0
212
- ],
213
- [
214
- "article",
215
- 0
216
- ],
217
- [
218
- "ordinal",
219
- 0
220
- ],
221
- [
222
- "paragraph_wp",
223
- 0
224
- ]
195
+ [
196
+ "everything",
197
+ "statefulElement_wp"
198
+ ]
199
+ ],
200
+ "semantic": "(args) => {\n changeState({...args, element: args.context.element, state: args.context.state})\n }"
201
+ },
202
+ {
203
+ "id": "stateValue_wp",
204
+ "children": [
205
+ "color_colors",
206
+ "style_wp"
207
+ ]
208
+ }
209
+ ],
210
+ "semantics": [
211
+ {
212
+ "match": "({context, isA}) => isA(context, 'style_wp') && !context.same && !context.isResponse && !context.evaluate",
213
+ "apply": "({context, api, isA, toArray}) => {\n const update = { scope: 'selection' }\n setUpdate(isA, update, toArray(context))\n api.changeState(update)\n }"
214
+ },
215
+ {
216
+ "match": "({context, isA}) => isA(context, 'statefulElement_wp') && !context.same && !context.isResponse && !context.evaluate",
217
+ "apply": "({context, api, isA, toArray}) => {\n const unit = root(context.marker)\n let scope\n if (context.quantity) {\n scope = context.quantity.quantity\n }\n // TODO set default scope for \"every word bold underlined etc\"\n }"
218
+ }
219
+ ],
220
+ "priorities": [
221
+ {
222
+ "context": [
223
+ [
224
+ "ordinal",
225
+ 1
225
226
  ],
226
- "choose": 0
227
- },
228
- {
229
- "context": [
230
- [
231
- "word_wp",
232
- 0
233
- ],
234
- [
235
- "thatVerb",
236
- 0
237
- ],
238
- [
239
- "wordComparisonWithVerb_wp",
240
- 0
241
- ],
242
- [
243
- "comparisonWith_wp",
244
- 0
245
- ],
246
- [
247
- "unknown",
248
- 0
249
- ]
227
+ [
228
+ "list",
229
+ 0
250
230
  ],
251
- "choose": 0
252
- },
253
- {
254
- "context": [
255
- [
256
- "word_wp",
257
- 1
258
- ],
259
- [
260
- "thatVerb",
261
- 0
262
- ],
263
- [
264
- "wordComparisonWithVerb_wp",
265
- 0
266
- ],
267
- [
268
- "comparisonWith_wp",
269
- 0
270
- ],
271
- [
272
- "unknown",
273
- 0
274
- ]
231
+ [
232
+ "ordinal",
233
+ 1
275
234
  ],
276
- "choose": 0
277
- },
278
- {
279
- "context": [
280
- [
281
- "paragraph_wp",
282
- 0
283
- ],
284
- [
285
- "thatVerb",
286
- 0
287
- ],
288
- [
289
- "paragraphComparisonVerb_wp",
290
- 0
291
- ],
292
- [
293
- "word_wp",
294
- 0
295
- ],
296
- [
297
- "thatVerb",
298
- 0
299
- ],
300
- [
301
- "wordComparisonWithVerb_wp",
302
- 0
303
- ],
304
- [
305
- "comparisonWith_wp",
306
- 0
307
- ]
235
+ [
236
+ "statefulElement_wp",
237
+ 0
238
+ ]
239
+ ],
240
+ "ordered": true,
241
+ "choose": [
242
+ 1
243
+ ]
244
+ },
245
+ {
246
+ "context": [
247
+ [
248
+ "word_wp",
249
+ 1
308
250
  ],
309
- "choose": 0
310
- },
311
- {
312
- "context": [
313
- [
314
- "paragraph_wp",
315
- 1
316
- ],
317
- [
318
- "thatVerb",
319
- 0
320
- ],
321
- [
322
- "paragraphComparisonVerb_wp",
323
- 0
324
- ],
325
- [
326
- "word_wp",
327
- 0
328
- ],
329
- [
330
- "thatVerb",
331
- 0
332
- ],
333
- [
334
- "wordComparisonWithVerb_wp",
335
- 0
336
- ],
337
- [
338
- "comparisonWith_wp",
339
- 0
340
- ]
251
+ [
252
+ "wordComparisonWithVerb_wp",
253
+ 0
341
254
  ],
342
- "choose": 0
343
- },
344
- {
345
- "context": [
346
- [
347
- "paragraph_wp",
348
- 0
349
- ],
350
- [
351
- "thatVerb",
352
- 0
353
- ],
354
- [
355
- "paragraphComparisonVerb_wp",
356
- 0
357
- ],
358
- [
359
- "styleModifier_wp",
360
- 0
361
- ],
362
- [
363
- "word_wp",
364
- 0
365
- ]
255
+ [
256
+ "comparisonWith_wp",
257
+ 1
366
258
  ],
367
- "choose": 0
368
- },
369
- {
370
- "context": [
371
- [
372
- "paragraph_wp",
373
- 1
374
- ],
375
- [
376
- "thatVerb",
377
- 0
378
- ],
379
- [
380
- "paragraphComparisonVerb_wp",
381
- 0
382
- ],
383
- [
384
- "styleModifier_wp",
385
- 0
386
- ],
387
- [
388
- "word_wp",
389
- 0
390
- ]
391
- ],
392
- "choose": 0
393
- },
394
- {
395
- "context": [
396
- [
397
- "word_wp",
398
- 1
399
- ],
400
- [
401
- "statefulElementInContext_wp",
402
- 0
403
- ],
404
- [
405
- "every",
406
- 0
407
- ],
408
- [
409
- "paragraph_wp",
410
- 0
411
- ]
412
- ],
413
- "choose": 0
414
- },
415
- {
416
- "context": [
417
- [
418
- "word_wp",
419
- 1
420
- ],
421
- [
422
- "statefulElementInContext_wp",
423
- 0
424
- ],
425
- [
426
- "every",
427
- 0
428
- ],
429
- [
430
- "paragraph_wp",
431
- 1
432
- ]
433
- ],
434
- "choose": 0
435
- },
436
- {
437
- "context": [
438
- [
439
- "letter_wp",
440
- 1
441
- ],
442
- [
443
- "statefulElementInContext_wp",
444
- 0
445
- ],
446
- [
447
- "every",
448
- 0
449
- ],
450
- [
451
- "paragraph_wp",
452
- 0
453
- ]
454
- ],
455
- "choose": 0
456
- },
457
- {
458
- "context": [
459
- [
460
- "letter_wp",
461
- 1
462
- ],
463
- [
464
- "statefulElementInContext_wp",
465
- 0
466
- ],
467
- [
468
- "every",
469
- 0
470
- ],
471
- [
472
- "paragraph_wp",
473
- 1
474
- ]
475
- ],
476
- "choose": 0
477
- },
478
- {
479
- "context": [
480
- [
481
- "article",
482
- 0
483
- ],
484
- [
485
- "letter_wp",
486
- 1
487
- ],
488
- [
489
- "statefulElementInContext_wp",
490
- 0
491
- ],
492
- [
493
- "article",
494
- 0
495
- ],
496
- [
497
- "word_wp",
498
- 0
499
- ],
500
- [
501
- "thatVerb",
502
- 0
503
- ],
504
- [
505
- "wordComparisonWithVerb_wp",
506
- 0
507
- ],
508
- [
509
- "comparisonWith_wp",
510
- 0
511
- ]
512
- ],
513
- "choose": 1
514
- },
515
- {
516
- "context": [
517
- [
518
- "article",
519
- 0
520
- ],
521
- [
522
- "letter_wp",
523
- 1
524
- ],
525
- [
526
- "statefulElementInContext_wp",
527
- 0
528
- ],
529
- [
530
- "article",
531
- 0
532
- ],
533
- [
534
- "word_wp",
535
- 1
536
- ],
537
- [
538
- "thatVerb",
539
- 0
540
- ],
541
- [
542
- "wordComparisonWithVerb_wp",
543
- 0
544
- ],
545
- [
546
- "comparisonWith_wp",
547
- 0
548
- ]
549
- ],
550
- "choose": 1
551
- },
552
- {
553
- "context": [
554
- [
555
- "article",
556
- 0
557
- ],
558
- [
559
- "letter_wp",
560
- 1
561
- ],
562
- [
563
- "statefulElementInContext_wp",
564
- 0
565
- ],
566
- [
567
- "article",
568
- 0
569
- ],
570
- [
571
- "word_wp",
572
- 1
573
- ],
574
- [
575
- "wordComparisonWithVerb_wp",
576
- 0
577
- ],
578
- [
579
- "comparisonWith_wp",
580
- 0
581
- ]
582
- ],
583
- "choose": 1
584
- },
585
- {
586
- "context": [
587
- [
588
- "letter_wp",
589
- 1
590
- ],
591
- [
592
- "statefulElementInContext_wp",
593
- 0
594
- ],
595
- [
596
- "every",
597
- 0
598
- ],
599
- [
600
- "word_wp",
601
- 0
602
- ]
603
- ],
604
- "choose": 0
605
- },
606
- {
607
- "context": [
608
- [
609
- "letter_wp",
610
- 1
611
- ],
612
- [
613
- "statefulElementInContext_wp",
614
- 0
615
- ],
616
- [
617
- "every",
618
- 0
619
- ],
620
- [
621
- "word_wp",
622
- 1
623
- ]
624
- ],
625
- "choose": 0
626
- },
627
- {
628
- "context": [
629
- [
630
- "word_wp",
631
- 1
632
- ],
633
- [
634
- "statefulElementInContext_wp",
635
- 0
636
- ],
637
- [
638
- "article",
639
- 0
640
- ],
641
- [
642
- "ordinal",
643
- 0
644
- ],
645
- [
646
- "paragraph_wp",
647
- 0
648
- ]
649
- ],
650
- "choose": 0
651
- },
652
- {
653
- "context": [
654
- [
655
- "word_wp",
656
- 1
657
- ],
658
- [
659
- "statefulElementInContext_wp",
660
- 0
661
- ],
662
- [
663
- "article",
664
- 0
665
- ],
666
- [
667
- "ordinal",
668
- 1
669
- ],
670
- [
671
- "paragraph_wp",
672
- 0
673
- ]
674
- ],
675
- "choose": 0
676
- },
677
- {
678
- "context": [
679
- [
680
- "word_wp",
681
- 1
682
- ],
683
- [
684
- "statefulElementInContext_wp",
685
- 0
686
- ],
687
- [
688
- "article",
689
- 0
690
- ],
691
- [
692
- "ordinal",
693
- 1
694
- ],
695
- [
696
- "paragraph_wp",
697
- 1
698
- ]
699
- ],
700
- "choose": 0
701
- },
702
- {
703
- "context": [
704
- [
705
- "word_wp",
706
- 1
707
- ],
708
- [
709
- "statefulElementInContext_wp",
710
- 0
711
- ],
712
- [
713
- "article",
714
- 0
715
- ],
716
- [
717
- "paragraph_wp",
718
- 1
719
- ]
720
- ],
721
- "choose": 0
722
- }
723
- ]
724
- },
725
- "bridges": [
726
- {
727
- "id": "change_wp",
728
- "bridge": "{ ...next(operator), from: after[0][0], generate: [operator, 'from', after[1]] }"
729
- },
730
- {
731
- "id": "paragraphComparisonVerb_wp",
732
- "parents": [
733
- "verb"
734
- ],
735
- "words": [
736
- {
737
- "word": "contain",
738
- "comparison": "include"
739
- },
740
- {
741
- "word": "contains",
742
- "comparison": "include"
743
- },
744
- {
745
- "word": "include",
746
- "comparison": "include"
747
- },
748
- {
749
- "word": "includes",
750
- "comparison": "include"
751
- }
752
- ],
753
- "bridge": "{ ...next(operator), element: before[0], subject: before[0], words: after[0], verb: operator, generate: ['element', 'verb', 'words'] }"
754
- },
755
- {
756
- "id": "statefulElementInContext_wp",
757
- "parents": [
758
- "preposition"
759
- ],
760
- "optional": {
761
- "-1": "{ ...operator, invisible: true }"
762
- },
763
- "bridge": "{ ...next(before[0]), context: append(before[0].context, [after[0]]), generate: [before[0], operator, after[0]], modifiers: [] }",
764
- "semantic": "(args) => {\n const { context, contexts } = args\n for (let i = context.context_index + 1; i < contexts.length; ++i) {\n if (contexts[i].marker == 'applyStyle_wp') {\n const element = contexts[i].element\n if (!element.context) {\n element.context = []\n }\n element.context = element.context.concat(context.context)\n }\n }\n console.log(JSON.stringify(Object.keys(args)))\n }"
765
- },
766
- {
767
- "id": "applyStyle_wp",
768
- "parents": [
769
- "verb"
770
- ],
771
- "convolution": true,
772
- "bridge": "{ ...next(operator), element: after[0], state: before[0], operator: operator, generate: ['state', 'element'] }",
773
- "localHierarchy": [
774
- [
775
- "thisitthat",
776
- "statefulElement_wp"
777
- ],
778
- [
779
- "everything",
780
- "statefulElement_wp"
781
- ]
782
- ],
783
- "semantic": "(args) => {\n changeState({...args, element: args.context.element, state: args.context.state})\n }"
784
- },
785
- {
786
- "id": "modifiedByStyle_wp",
787
- "parents": [
788
- "adjective"
789
- ],
790
- "convolution": true,
791
- "bridge": "{ ...after[0], style: before[0], target: after[0], generate: ['style', 'target'], conditions: append(after[0].conditions, [before[0]]) }"
792
- },
793
- {
794
- "id": "wordComparisonWithVerb_wp",
795
- "parents": [
796
- "verb"
797
- ],
798
- "words": [
799
- {
800
- "word": "start",
801
- "comparison": "prefix"
802
- },
803
- {
804
- "word": "starts",
805
- "comparison": "prefix"
806
- },
807
- {
808
- "word": "end",
809
- "comparison": "suffix"
810
- },
811
- {
812
- "word": "ends",
813
- "comparison": "suffix"
814
- }
815
- ],
816
- "bridge": "{ ...next(operator), element: before[0], subject: before[0], letters: after[0], verb: operator, generate: ['element', 'verb', 'letters'] }"
817
- },
818
- {
819
- "id": "wordComparison_wp",
820
- "parents": [
821
- "verb"
822
- ],
823
- "words": [
824
- {
825
- "word": "contain",
826
- "comparison": "include"
827
- },
828
- {
829
- "word": "contains",
830
- "comparison": "include"
831
- },
832
- {
833
- "word": "include",
834
- "comparison": "include"
835
- },
836
- {
837
- "word": "includes",
838
- "comparison": "include"
839
- }
840
- ],
841
- "optional": {
842
- "1": "{ marker: 'a' }"
843
- },
844
- "bridge": "{ ...next(operator), element: before[0], subject: before[0], letters: after[1], verb: operator, generate: ['element', 'verb', 'letters'] }"
845
- },
846
- {
847
- "id": "comparisonWith_wp",
848
- "parents": [
849
- "preposition"
850
- ],
851
- "optional": {
852
- "1": "{ marker: 'a' }"
853
- },
854
- "bridge": "{ ...next(operator), operator: operator, letters: after[1], generate: ['operator', 'letters'] }"
855
- },
856
- {
857
- "id": "changeState_wp",
858
- "parents": [
859
- "verb"
860
- ],
861
- "bridge": "{ ...next(operator), element: after[0], state: after[1], operator: operator, generate: ['operator', 'element', 'state'] }",
862
- "localHierarchy": [
863
- [
864
- "thisitthat",
865
- "statefulElement_wp"
866
- ],
867
- [
868
- "everything",
869
- "statefulElement_wp"
870
- ]
871
- ],
872
- "semantic": "(args) => {\n changeState({...args, element: args.context.element, state: args.context.state})\n }"
873
- },
874
- {
875
- "id": "stateValue_wp",
876
- "children": [
877
- "color_colors",
878
- "style_wp"
879
- ]
880
- }
881
- ],
882
- "semantics": [
883
- {
884
- "match": "({context, isA}) => isA(context, 'style_wp') && !context.same && !context.isResponse && !context.evaluate",
885
- "apply": "({context, api, isA, toArray}) => {\n const update = { scope: 'selection' }\n setUpdate(isA, update, toArray(context))\n api.changeState(update)\n }"
886
- },
887
- {
888
- "match": "({context, isA}) => isA(context, 'statefulElement_wp') && !context.same && !context.isResponse && !context.evaluate",
889
- "apply": "({context, api, isA, toArray}) => {\n const unit = root(context.marker)\n let scope\n if (context.quantity) {\n scope = context.quantity.quantity\n }\n // TODO set default scope for \"every word bold underlined etc\"\n }"
890
- }
891
- ],
892
- "priorities": [
893
- {
894
- "context": [
895
- [
896
- "ordinal",
897
- 1
898
- ],
899
- [
900
- "list",
901
- 0
902
- ],
903
- [
904
- "ordinal",
905
- 1
906
- ],
907
- [
908
- "statefulElement_wp",
909
- 0
910
- ]
911
- ],
912
- "ordered": true,
913
- "choose": [
914
- 1
915
- ]
916
- },
917
- {
918
- "context": [
919
- [
920
- "word_wp",
921
- 1
922
- ],
923
- [
924
- "wordComparisonWithVerb_wp",
925
- 0
926
- ],
927
- [
928
- "comparisonWith_wp",
929
- 1
930
- ],
931
- [
932
- "statefulElementInContext_wp",
933
- 0
934
- ]
935
- ],
936
- "ordered": true,
937
- "choose": [
938
- 1
939
- ]
940
- },
941
- {
942
- "context": [
943
- [
944
- "paragraphComparisonVerb_wp",
945
- 0
259
+ [
260
+ "statefulElementInContext_wp",
261
+ 0
262
+ ]
263
+ ],
264
+ "ordered": true,
265
+ "choose": [
266
+ 1
267
+ ]
268
+ },
269
+ {
270
+ "context": [
271
+ [
272
+ "paragraphComparisonVerb_wp",
273
+ 0
946
274
  ],
947
275
  [
948
276
  "word_wp",
@@ -47684,27 +47012,6 @@
47684
47012
  ],
47685
47013
  "associations": {
47686
47014
  "positive": [
47687
- {
47688
- "context": [
47689
- [
47690
- "word_wp",
47691
- 0
47692
- ],
47693
- [
47694
- "thatVerb",
47695
- 0
47696
- ],
47697
- [
47698
- "wordComparison_wp",
47699
- 0
47700
- ],
47701
- [
47702
- "unknown",
47703
- 0
47704
- ]
47705
- ],
47706
- "choose": 0
47707
- },
47708
47015
  {
47709
47016
  "context": [
47710
47017
  [
@@ -47725,657 +47032,6 @@
47725
47032
  ]
47726
47033
  ],
47727
47034
  "choose": 0
47728
- },
47729
- {
47730
- "context": [
47731
- [
47732
- "letter_wp",
47733
- 1
47734
- ],
47735
- [
47736
- "statefulElementInContext_wp",
47737
- 0
47738
- ],
47739
- [
47740
- "every",
47741
- 0
47742
- ],
47743
- [
47744
- "word_wp",
47745
- 0
47746
- ],
47747
- [
47748
- "thatVerb",
47749
- 0
47750
- ],
47751
- [
47752
- "wordComparisonWithVerb_wp",
47753
- 0
47754
- ],
47755
- [
47756
- "comparisonWith_wp",
47757
- 0
47758
- ],
47759
- [
47760
- "unknown",
47761
- 0
47762
- ]
47763
- ],
47764
- "choose": 0
47765
- },
47766
- {
47767
- "context": [
47768
- [
47769
- "letter_wp",
47770
- 1
47771
- ],
47772
- [
47773
- "statefulElementInContext_wp",
47774
- 0
47775
- ],
47776
- [
47777
- "every",
47778
- 0
47779
- ],
47780
- [
47781
- "word_wp",
47782
- 1
47783
- ],
47784
- [
47785
- "thatVerb",
47786
- 0
47787
- ],
47788
- [
47789
- "wordComparisonWithVerb_wp",
47790
- 0
47791
- ],
47792
- [
47793
- "comparisonWith_wp",
47794
- 0
47795
- ],
47796
- [
47797
- "unknown",
47798
- 0
47799
- ]
47800
- ],
47801
- "choose": 0
47802
- },
47803
- {
47804
- "context": [
47805
- [
47806
- "word_wp",
47807
- 0
47808
- ],
47809
- [
47810
- "thatVerb",
47811
- 0
47812
- ],
47813
- [
47814
- "wordComparisonWithVerb_wp",
47815
- 0
47816
- ],
47817
- [
47818
- "comparisonWith_wp",
47819
- 0
47820
- ],
47821
- [
47822
- "unknown",
47823
- 0
47824
- ],
47825
- [
47826
- "statefulElementInContext_wp",
47827
- 0
47828
- ],
47829
- [
47830
- "article",
47831
- 0
47832
- ],
47833
- [
47834
- "ordinal",
47835
- 0
47836
- ],
47837
- [
47838
- "paragraph_wp",
47839
- 0
47840
- ]
47841
- ],
47842
- "choose": 0
47843
- },
47844
- {
47845
- "context": [
47846
- [
47847
- "word_wp",
47848
- 1
47849
- ],
47850
- [
47851
- "thatVerb",
47852
- 0
47853
- ],
47854
- [
47855
- "wordComparisonWithVerb_wp",
47856
- 0
47857
- ],
47858
- [
47859
- "comparisonWith_wp",
47860
- 0
47861
- ],
47862
- [
47863
- "unknown",
47864
- 0
47865
- ],
47866
- [
47867
- "statefulElementInContext_wp",
47868
- 0
47869
- ],
47870
- [
47871
- "article",
47872
- 0
47873
- ],
47874
- [
47875
- "ordinal",
47876
- 0
47877
- ],
47878
- [
47879
- "paragraph_wp",
47880
- 0
47881
- ]
47882
- ],
47883
- "choose": 0
47884
- },
47885
- {
47886
- "context": [
47887
- [
47888
- "word_wp",
47889
- 0
47890
- ],
47891
- [
47892
- "thatVerb",
47893
- 0
47894
- ],
47895
- [
47896
- "wordComparisonWithVerb_wp",
47897
- 0
47898
- ],
47899
- [
47900
- "comparisonWith_wp",
47901
- 0
47902
- ],
47903
- [
47904
- "unknown",
47905
- 0
47906
- ]
47907
- ],
47908
- "choose": 0
47909
- },
47910
- {
47911
- "context": [
47912
- [
47913
- "word_wp",
47914
- 1
47915
- ],
47916
- [
47917
- "thatVerb",
47918
- 0
47919
- ],
47920
- [
47921
- "wordComparisonWithVerb_wp",
47922
- 0
47923
- ],
47924
- [
47925
- "comparisonWith_wp",
47926
- 0
47927
- ],
47928
- [
47929
- "unknown",
47930
- 0
47931
- ]
47932
- ],
47933
- "choose": 0
47934
- },
47935
- {
47936
- "context": [
47937
- [
47938
- "paragraph_wp",
47939
- 0
47940
- ],
47941
- [
47942
- "thatVerb",
47943
- 0
47944
- ],
47945
- [
47946
- "paragraphComparisonVerb_wp",
47947
- 0
47948
- ],
47949
- [
47950
- "word_wp",
47951
- 0
47952
- ],
47953
- [
47954
- "thatVerb",
47955
- 0
47956
- ],
47957
- [
47958
- "wordComparisonWithVerb_wp",
47959
- 0
47960
- ],
47961
- [
47962
- "comparisonWith_wp",
47963
- 0
47964
- ]
47965
- ],
47966
- "choose": 0
47967
- },
47968
- {
47969
- "context": [
47970
- [
47971
- "paragraph_wp",
47972
- 1
47973
- ],
47974
- [
47975
- "thatVerb",
47976
- 0
47977
- ],
47978
- [
47979
- "paragraphComparisonVerb_wp",
47980
- 0
47981
- ],
47982
- [
47983
- "word_wp",
47984
- 0
47985
- ],
47986
- [
47987
- "thatVerb",
47988
- 0
47989
- ],
47990
- [
47991
- "wordComparisonWithVerb_wp",
47992
- 0
47993
- ],
47994
- [
47995
- "comparisonWith_wp",
47996
- 0
47997
- ]
47998
- ],
47999
- "choose": 0
48000
- },
48001
- {
48002
- "context": [
48003
- [
48004
- "paragraph_wp",
48005
- 0
48006
- ],
48007
- [
48008
- "thatVerb",
48009
- 0
48010
- ],
48011
- [
48012
- "paragraphComparisonVerb_wp",
48013
- 0
48014
- ],
48015
- [
48016
- "styleModifier_wp",
48017
- 0
48018
- ],
48019
- [
48020
- "word_wp",
48021
- 0
48022
- ]
48023
- ],
48024
- "choose": 0
48025
- },
48026
- {
48027
- "context": [
48028
- [
48029
- "paragraph_wp",
48030
- 1
48031
- ],
48032
- [
48033
- "thatVerb",
48034
- 0
48035
- ],
48036
- [
48037
- "paragraphComparisonVerb_wp",
48038
- 0
48039
- ],
48040
- [
48041
- "styleModifier_wp",
48042
- 0
48043
- ],
48044
- [
48045
- "word_wp",
48046
- 0
48047
- ]
48048
- ],
48049
- "choose": 0
48050
- },
48051
- {
48052
- "context": [
48053
- [
48054
- "word_wp",
48055
- 1
48056
- ],
48057
- [
48058
- "statefulElementInContext_wp",
48059
- 0
48060
- ],
48061
- [
48062
- "every",
48063
- 0
48064
- ],
48065
- [
48066
- "paragraph_wp",
48067
- 0
48068
- ]
48069
- ],
48070
- "choose": 0
48071
- },
48072
- {
48073
- "context": [
48074
- [
48075
- "word_wp",
48076
- 1
48077
- ],
48078
- [
48079
- "statefulElementInContext_wp",
48080
- 0
48081
- ],
48082
- [
48083
- "every",
48084
- 0
48085
- ],
48086
- [
48087
- "paragraph_wp",
48088
- 1
48089
- ]
48090
- ],
48091
- "choose": 0
48092
- },
48093
- {
48094
- "context": [
48095
- [
48096
- "letter_wp",
48097
- 1
48098
- ],
48099
- [
48100
- "statefulElementInContext_wp",
48101
- 0
48102
- ],
48103
- [
48104
- "every",
48105
- 0
48106
- ],
48107
- [
48108
- "paragraph_wp",
48109
- 0
48110
- ]
48111
- ],
48112
- "choose": 0
48113
- },
48114
- {
48115
- "context": [
48116
- [
48117
- "letter_wp",
48118
- 1
48119
- ],
48120
- [
48121
- "statefulElementInContext_wp",
48122
- 0
48123
- ],
48124
- [
48125
- "every",
48126
- 0
48127
- ],
48128
- [
48129
- "paragraph_wp",
48130
- 1
48131
- ]
48132
- ],
48133
- "choose": 0
48134
- },
48135
- {
48136
- "context": [
48137
- [
48138
- "article",
48139
- 0
48140
- ],
48141
- [
48142
- "letter_wp",
48143
- 1
48144
- ],
48145
- [
48146
- "statefulElementInContext_wp",
48147
- 0
48148
- ],
48149
- [
48150
- "article",
48151
- 0
48152
- ],
48153
- [
48154
- "word_wp",
48155
- 0
48156
- ],
48157
- [
48158
- "thatVerb",
48159
- 0
48160
- ],
48161
- [
48162
- "wordComparisonWithVerb_wp",
48163
- 0
48164
- ],
48165
- [
48166
- "comparisonWith_wp",
48167
- 0
48168
- ]
48169
- ],
48170
- "choose": 1
48171
- },
48172
- {
48173
- "context": [
48174
- [
48175
- "article",
48176
- 0
48177
- ],
48178
- [
48179
- "letter_wp",
48180
- 1
48181
- ],
48182
- [
48183
- "statefulElementInContext_wp",
48184
- 0
48185
- ],
48186
- [
48187
- "article",
48188
- 0
48189
- ],
48190
- [
48191
- "word_wp",
48192
- 1
48193
- ],
48194
- [
48195
- "thatVerb",
48196
- 0
48197
- ],
48198
- [
48199
- "wordComparisonWithVerb_wp",
48200
- 0
48201
- ],
48202
- [
48203
- "comparisonWith_wp",
48204
- 0
48205
- ]
48206
- ],
48207
- "choose": 1
48208
- },
48209
- {
48210
- "context": [
48211
- [
48212
- "article",
48213
- 0
48214
- ],
48215
- [
48216
- "letter_wp",
48217
- 1
48218
- ],
48219
- [
48220
- "statefulElementInContext_wp",
48221
- 0
48222
- ],
48223
- [
48224
- "article",
48225
- 0
48226
- ],
48227
- [
48228
- "word_wp",
48229
- 1
48230
- ],
48231
- [
48232
- "wordComparisonWithVerb_wp",
48233
- 0
48234
- ],
48235
- [
48236
- "comparisonWith_wp",
48237
- 0
48238
- ]
48239
- ],
48240
- "choose": 1
48241
- },
48242
- {
48243
- "context": [
48244
- [
48245
- "letter_wp",
48246
- 1
48247
- ],
48248
- [
48249
- "statefulElementInContext_wp",
48250
- 0
48251
- ],
48252
- [
48253
- "every",
48254
- 0
48255
- ],
48256
- [
48257
- "word_wp",
48258
- 0
48259
- ]
48260
- ],
48261
- "choose": 0
48262
- },
48263
- {
48264
- "context": [
48265
- [
48266
- "letter_wp",
48267
- 1
48268
- ],
48269
- [
48270
- "statefulElementInContext_wp",
48271
- 0
48272
- ],
48273
- [
48274
- "every",
48275
- 0
48276
- ],
48277
- [
48278
- "word_wp",
48279
- 1
48280
- ]
48281
- ],
48282
- "choose": 0
48283
- },
48284
- {
48285
- "context": [
48286
- [
48287
- "word_wp",
48288
- 1
48289
- ],
48290
- [
48291
- "statefulElementInContext_wp",
48292
- 0
48293
- ],
48294
- [
48295
- "article",
48296
- 0
48297
- ],
48298
- [
48299
- "ordinal",
48300
- 0
48301
- ],
48302
- [
48303
- "paragraph_wp",
48304
- 0
48305
- ]
48306
- ],
48307
- "choose": 0
48308
- },
48309
- {
48310
- "context": [
48311
- [
48312
- "word_wp",
48313
- 1
48314
- ],
48315
- [
48316
- "statefulElementInContext_wp",
48317
- 0
48318
- ],
48319
- [
48320
- "article",
48321
- 0
48322
- ],
48323
- [
48324
- "ordinal",
48325
- 1
48326
- ],
48327
- [
48328
- "paragraph_wp",
48329
- 0
48330
- ]
48331
- ],
48332
- "choose": 0
48333
- },
48334
- {
48335
- "context": [
48336
- [
48337
- "word_wp",
48338
- 1
48339
- ],
48340
- [
48341
- "statefulElementInContext_wp",
48342
- 0
48343
- ],
48344
- [
48345
- "article",
48346
- 0
48347
- ],
48348
- [
48349
- "ordinal",
48350
- 1
48351
- ],
48352
- [
48353
- "paragraph_wp",
48354
- 1
48355
- ]
48356
- ],
48357
- "choose": 0
48358
- },
48359
- {
48360
- "context": [
48361
- [
48362
- "word_wp",
48363
- 1
48364
- ],
48365
- [
48366
- "statefulElementInContext_wp",
48367
- 0
48368
- ],
48369
- [
48370
- "article",
48371
- 0
48372
- ],
48373
- [
48374
- "paragraph_wp",
48375
- 1
48376
- ]
48377
- ],
48378
- "choose": 0
48379
47035
  }
48380
47036
  ]
48381
47037
  },
@@ -48535,10 +47191,10 @@
48535
47191
  ],
48536
47192
  "semantics": [
48537
47193
  {
48538
- "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:407"
47194
+ "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:361"
48539
47195
  },
48540
47196
  {
48541
- "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:416"
47197
+ "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:370"
48542
47198
  }
48543
47199
  ],
48544
47200
  "priorities": [