ekms 9.0.3-beta.3 → 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",
@@ -3122,16 +2450,6 @@
3122
2450
  "hierarchyAble",
3123
2451
  false
3124
2452
  ],
3125
- [
3126
- "unknown",
3127
- "queryable",
3128
- false
3129
- ],
3130
- [
3131
- "unknown",
3132
- "theAble",
3133
- false
3134
- ],
3135
2453
  [
3136
2454
  "unselect",
3137
2455
  "verb",
@@ -5459,16 +4777,6 @@
5459
4777
  "hierarchyAble",
5460
4778
  false
5461
4779
  ],
5462
- [
5463
- "unknown",
5464
- "queryable",
5465
- false
5466
- ],
5467
- [
5468
- "unknown",
5469
- "theAble",
5470
- false
5471
- ],
5472
4780
  [
5473
4781
  "unselect",
5474
4782
  "verb",
@@ -8826,16 +8134,6 @@
8826
8134
  "hierarchyAble",
8827
8135
  false
8828
8136
  ],
8829
- [
8830
- "unknown",
8831
- "queryable",
8832
- false
8833
- ],
8834
- [
8835
- "unknown",
8836
- "theAble",
8837
- false
8838
- ],
8839
8137
  [
8840
8138
  "unselect",
8841
8139
  "verb",
@@ -11953,16 +11251,6 @@
11953
11251
  "hierarchyAble",
11954
11252
  false
11955
11253
  ],
11956
- [
11957
- "unknown",
11958
- "queryable",
11959
- false
11960
- ],
11961
- [
11962
- "unknown",
11963
- "theAble",
11964
- false
11965
- ],
11966
11254
  [
11967
11255
  "unselect",
11968
11256
  "verb",
@@ -15418,16 +14706,6 @@
15418
14706
  "hierarchyAble",
15419
14707
  false
15420
14708
  ],
15421
- [
15422
- "unknown",
15423
- "queryable",
15424
- false
15425
- ],
15426
- [
15427
- "unknown",
15428
- "theAble",
15429
- false
15430
- ],
15431
14709
  [
15432
14710
  "unselect",
15433
14711
  "verb",
@@ -18304,16 +17582,6 @@
18304
17582
  "hierarchyAble",
18305
17583
  false
18306
17584
  ],
18307
- [
18308
- "unknown",
18309
- "queryable",
18310
- false
18311
- ],
18312
- [
18313
- "unknown",
18314
- "theAble",
18315
- false
18316
- ],
18317
17585
  [
18318
17586
  "unselect",
18319
17587
  "verb",
@@ -21054,16 +20322,6 @@
21054
20322
  "hierarchyAble",
21055
20323
  false
21056
20324
  ],
21057
- [
21058
- "unknown",
21059
- "queryable",
21060
- false
21061
- ],
21062
- [
21063
- "unknown",
21064
- "theAble",
21065
- false
21066
- ],
21067
20325
  [
21068
20326
  "unselect",
21069
20327
  "verb",
@@ -26447,16 +25705,6 @@
26447
25705
  "hierarchyAble",
26448
25706
  false
26449
25707
  ],
26450
- [
26451
- "unknown",
26452
- "queryable",
26453
- false
26454
- ],
26455
- [
26456
- "unknown",
26457
- "theAble",
26458
- false
26459
- ],
26460
25708
  [
26461
25709
  "unselect",
26462
25710
  "verb",
@@ -29497,16 +28745,6 @@
29497
28745
  "hierarchyAble",
29498
28746
  false
29499
28747
  ],
29500
- [
29501
- "unknown",
29502
- "queryable",
29503
- false
29504
- ],
29505
- [
29506
- "unknown",
29507
- "theAble",
29508
- false
29509
- ],
29510
28748
  [
29511
28749
  "unselect",
29512
28750
  "verb",
@@ -32572,16 +31810,6 @@
32572
31810
  "hierarchyAble",
32573
31811
  false
32574
31812
  ],
32575
- [
32576
- "unknown",
32577
- "queryable",
32578
- false
32579
- ],
32580
- [
32581
- "unknown",
32582
- "theAble",
32583
- false
32584
- ],
32585
31813
  [
32586
31814
  "unselect",
32587
31815
  "verb",
@@ -35647,16 +34875,6 @@
35647
34875
  "hierarchyAble",
35648
34876
  false
35649
34877
  ],
35650
- [
35651
- "unknown",
35652
- "queryable",
35653
- false
35654
- ],
35655
- [
35656
- "unknown",
35657
- "theAble",
35658
- false
35659
- ],
35660
34878
  [
35661
34879
  "unselect",
35662
34880
  "verb",
@@ -38772,16 +37990,6 @@
38772
37990
  "hierarchyAble",
38773
37991
  false
38774
37992
  ],
38775
- [
38776
- "unknown",
38777
- "queryable",
38778
- false
38779
- ],
38780
- [
38781
- "unknown",
38782
- "theAble",
38783
- false
38784
- ],
38785
37993
  [
38786
37994
  "unselect",
38787
37995
  "verb",
@@ -41922,16 +41130,6 @@
41922
41130
  "hierarchyAble",
41923
41131
  false
41924
41132
  ],
41925
- [
41926
- "unknown",
41927
- "queryable",
41928
- false
41929
- ],
41930
- [
41931
- "unknown",
41932
- "theAble",
41933
- false
41934
- ],
41935
41133
  [
41936
41134
  "unselect",
41937
41135
  "verb",
@@ -47449,16 +46647,6 @@
47449
46647
  "hierarchyAble",
47450
46648
  false
47451
46649
  ],
47452
- [
47453
- "unknown",
47454
- "queryable",
47455
- false
47456
- ],
47457
- [
47458
- "unknown",
47459
- "theAble",
47460
- false
47461
- ],
47462
46650
  [
47463
46651
  "unselect",
47464
46652
  "verb",
@@ -47824,27 +47012,6 @@
47824
47012
  ],
47825
47013
  "associations": {
47826
47014
  "positive": [
47827
- {
47828
- "context": [
47829
- [
47830
- "word_wp",
47831
- 0
47832
- ],
47833
- [
47834
- "thatVerb",
47835
- 0
47836
- ],
47837
- [
47838
- "wordComparison_wp",
47839
- 0
47840
- ],
47841
- [
47842
- "unknown",
47843
- 0
47844
- ]
47845
- ],
47846
- "choose": 0
47847
- },
47848
47015
  {
47849
47016
  "context": [
47850
47017
  [
@@ -47865,657 +47032,6 @@
47865
47032
  ]
47866
47033
  ],
47867
47034
  "choose": 0
47868
- },
47869
- {
47870
- "context": [
47871
- [
47872
- "letter_wp",
47873
- 1
47874
- ],
47875
- [
47876
- "statefulElementInContext_wp",
47877
- 0
47878
- ],
47879
- [
47880
- "every",
47881
- 0
47882
- ],
47883
- [
47884
- "word_wp",
47885
- 0
47886
- ],
47887
- [
47888
- "thatVerb",
47889
- 0
47890
- ],
47891
- [
47892
- "wordComparisonWithVerb_wp",
47893
- 0
47894
- ],
47895
- [
47896
- "comparisonWith_wp",
47897
- 0
47898
- ],
47899
- [
47900
- "unknown",
47901
- 0
47902
- ]
47903
- ],
47904
- "choose": 0
47905
- },
47906
- {
47907
- "context": [
47908
- [
47909
- "letter_wp",
47910
- 1
47911
- ],
47912
- [
47913
- "statefulElementInContext_wp",
47914
- 0
47915
- ],
47916
- [
47917
- "every",
47918
- 0
47919
- ],
47920
- [
47921
- "word_wp",
47922
- 1
47923
- ],
47924
- [
47925
- "thatVerb",
47926
- 0
47927
- ],
47928
- [
47929
- "wordComparisonWithVerb_wp",
47930
- 0
47931
- ],
47932
- [
47933
- "comparisonWith_wp",
47934
- 0
47935
- ],
47936
- [
47937
- "unknown",
47938
- 0
47939
- ]
47940
- ],
47941
- "choose": 0
47942
- },
47943
- {
47944
- "context": [
47945
- [
47946
- "word_wp",
47947
- 0
47948
- ],
47949
- [
47950
- "thatVerb",
47951
- 0
47952
- ],
47953
- [
47954
- "wordComparisonWithVerb_wp",
47955
- 0
47956
- ],
47957
- [
47958
- "comparisonWith_wp",
47959
- 0
47960
- ],
47961
- [
47962
- "unknown",
47963
- 0
47964
- ],
47965
- [
47966
- "statefulElementInContext_wp",
47967
- 0
47968
- ],
47969
- [
47970
- "article",
47971
- 0
47972
- ],
47973
- [
47974
- "ordinal",
47975
- 0
47976
- ],
47977
- [
47978
- "paragraph_wp",
47979
- 0
47980
- ]
47981
- ],
47982
- "choose": 0
47983
- },
47984
- {
47985
- "context": [
47986
- [
47987
- "word_wp",
47988
- 1
47989
- ],
47990
- [
47991
- "thatVerb",
47992
- 0
47993
- ],
47994
- [
47995
- "wordComparisonWithVerb_wp",
47996
- 0
47997
- ],
47998
- [
47999
- "comparisonWith_wp",
48000
- 0
48001
- ],
48002
- [
48003
- "unknown",
48004
- 0
48005
- ],
48006
- [
48007
- "statefulElementInContext_wp",
48008
- 0
48009
- ],
48010
- [
48011
- "article",
48012
- 0
48013
- ],
48014
- [
48015
- "ordinal",
48016
- 0
48017
- ],
48018
- [
48019
- "paragraph_wp",
48020
- 0
48021
- ]
48022
- ],
48023
- "choose": 0
48024
- },
48025
- {
48026
- "context": [
48027
- [
48028
- "word_wp",
48029
- 0
48030
- ],
48031
- [
48032
- "thatVerb",
48033
- 0
48034
- ],
48035
- [
48036
- "wordComparisonWithVerb_wp",
48037
- 0
48038
- ],
48039
- [
48040
- "comparisonWith_wp",
48041
- 0
48042
- ],
48043
- [
48044
- "unknown",
48045
- 0
48046
- ]
48047
- ],
48048
- "choose": 0
48049
- },
48050
- {
48051
- "context": [
48052
- [
48053
- "word_wp",
48054
- 1
48055
- ],
48056
- [
48057
- "thatVerb",
48058
- 0
48059
- ],
48060
- [
48061
- "wordComparisonWithVerb_wp",
48062
- 0
48063
- ],
48064
- [
48065
- "comparisonWith_wp",
48066
- 0
48067
- ],
48068
- [
48069
- "unknown",
48070
- 0
48071
- ]
48072
- ],
48073
- "choose": 0
48074
- },
48075
- {
48076
- "context": [
48077
- [
48078
- "paragraph_wp",
48079
- 0
48080
- ],
48081
- [
48082
- "thatVerb",
48083
- 0
48084
- ],
48085
- [
48086
- "paragraphComparisonVerb_wp",
48087
- 0
48088
- ],
48089
- [
48090
- "word_wp",
48091
- 0
48092
- ],
48093
- [
48094
- "thatVerb",
48095
- 0
48096
- ],
48097
- [
48098
- "wordComparisonWithVerb_wp",
48099
- 0
48100
- ],
48101
- [
48102
- "comparisonWith_wp",
48103
- 0
48104
- ]
48105
- ],
48106
- "choose": 0
48107
- },
48108
- {
48109
- "context": [
48110
- [
48111
- "paragraph_wp",
48112
- 1
48113
- ],
48114
- [
48115
- "thatVerb",
48116
- 0
48117
- ],
48118
- [
48119
- "paragraphComparisonVerb_wp",
48120
- 0
48121
- ],
48122
- [
48123
- "word_wp",
48124
- 0
48125
- ],
48126
- [
48127
- "thatVerb",
48128
- 0
48129
- ],
48130
- [
48131
- "wordComparisonWithVerb_wp",
48132
- 0
48133
- ],
48134
- [
48135
- "comparisonWith_wp",
48136
- 0
48137
- ]
48138
- ],
48139
- "choose": 0
48140
- },
48141
- {
48142
- "context": [
48143
- [
48144
- "paragraph_wp",
48145
- 0
48146
- ],
48147
- [
48148
- "thatVerb",
48149
- 0
48150
- ],
48151
- [
48152
- "paragraphComparisonVerb_wp",
48153
- 0
48154
- ],
48155
- [
48156
- "styleModifier_wp",
48157
- 0
48158
- ],
48159
- [
48160
- "word_wp",
48161
- 0
48162
- ]
48163
- ],
48164
- "choose": 0
48165
- },
48166
- {
48167
- "context": [
48168
- [
48169
- "paragraph_wp",
48170
- 1
48171
- ],
48172
- [
48173
- "thatVerb",
48174
- 0
48175
- ],
48176
- [
48177
- "paragraphComparisonVerb_wp",
48178
- 0
48179
- ],
48180
- [
48181
- "styleModifier_wp",
48182
- 0
48183
- ],
48184
- [
48185
- "word_wp",
48186
- 0
48187
- ]
48188
- ],
48189
- "choose": 0
48190
- },
48191
- {
48192
- "context": [
48193
- [
48194
- "word_wp",
48195
- 1
48196
- ],
48197
- [
48198
- "statefulElementInContext_wp",
48199
- 0
48200
- ],
48201
- [
48202
- "every",
48203
- 0
48204
- ],
48205
- [
48206
- "paragraph_wp",
48207
- 0
48208
- ]
48209
- ],
48210
- "choose": 0
48211
- },
48212
- {
48213
- "context": [
48214
- [
48215
- "word_wp",
48216
- 1
48217
- ],
48218
- [
48219
- "statefulElementInContext_wp",
48220
- 0
48221
- ],
48222
- [
48223
- "every",
48224
- 0
48225
- ],
48226
- [
48227
- "paragraph_wp",
48228
- 1
48229
- ]
48230
- ],
48231
- "choose": 0
48232
- },
48233
- {
48234
- "context": [
48235
- [
48236
- "letter_wp",
48237
- 1
48238
- ],
48239
- [
48240
- "statefulElementInContext_wp",
48241
- 0
48242
- ],
48243
- [
48244
- "every",
48245
- 0
48246
- ],
48247
- [
48248
- "paragraph_wp",
48249
- 0
48250
- ]
48251
- ],
48252
- "choose": 0
48253
- },
48254
- {
48255
- "context": [
48256
- [
48257
- "letter_wp",
48258
- 1
48259
- ],
48260
- [
48261
- "statefulElementInContext_wp",
48262
- 0
48263
- ],
48264
- [
48265
- "every",
48266
- 0
48267
- ],
48268
- [
48269
- "paragraph_wp",
48270
- 1
48271
- ]
48272
- ],
48273
- "choose": 0
48274
- },
48275
- {
48276
- "context": [
48277
- [
48278
- "article",
48279
- 0
48280
- ],
48281
- [
48282
- "letter_wp",
48283
- 1
48284
- ],
48285
- [
48286
- "statefulElementInContext_wp",
48287
- 0
48288
- ],
48289
- [
48290
- "article",
48291
- 0
48292
- ],
48293
- [
48294
- "word_wp",
48295
- 0
48296
- ],
48297
- [
48298
- "thatVerb",
48299
- 0
48300
- ],
48301
- [
48302
- "wordComparisonWithVerb_wp",
48303
- 0
48304
- ],
48305
- [
48306
- "comparisonWith_wp",
48307
- 0
48308
- ]
48309
- ],
48310
- "choose": 1
48311
- },
48312
- {
48313
- "context": [
48314
- [
48315
- "article",
48316
- 0
48317
- ],
48318
- [
48319
- "letter_wp",
48320
- 1
48321
- ],
48322
- [
48323
- "statefulElementInContext_wp",
48324
- 0
48325
- ],
48326
- [
48327
- "article",
48328
- 0
48329
- ],
48330
- [
48331
- "word_wp",
48332
- 1
48333
- ],
48334
- [
48335
- "thatVerb",
48336
- 0
48337
- ],
48338
- [
48339
- "wordComparisonWithVerb_wp",
48340
- 0
48341
- ],
48342
- [
48343
- "comparisonWith_wp",
48344
- 0
48345
- ]
48346
- ],
48347
- "choose": 1
48348
- },
48349
- {
48350
- "context": [
48351
- [
48352
- "article",
48353
- 0
48354
- ],
48355
- [
48356
- "letter_wp",
48357
- 1
48358
- ],
48359
- [
48360
- "statefulElementInContext_wp",
48361
- 0
48362
- ],
48363
- [
48364
- "article",
48365
- 0
48366
- ],
48367
- [
48368
- "word_wp",
48369
- 1
48370
- ],
48371
- [
48372
- "wordComparisonWithVerb_wp",
48373
- 0
48374
- ],
48375
- [
48376
- "comparisonWith_wp",
48377
- 0
48378
- ]
48379
- ],
48380
- "choose": 1
48381
- },
48382
- {
48383
- "context": [
48384
- [
48385
- "letter_wp",
48386
- 1
48387
- ],
48388
- [
48389
- "statefulElementInContext_wp",
48390
- 0
48391
- ],
48392
- [
48393
- "every",
48394
- 0
48395
- ],
48396
- [
48397
- "word_wp",
48398
- 0
48399
- ]
48400
- ],
48401
- "choose": 0
48402
- },
48403
- {
48404
- "context": [
48405
- [
48406
- "letter_wp",
48407
- 1
48408
- ],
48409
- [
48410
- "statefulElementInContext_wp",
48411
- 0
48412
- ],
48413
- [
48414
- "every",
48415
- 0
48416
- ],
48417
- [
48418
- "word_wp",
48419
- 1
48420
- ]
48421
- ],
48422
- "choose": 0
48423
- },
48424
- {
48425
- "context": [
48426
- [
48427
- "word_wp",
48428
- 1
48429
- ],
48430
- [
48431
- "statefulElementInContext_wp",
48432
- 0
48433
- ],
48434
- [
48435
- "article",
48436
- 0
48437
- ],
48438
- [
48439
- "ordinal",
48440
- 0
48441
- ],
48442
- [
48443
- "paragraph_wp",
48444
- 0
48445
- ]
48446
- ],
48447
- "choose": 0
48448
- },
48449
- {
48450
- "context": [
48451
- [
48452
- "word_wp",
48453
- 1
48454
- ],
48455
- [
48456
- "statefulElementInContext_wp",
48457
- 0
48458
- ],
48459
- [
48460
- "article",
48461
- 0
48462
- ],
48463
- [
48464
- "ordinal",
48465
- 1
48466
- ],
48467
- [
48468
- "paragraph_wp",
48469
- 0
48470
- ]
48471
- ],
48472
- "choose": 0
48473
- },
48474
- {
48475
- "context": [
48476
- [
48477
- "word_wp",
48478
- 1
48479
- ],
48480
- [
48481
- "statefulElementInContext_wp",
48482
- 0
48483
- ],
48484
- [
48485
- "article",
48486
- 0
48487
- ],
48488
- [
48489
- "ordinal",
48490
- 1
48491
- ],
48492
- [
48493
- "paragraph_wp",
48494
- 1
48495
- ]
48496
- ],
48497
- "choose": 0
48498
- },
48499
- {
48500
- "context": [
48501
- [
48502
- "word_wp",
48503
- 1
48504
- ],
48505
- [
48506
- "statefulElementInContext_wp",
48507
- 0
48508
- ],
48509
- [
48510
- "article",
48511
- 0
48512
- ],
48513
- [
48514
- "paragraph_wp",
48515
- 1
48516
- ]
48517
- ],
48518
- "choose": 0
48519
47035
  }
48520
47036
  ]
48521
47037
  },
@@ -48675,10 +47191,10 @@
48675
47191
  ],
48676
47192
  "semantics": [
48677
47193
  {
48678
- "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:407"
47194
+ "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:361"
48679
47195
  },
48680
47196
  {
48681
- "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:416"
47197
+ "where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:370"
48682
47198
  }
48683
47199
  ],
48684
47200
  "priorities": [