tpmkms_4wp 8.9.1-beta.11 → 8.9.1-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/crew.instance.json +384 -0
- package/common/edible.instance.json +36 -0
- package/common/fastfood.instance.json +353 -405
- package/common/ordinals.js +3 -0
- package/common/ordinals.test.json +327 -0
- package/common/pipboy.instance.json +72 -0
- package/common/reports.instance.json +1 -1
- package/common/wp.instance.json +42 -2
- package/common/wp.js +22 -13
- package/common/wp.test.json +9078 -0
- package/package.json +2 -2
package/common/ordinals.js
CHANGED
@@ -41,6 +41,9 @@ const config = {
|
|
41
41
|
},
|
42
42
|
patterns: [
|
43
43
|
{ "pattern": [{ type: 'digit' }, { repeat: true }, 'th'], defs: [{id: "ordinal", uuid: '1', initial: "{ value: int(substr(text, -2)), ordinal: true, instance: true }" }]},
|
44
|
+
{ "pattern": [{ type: 'digit' }, { repeat: true }, '1st'], defs: [{id: "ordinal", uuid: '1', initial: "{ value: int(substr(text, -2)), ordinal: true, instance: true }" }]},
|
45
|
+
{ "pattern": [{ type: 'digit' }, { repeat: true }, '2nd'], defs: [{id: "ordinal", uuid: '1', initial: "{ value: int(substr(text, -2)), ordinal: true, instance: true }" }]},
|
46
|
+
{ "pattern": [{ type: 'digit' }, { repeat: true }, '3rd'], defs: [{id: "ordinal", uuid: '1', initial: "{ value: int(substr(text, -2)), ordinal: true, instance: true }" }]},
|
44
47
|
],
|
45
48
|
},
|
46
49
|
};
|
@@ -408,5 +408,332 @@
|
|
408
408
|
"responses": [
|
409
409
|
""
|
410
410
|
]
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"associations": [
|
414
|
+
],
|
415
|
+
"config": {
|
416
|
+
},
|
417
|
+
"contexts": [
|
418
|
+
{
|
419
|
+
"dead": true,
|
420
|
+
"instance": true,
|
421
|
+
"level": 1,
|
422
|
+
"marker": "ordinal",
|
423
|
+
"ordinal": true,
|
424
|
+
"range": {
|
425
|
+
"end": 3,
|
426
|
+
"start": 0
|
427
|
+
},
|
428
|
+
"text": "23rd",
|
429
|
+
"topLevel": true,
|
430
|
+
"value": 23,
|
431
|
+
"word": "23rd"
|
432
|
+
}
|
433
|
+
],
|
434
|
+
"developerTest": false,
|
435
|
+
"generatedParenthesized": [
|
436
|
+
""
|
437
|
+
],
|
438
|
+
"metadata": {
|
439
|
+
"opChoices": [
|
440
|
+
{
|
441
|
+
"counter": 1,
|
442
|
+
"op": [
|
443
|
+
"ordinal",
|
444
|
+
0
|
445
|
+
],
|
446
|
+
"ops": [
|
447
|
+
[
|
448
|
+
"ordinal",
|
449
|
+
0
|
450
|
+
]
|
451
|
+
]
|
452
|
+
}
|
453
|
+
]
|
454
|
+
},
|
455
|
+
"objects": {
|
456
|
+
"nameToUUID": {
|
457
|
+
"articles": "articles2",
|
458
|
+
"gdefaults": "gdefaults2",
|
459
|
+
"numbers": "numbers2",
|
460
|
+
"ordinals": "ordinals1",
|
461
|
+
"pos": "pos2",
|
462
|
+
"punctuation": "punctuation2",
|
463
|
+
"sdefaults": "sdefaults2",
|
464
|
+
"tokenize": "tokenize2"
|
465
|
+
},
|
466
|
+
"namespaced": {
|
467
|
+
"articles2": {
|
468
|
+
},
|
469
|
+
"gdefaults2": {
|
470
|
+
},
|
471
|
+
"numbers2": {
|
472
|
+
},
|
473
|
+
"ordinals1": {
|
474
|
+
},
|
475
|
+
"pos2": {
|
476
|
+
},
|
477
|
+
"punctuation2": {
|
478
|
+
},
|
479
|
+
"sdefaults2": {
|
480
|
+
},
|
481
|
+
"tokenize2": {
|
482
|
+
}
|
483
|
+
},
|
484
|
+
"processed": [
|
485
|
+
{
|
486
|
+
"context": {
|
487
|
+
"dead": true,
|
488
|
+
"instance": true,
|
489
|
+
"level": 1,
|
490
|
+
"marker": "ordinal",
|
491
|
+
"ordinal": true,
|
492
|
+
"range": {
|
493
|
+
"end": 3,
|
494
|
+
"start": 0
|
495
|
+
},
|
496
|
+
"text": "23rd",
|
497
|
+
"topLevel": true,
|
498
|
+
"value": 23,
|
499
|
+
"word": "23rd"
|
500
|
+
},
|
501
|
+
"generatedParenthesized": "",
|
502
|
+
"paraphrases": "23rd",
|
503
|
+
"paraphrasesParenthesized": "(23rd)",
|
504
|
+
"responses": [
|
505
|
+
""
|
506
|
+
]
|
507
|
+
}
|
508
|
+
]
|
509
|
+
},
|
510
|
+
"paraphrases": [
|
511
|
+
"23rd"
|
512
|
+
],
|
513
|
+
"paraphrasesParenthesized": [
|
514
|
+
"(23rd)"
|
515
|
+
],
|
516
|
+
"query": "23rd",
|
517
|
+
"responses": [
|
518
|
+
""
|
519
|
+
]
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"associations": [
|
523
|
+
],
|
524
|
+
"config": {
|
525
|
+
},
|
526
|
+
"contexts": [
|
527
|
+
{
|
528
|
+
"dead": true,
|
529
|
+
"instance": true,
|
530
|
+
"level": 1,
|
531
|
+
"marker": "ordinal",
|
532
|
+
"ordinal": true,
|
533
|
+
"range": {
|
534
|
+
"end": 3,
|
535
|
+
"start": 0
|
536
|
+
},
|
537
|
+
"text": "22nd",
|
538
|
+
"topLevel": true,
|
539
|
+
"value": 22,
|
540
|
+
"word": "22nd"
|
541
|
+
}
|
542
|
+
],
|
543
|
+
"developerTest": false,
|
544
|
+
"generatedParenthesized": [
|
545
|
+
""
|
546
|
+
],
|
547
|
+
"metadata": {
|
548
|
+
"opChoices": [
|
549
|
+
{
|
550
|
+
"counter": 1,
|
551
|
+
"op": [
|
552
|
+
"ordinal",
|
553
|
+
0
|
554
|
+
],
|
555
|
+
"ops": [
|
556
|
+
[
|
557
|
+
"ordinal",
|
558
|
+
0
|
559
|
+
]
|
560
|
+
]
|
561
|
+
}
|
562
|
+
]
|
563
|
+
},
|
564
|
+
"objects": {
|
565
|
+
"nameToUUID": {
|
566
|
+
"articles": "articles2",
|
567
|
+
"gdefaults": "gdefaults2",
|
568
|
+
"numbers": "numbers2",
|
569
|
+
"ordinals": "ordinals1",
|
570
|
+
"pos": "pos2",
|
571
|
+
"punctuation": "punctuation2",
|
572
|
+
"sdefaults": "sdefaults2",
|
573
|
+
"tokenize": "tokenize2"
|
574
|
+
},
|
575
|
+
"namespaced": {
|
576
|
+
"articles2": {
|
577
|
+
},
|
578
|
+
"gdefaults2": {
|
579
|
+
},
|
580
|
+
"numbers2": {
|
581
|
+
},
|
582
|
+
"ordinals1": {
|
583
|
+
},
|
584
|
+
"pos2": {
|
585
|
+
},
|
586
|
+
"punctuation2": {
|
587
|
+
},
|
588
|
+
"sdefaults2": {
|
589
|
+
},
|
590
|
+
"tokenize2": {
|
591
|
+
}
|
592
|
+
},
|
593
|
+
"processed": [
|
594
|
+
{
|
595
|
+
"context": {
|
596
|
+
"dead": true,
|
597
|
+
"instance": true,
|
598
|
+
"level": 1,
|
599
|
+
"marker": "ordinal",
|
600
|
+
"ordinal": true,
|
601
|
+
"range": {
|
602
|
+
"end": 3,
|
603
|
+
"start": 0
|
604
|
+
},
|
605
|
+
"text": "22nd",
|
606
|
+
"topLevel": true,
|
607
|
+
"value": 22,
|
608
|
+
"word": "22nd"
|
609
|
+
},
|
610
|
+
"generatedParenthesized": "",
|
611
|
+
"paraphrases": "22nd",
|
612
|
+
"paraphrasesParenthesized": "(22nd)",
|
613
|
+
"responses": [
|
614
|
+
""
|
615
|
+
]
|
616
|
+
}
|
617
|
+
]
|
618
|
+
},
|
619
|
+
"paraphrases": [
|
620
|
+
"22nd"
|
621
|
+
],
|
622
|
+
"paraphrasesParenthesized": [
|
623
|
+
"(22nd)"
|
624
|
+
],
|
625
|
+
"query": "22nd",
|
626
|
+
"responses": [
|
627
|
+
""
|
628
|
+
]
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"associations": [
|
632
|
+
],
|
633
|
+
"config": {
|
634
|
+
},
|
635
|
+
"contexts": [
|
636
|
+
{
|
637
|
+
"dead": true,
|
638
|
+
"instance": true,
|
639
|
+
"level": 1,
|
640
|
+
"marker": "ordinal",
|
641
|
+
"ordinal": true,
|
642
|
+
"range": {
|
643
|
+
"end": 3,
|
644
|
+
"start": 0
|
645
|
+
},
|
646
|
+
"text": "21st",
|
647
|
+
"topLevel": true,
|
648
|
+
"value": 21,
|
649
|
+
"word": "21st"
|
650
|
+
}
|
651
|
+
],
|
652
|
+
"developerTest": false,
|
653
|
+
"generatedParenthesized": [
|
654
|
+
""
|
655
|
+
],
|
656
|
+
"metadata": {
|
657
|
+
"opChoices": [
|
658
|
+
{
|
659
|
+
"counter": 1,
|
660
|
+
"op": [
|
661
|
+
"ordinal",
|
662
|
+
0
|
663
|
+
],
|
664
|
+
"ops": [
|
665
|
+
[
|
666
|
+
"ordinal",
|
667
|
+
0
|
668
|
+
]
|
669
|
+
]
|
670
|
+
}
|
671
|
+
]
|
672
|
+
},
|
673
|
+
"objects": {
|
674
|
+
"nameToUUID": {
|
675
|
+
"articles": "articles2",
|
676
|
+
"gdefaults": "gdefaults2",
|
677
|
+
"numbers": "numbers2",
|
678
|
+
"ordinals": "ordinals1",
|
679
|
+
"pos": "pos2",
|
680
|
+
"punctuation": "punctuation2",
|
681
|
+
"sdefaults": "sdefaults2",
|
682
|
+
"tokenize": "tokenize2"
|
683
|
+
},
|
684
|
+
"namespaced": {
|
685
|
+
"articles2": {
|
686
|
+
},
|
687
|
+
"gdefaults2": {
|
688
|
+
},
|
689
|
+
"numbers2": {
|
690
|
+
},
|
691
|
+
"ordinals1": {
|
692
|
+
},
|
693
|
+
"pos2": {
|
694
|
+
},
|
695
|
+
"punctuation2": {
|
696
|
+
},
|
697
|
+
"sdefaults2": {
|
698
|
+
},
|
699
|
+
"tokenize2": {
|
700
|
+
}
|
701
|
+
},
|
702
|
+
"processed": [
|
703
|
+
{
|
704
|
+
"context": {
|
705
|
+
"dead": true,
|
706
|
+
"instance": true,
|
707
|
+
"level": 1,
|
708
|
+
"marker": "ordinal",
|
709
|
+
"ordinal": true,
|
710
|
+
"range": {
|
711
|
+
"end": 3,
|
712
|
+
"start": 0
|
713
|
+
},
|
714
|
+
"text": "21st",
|
715
|
+
"topLevel": true,
|
716
|
+
"value": 21,
|
717
|
+
"word": "21st"
|
718
|
+
},
|
719
|
+
"generatedParenthesized": "",
|
720
|
+
"paraphrases": "21st",
|
721
|
+
"paraphrasesParenthesized": "(21st)",
|
722
|
+
"responses": [
|
723
|
+
""
|
724
|
+
]
|
725
|
+
}
|
726
|
+
]
|
727
|
+
},
|
728
|
+
"paraphrases": [
|
729
|
+
"21st"
|
730
|
+
],
|
731
|
+
"paraphrasesParenthesized": [
|
732
|
+
"(21st)"
|
733
|
+
],
|
734
|
+
"query": "21st",
|
735
|
+
"responses": [
|
736
|
+
""
|
737
|
+
]
|
411
738
|
}
|
412
739
|
]
|
@@ -1754,6 +1754,24 @@
|
|
1754
1754
|
1
|
1755
1755
|
]
|
1756
1756
|
],
|
1757
|
+
[
|
1758
|
+
[
|
1759
|
+
"is",
|
1760
|
+
0
|
1761
|
+
],
|
1762
|
+
[
|
1763
|
+
"list",
|
1764
|
+
0
|
1765
|
+
],
|
1766
|
+
[
|
1767
|
+
"unknown",
|
1768
|
+
0
|
1769
|
+
],
|
1770
|
+
[
|
1771
|
+
"unknown",
|
1772
|
+
1
|
1773
|
+
]
|
1774
|
+
],
|
1757
1775
|
[
|
1758
1776
|
[
|
1759
1777
|
"is",
|
@@ -8530,6 +8548,24 @@
|
|
8530
8548
|
1
|
8531
8549
|
]
|
8532
8550
|
],
|
8551
|
+
[
|
8552
|
+
[
|
8553
|
+
"is",
|
8554
|
+
0
|
8555
|
+
],
|
8556
|
+
[
|
8557
|
+
"list",
|
8558
|
+
0
|
8559
|
+
],
|
8560
|
+
[
|
8561
|
+
"unknown",
|
8562
|
+
0
|
8563
|
+
],
|
8564
|
+
[
|
8565
|
+
"unknown",
|
8566
|
+
1
|
8567
|
+
]
|
8568
|
+
],
|
8533
8569
|
[
|
8534
8570
|
[
|
8535
8571
|
"is",
|
@@ -30169,6 +30205,42 @@
|
|
30169
30205
|
1
|
30170
30206
|
]
|
30171
30207
|
],
|
30208
|
+
[
|
30209
|
+
[
|
30210
|
+
"is",
|
30211
|
+
0
|
30212
|
+
],
|
30213
|
+
[
|
30214
|
+
"list",
|
30215
|
+
0
|
30216
|
+
],
|
30217
|
+
[
|
30218
|
+
"unknown",
|
30219
|
+
0
|
30220
|
+
],
|
30221
|
+
[
|
30222
|
+
"unknown",
|
30223
|
+
1
|
30224
|
+
]
|
30225
|
+
],
|
30226
|
+
[
|
30227
|
+
[
|
30228
|
+
"is",
|
30229
|
+
0
|
30230
|
+
],
|
30231
|
+
[
|
30232
|
+
"list",
|
30233
|
+
0
|
30234
|
+
],
|
30235
|
+
[
|
30236
|
+
"unknown",
|
30237
|
+
0
|
30238
|
+
],
|
30239
|
+
[
|
30240
|
+
"unknown",
|
30241
|
+
1
|
30242
|
+
]
|
30243
|
+
],
|
30172
30244
|
[
|
30173
30245
|
[
|
30174
30246
|
"is",
|
@@ -1073,7 +1073,7 @@
|
|
1073
1073
|
}
|
1074
1074
|
]
|
1075
1075
|
},
|
1076
|
-
"trace": "\n\n>>>>>>>>>>>>> Counter 1\n summary\n\n 0. price/0 (1, 1) - \"price\"\n 1. list/0 (1, 5) - \"and\"\n 2. quantity/0 (1, 9) - \"quantity\"\n 3. is/0 (1, 12) - \"are\"\n 4. property/0 (1, 18) - \"properties\"\n\n details\n\n 0. price/0 (1, 1) - \"price\"\n {\n default: true\n marker: Operator(price/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 5) - \"and\"\n {\n default: true\n marker: Operator(list/0, PASS, ['Selector(Bridge(\\'{ ...next(operator), listable: true, isList: true, value: append(before, after) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])], bridge(bridge))'], evaluator(Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')), variables({}) bridge(bridge))\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n 2. quantity/0 (1, 9) - \"quantity\"\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (1, 18) - \"properties\"\n {\n marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is Context({default: True, marker: Operator(price/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge)), range: {'start': 0, 'end': 4}, text: price, value: price, word: price})\n\n>>>>>>>>>>>>> Counter 2\n summary\n\n *0. price/1 (dead) (2, 0) - \"price\"\n 1. list/0 (1, 5) - \"and\"\n 2. quantity/0 (1, 9) - \"quantity\"\n 3. is/0 (1, 12) - \"are\"\n 4. property/0 (1, 18) - \"properties\"\n\n details\n\n *0. price/1 (dead) (2, 0) - \"price\"\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 5) - \"and\"\n {\n default: true\n marker: Operator(list/0, PASS, ['Selector(Bridge(\\'{ ...next(operator), listable: true, isList: true, value: append(before, after) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])], bridge(bridge))'], evaluator(Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')), variables({}) bridge(bridge))\n range: {'start': 6, 'end': 8}\n text: \"and\"\n types: [\n ]\n word: \"and\"\n }\n 2. quantity/0 (1, 9) - \"quantity\"\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (1, 18) - \"properties\"\n {\n marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is Context({default: True, marker: Operator(list/0, PASS, ['Selector(Bridge(\\'{ ...next(operator), listable: true, isList: true, value: append(before, after) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])], bridge(bridge))'], evaluator(Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')), variables({}) bridge(bridge)), range: {'start': 6, 'end': 8}, text: and, types: [], word: and})\n\n>>>>>>>>>>>>> Counter 3\n summary\n\n *0. list/1 (3, 0) - \"price and quantity\"\n 1. is/0 (1, 12) - \"are\"\n 2. property/0 (1, 18) - \"properties\"\n\n details\n\n *0. list/1 (3, 0) - \"price and quantity\"\n {\n prioritized_by: [('list', 0)]\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['theAble', 'queryable', 'number', 'comparable', 'quantifier', 'property', 'quantity']}) bridge(bridge))\n range: {'start': 0, 'end': 17}\n text: \"price and quantity\"\n types: [\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n 1. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 2. property/0 (1, 18) - \"properties\"\n {\n marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=2) is Context({marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge)), range: {'start': 23, 'end': 32}, text: properties, value: property, word: properties})\n\n>>>>>>>>>>>>> Counter 4\n summary\n\n 0. list/1 (3, 0) - \"price and quantity\"\n 1. is/0 (1, 12) - \"are\"\n *2. property/1 (dead) (2, 1) - \"properties\"\n\n details\n\n 0. list/1 (3, 0) - \"price and quantity\"\n {\n prioritized_by: [('list', 0)]\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['theAble', 'queryable', 'number', 'comparable', 'quantifier', 'property', 'quantity']}) bridge(bridge))\n range: {'start': 0, 'end': 17}\n text: \"price and quantity\"\n types: [\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n 1. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n *2. property/1 (dead) (2, 1) - \"properties\"\n {\n prioritized_by: [('property', 0)]\n dead: true\n marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is Context({marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge)), number: many, range: {'start': 19, 'end': 21}, text: are, word: are})\n\n>>>>>>>>>>>>> Counter 5\n summary\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 0)]\n marker: Operator(is/1, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({'count': 2, 'found_types': []}) bridge(bridge))\n number: \"many\"\n one: {\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['theAble', 'queryable', 'number', 'comparable', 'quantifier', 'property', 'quantity']}) bridge(bridge))\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'price'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: {\n prioritized_by: [('property', 0)]\n dead: true\n marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is Context({marker: Operator(is/1, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({'count': 2, 'found_types': []}) bridge(bridge)), number: many, one: Context({default: True, isList: True, listable: True, marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['theAble', 'queryable', 'number', 'comparable', 'quantifier', 'property', 'quantity']}) bridge(bridge)), number: many, range: {'start': 0, 'end': 32}, text: price and quantity, types: ['price'], value: [Context({dead: True, default: True, marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge)), range: {'start': 0, 'end': 4}, text: price, value: price, word: price}), Context({default: True, marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge)), range: {'start': 10, 'end': 17}, text: quantity, value: quantity, word: quantity})], word: and}), range: {'start': 0, 'end': 32}, text: price and quantity are properties, two: Context({dead: True, marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge)), range: {'start': 23, 'end': 32}, text: properties, types: ['property'], value: property, word: properties}), word: are})\n\n>>>>>>>>>>>>> Counter 6\n summary\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 1)]\n dead: true\n marker: Operator(is/2, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n number: \"many\"\n one: {\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['theAble', 'queryable', 'number', 'comparable', 'quantifier', 'property', 'quantity']}) bridge(bridge))\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'price'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: {\n prioritized_by: [('property', 0)]\n dead: true\n marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\n",
|
1076
|
+
"trace": "\n\n>>>>>>>>>>>>> Counter 1\n summary\n\n 0. price/0 (1, 1) - \"price\"\n 1. list/0 (1, 5) - \"and\"\n 2. quantity/0 (1, 9) - \"quantity\"\n 3. is/0 (1, 12) - \"are\"\n 4. property/0 (1, 18) - \"properties\"\n\n details\n\n 0. price/0 (1, 1) - \"price\"\n {\n default: true\n marker: Operator(price/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 5) - \"and\"\n {\n default: true\n marker: Operator(list/0, PASS, ['Selector(Bridge(\\'{ ...next(operator), listable: true, isList: true, value: append(before, after) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])], bridge(bridge))'], evaluator(Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')), variables({}) bridge(bridge))\n range: {'start': 6, 'end': 8}\n text: \"and\"\n word: \"and\"\n }\n 2. quantity/0 (1, 9) - \"quantity\"\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (1, 18) - \"properties\"\n {\n marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is Context({default: True, marker: Operator(price/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge)), range: {'start': 0, 'end': 4}, text: price, value: price, word: price})\n\n>>>>>>>>>>>>> Counter 2\n summary\n\n *0. price/1 (dead) (2, 0) - \"price\"\n 1. list/0 (1, 5) - \"and\"\n 2. quantity/0 (1, 9) - \"quantity\"\n 3. is/0 (1, 12) - \"are\"\n 4. property/0 (1, 18) - \"properties\"\n\n details\n\n *0. price/1 (dead) (2, 0) - \"price\"\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n 1. list/0 (1, 5) - \"and\"\n {\n default: true\n marker: Operator(list/0, PASS, ['Selector(Bridge(\\'{ ...next(operator), listable: true, isList: true, value: append(before, after) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])], bridge(bridge))'], evaluator(Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')), variables({}) bridge(bridge))\n range: {'start': 6, 'end': 8}\n text: \"and\"\n types: [\n ]\n word: \"and\"\n }\n 2. quantity/0 (1, 9) - \"quantity\"\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n 3. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 4. property/0 (1, 18) - \"properties\"\n {\n marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is Context({default: True, marker: Operator(list/0, PASS, ['Selector(Bridge(\\'{ ...next(operator), listable: true, isList: true, value: append(before, after) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])], bridge(bridge))'], evaluator(Bridge('{ ...next(operator), listable: true, isList: true, value: append(before, after) }')), variables({}) bridge(bridge)), range: {'start': 6, 'end': 8}, text: and, types: [], word: and})\n\n>>>>>>>>>>>>> Counter 3\n summary\n\n *0. list/1 (3, 0) - \"price and quantity\"\n 1. is/0 (1, 12) - \"are\"\n 2. property/0 (1, 18) - \"properties\"\n\n details\n\n *0. list/1 (3, 0) - \"price and quantity\"\n {\n prioritized_by: [('list', 0)]\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['number', 'queryable', 'property', 'quantifier', 'quantity', 'comparable', 'theAble']}) bridge(bridge))\n range: {'start': 0, 'end': 17}\n text: \"price and quantity\"\n types: [\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n 1. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n 2. property/0 (1, 18) - \"properties\"\n {\n marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=2) is Context({marker: Operator(property/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge)), range: {'start': 23, 'end': 32}, text: properties, value: property, word: properties})\n\n>>>>>>>>>>>>> Counter 4\n summary\n\n 0. list/1 (3, 0) - \"price and quantity\"\n 1. is/0 (1, 12) - \"are\"\n *2. property/1 (dead) (2, 1) - \"properties\"\n\n details\n\n 0. list/1 (3, 0) - \"price and quantity\"\n {\n prioritized_by: [('list', 0)]\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['number', 'queryable', 'property', 'quantifier', 'quantity', 'comparable', 'theAble']}) bridge(bridge))\n range: {'start': 0, 'end': 17}\n text: \"price and quantity\"\n types: [\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n 1. is/0 (1, 12) - \"are\"\n {\n marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge))\n number: \"many\"\n range: {'start': 19, 'end': 21}\n text: \"are\"\n word: \"are\"\n }\n *2. property/1 (dead) (2, 1) - \"properties\"\n {\n prioritized_by: [('property', 0)]\n dead: true\n marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n value: \"property\"\n word: \"properties\"\n }\n<<<<<<<<<<<<<\nNext Op (index=1) is Context({marker: Operator(is/0, [\"Selector(Bridge('{ ...next(operator), one: after[0], two: after[1], query: true }'), , []<==>[Type('queryable'), Type('queryable')], bridge(queryBridge))\", \"Selector(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }'), , [Type('queryable')]<==>[Type('queryable')], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator), one: { number: operator.number, ...before[0] }, two: after[0] }')), variables({}) bridge(bridge)), number: many, range: {'start': 19, 'end': 21}, text: are, word: are})\n\n>>>>>>>>>>>>> Counter 5\n summary\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/1 (4, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 0)]\n marker: Operator(is/1, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({'count': 2, 'found_types': []}) bridge(bridge))\n number: \"many\"\n one: {\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['number', 'queryable', 'property', 'quantifier', 'quantity', 'comparable', 'theAble']}) bridge(bridge))\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'price'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: {\n prioritized_by: [('property', 0)]\n dead: true\n marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\nNext Op (index=0) is Context({marker: Operator(is/1, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({'count': 2, 'found_types': []}) bridge(bridge)), number: many, one: Context({default: True, isList: True, listable: True, marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['number', 'queryable', 'property', 'quantifier', 'quantity', 'comparable', 'theAble']}) bridge(bridge)), number: many, range: {'start': 0, 'end': 32}, text: price and quantity, types: ['price'], value: [Context({dead: True, default: True, marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge)), range: {'start': 0, 'end': 4}, text: price, value: price, word: price}), Context({default: True, marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge)), range: {'start': 10, 'end': 17}, text: quantity, value: quantity, word: quantity})], word: and}), range: {'start': 0, 'end': 32}, text: price and quantity are properties, two: Context({dead: True, marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge)), range: {'start': 23, 'end': 32}, text: properties, types: ['property'], value: property, word: properties}), word: are})\n\n>>>>>>>>>>>>> Counter 6\n summary\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n\n details\n\n *0. is/2 (dead) (5, 0) - \"price and quantity are properties\"\n {\n prioritized_by: [('is', 1)]\n dead: true\n marker: Operator(is/2, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n number: \"many\"\n one: {\n default: true\n isList: true\n listable: true\n marker: Operator(list/1, PASS, ['Selector(Bridge(\\'{ ...operator, value: append(before, operator.value) }\\'), , same/(), [And([\"Type(variable: \\'type\\')\", \"Listable(Unify(Property((\\'context\\', \\'instance\\')), Property((\\'variables\\', \\'instance\\'))))\"])]<==>[], bridge(bridge), passthrough)'], evaluator(Bridge('{ ...operator, value: append(before, operator.value) }')), variables({'count': 2, 'found_types': ['quantity', 'price'], 'type': ['number', 'queryable', 'property', 'quantifier', 'quantity', 'comparable', 'theAble']}) bridge(bridge))\n number: \"many\"\n range: {'start': 0, 'end': 32}\n text: \"price and quantity\"\n types: [\n 'price'\n ]\n value: [\n {\n prioritized_by: [('price', 0)]\n dead: true\n default: true\n marker: Operator(price/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 0, 'end': 4}\n text: \"price\"\n value: \"price\"\n word: \"price\"\n }\n\n {\n default: true\n marker: Operator(quantity/0, [\"Selector(Bridge('{ ...next(operator) }'), , []<==>[], bridge(bridge))\"], evaluator(Bridge('{ ...next(operator) }')), variables({}) bridge(bridge))\n range: {'start': 10, 'end': 17}\n text: \"quantity\"\n value: \"quantity\"\n word: \"quantity\"\n }\n ]\n word: \"and\"\n }\n\n range: {'start': 0, 'end': 32}\n text: \"price and quantity are properties\"\n two: {\n prioritized_by: [('property', 0)]\n dead: true\n marker: Operator(property/1, ['Selector(None, , []<==>[], bridge(bridge))'], evaluator(None), variables({}) bridge(bridge))\n range: {'start': 23, 'end': 32}\n text: \"properties\"\n types: [\n 'property'\n ]\n value: \"property\"\n word: \"properties\"\n }\n\n word: \"are\"\n }\n<<<<<<<<<<<<<\n",
|
1077
1077
|
"contexts": [
|
1078
1078
|
{
|
1079
1079
|
"number": "many",
|
package/common/wp.instance.json
CHANGED
@@ -243,6 +243,26 @@
|
|
243
243
|
}
|
244
244
|
],
|
245
245
|
"priorities": [
|
246
|
+
{
|
247
|
+
"context": [
|
248
|
+
[
|
249
|
+
"paragraphComparisonVerb_wp",
|
250
|
+
0
|
251
|
+
],
|
252
|
+
[
|
253
|
+
"word_wp",
|
254
|
+
0
|
255
|
+
],
|
256
|
+
[
|
257
|
+
"wordComparisonWithVerb_wp",
|
258
|
+
0
|
259
|
+
]
|
260
|
+
],
|
261
|
+
"ordered": true,
|
262
|
+
"choose": [
|
263
|
+
2
|
264
|
+
]
|
265
|
+
},
|
246
266
|
{
|
247
267
|
"context": [
|
248
268
|
[
|
@@ -41358,13 +41378,33 @@
|
|
41358
41378
|
],
|
41359
41379
|
"semantics": [
|
41360
41380
|
{
|
41361
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:
|
41381
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:322"
|
41362
41382
|
},
|
41363
41383
|
{
|
41364
|
-
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:
|
41384
|
+
"where": "/home/dev/code/theprogrammablemind/kms/common/wp.js:331"
|
41365
41385
|
}
|
41366
41386
|
],
|
41367
41387
|
"priorities": [
|
41388
|
+
{
|
41389
|
+
"context": [
|
41390
|
+
[
|
41391
|
+
"paragraphComparisonVerb_wp",
|
41392
|
+
0
|
41393
|
+
],
|
41394
|
+
[
|
41395
|
+
"word_wp",
|
41396
|
+
0
|
41397
|
+
],
|
41398
|
+
[
|
41399
|
+
"wordComparisonWithVerb_wp",
|
41400
|
+
0
|
41401
|
+
]
|
41402
|
+
],
|
41403
|
+
"ordered": true,
|
41404
|
+
"choose": [
|
41405
|
+
2
|
41406
|
+
]
|
41407
|
+
},
|
41368
41408
|
{
|
41369
41409
|
"context": [
|
41370
41410
|
[
|