tpmkms_4wp 7.12.8-beta.4 → 7.12.8-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/common/animals.instance.json +67 -227
  2. package/common/animals.js +1 -1
  3. package/common/avatar.js +7 -5
  4. package/common/characters.js +7 -5
  5. package/common/crew.instance.json +257 -417
  6. package/common/crew.js +1 -1
  7. package/common/currency.js +0 -2
  8. package/common/dialogues.js +13 -11
  9. package/common/dimension.instance.json +10 -10
  10. package/common/dimension.js +1 -1
  11. package/common/edible.instance.json +139 -255
  12. package/common/edible.js +1 -1
  13. package/common/emotions.instance.json +56 -32
  14. package/common/emotions.js +1 -1
  15. package/common/fastfood.instance.json +915 -1919
  16. package/common/fastfood.js +1 -1
  17. package/common/formulas.instance.json +7 -7
  18. package/common/formulas.js +2 -2
  19. package/common/help.js +4 -2
  20. package/common/helpers.js +5 -0
  21. package/common/javascript.js +8 -6
  22. package/common/kirk.instance.json +1 -1
  23. package/common/kirk.js +1 -1
  24. package/common/length.instance.json +37 -217
  25. package/common/length.js +1 -1
  26. package/common/math.instance.json +19 -39
  27. package/common/math.js +1 -1
  28. package/common/meta.instance.json +1 -1
  29. package/common/meta.js +29 -10
  30. package/common/numbers.js +31 -24
  31. package/common/ordering.instance.json +86 -82
  32. package/common/ordering.js +1 -1
  33. package/common/people.instance.json +42 -70
  34. package/common/people.js +1 -1
  35. package/common/pipboy.instance.json +109 -169
  36. package/common/pipboy.js +1 -1
  37. package/common/pokemon.instance.json +31 -87
  38. package/common/pokemon.js +1 -1
  39. package/common/pressure.instance.json +10 -30
  40. package/common/pressure.js +1 -1
  41. package/common/properties.instance.json +16 -44
  42. package/common/properties.js +13 -8
  43. package/common/reports.instance.json +6 -62
  44. package/common/reports.js +9 -7
  45. package/common/scorekeeper.instance.json +1 -1
  46. package/common/scorekeeper.js +9 -7
  47. package/common/spock.instance.json +1 -1
  48. package/common/spock.js +1 -1
  49. package/common/tell.js +4 -2
  50. package/common/temperature.instance.json +13 -129
  51. package/common/temperature.js +1 -1
  52. package/common/time.js +36 -20
  53. package/common/time.test.json +66 -44
  54. package/common/ui.instance.json +1 -1
  55. package/common/weight.instance.json +25 -193
  56. package/common/weight.js +1 -1
  57. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "queries": [
2
+ "configs": [
3
3
  "mathematical modifies operator",
4
4
  "* + / and - are mathematical operators",
5
5
  {
@@ -542,13 +542,13 @@
542
542
  "modifiers": [
543
543
  {
544
544
  "marker": "unknown",
545
+ "value": "mathematical",
546
+ "word": "mathematical",
547
+ "text": "mathematical",
545
548
  "range": {
546
549
  "start": 0,
547
550
  "end": 11
548
551
  },
549
- "word": "mathematical",
550
- "text": "mathematical",
551
- "value": "mathematical",
552
552
  "unknown": true,
553
553
  "dead": true,
554
554
  "level": 1
@@ -556,13 +556,13 @@
556
556
  ],
557
557
  "concept": {
558
558
  "marker": "unknown",
559
+ "value": "operator",
560
+ "word": "operator",
561
+ "text": "operator",
559
562
  "range": {
560
563
  "start": 22,
561
564
  "end": 29
562
565
  },
563
- "word": "operator",
564
- "text": "operator",
565
- "value": "operator",
566
566
  "unknown": true,
567
567
  "dead": true,
568
568
  "level": 1
@@ -1359,52 +1359,52 @@
1359
1359
  "value": [
1360
1360
  {
1361
1361
  "marker": "unknown",
1362
+ "value": "*",
1363
+ "word": "*",
1364
+ "text": "*",
1362
1365
  "range": {
1363
1366
  "start": 0,
1364
1367
  "end": 0
1365
1368
  },
1366
- "word": "*",
1367
- "text": "*",
1368
- "value": "*",
1369
1369
  "unknown": true,
1370
1370
  "dead": true,
1371
1371
  "level": 1
1372
1372
  },
1373
1373
  {
1374
1374
  "marker": "unknown",
1375
+ "value": "+",
1376
+ "word": "+",
1377
+ "text": "+",
1375
1378
  "range": {
1376
1379
  "start": 2,
1377
1380
  "end": 2
1378
1381
  },
1379
- "word": "+",
1380
- "text": "+",
1381
- "value": "+",
1382
1382
  "unknown": true,
1383
1383
  "dead": true,
1384
1384
  "level": 1
1385
1385
  },
1386
1386
  {
1387
1387
  "marker": "unknown",
1388
+ "value": "/",
1389
+ "word": "/",
1390
+ "text": "/",
1388
1391
  "range": {
1389
1392
  "start": 4,
1390
1393
  "end": 4
1391
1394
  },
1392
- "word": "/",
1393
- "text": "/",
1394
- "value": "/",
1395
1395
  "unknown": true,
1396
1396
  "dead": true,
1397
1397
  "level": 2
1398
1398
  },
1399
1399
  {
1400
1400
  "marker": "unknown",
1401
+ "value": "-",
1402
+ "word": "-",
1403
+ "text": "-",
1401
1404
  "range": {
1402
1405
  "start": 10,
1403
1406
  "end": 10
1404
1407
  },
1405
- "word": "-",
1406
- "text": "-",
1407
- "value": "-",
1408
1408
  "unknown": true,
1409
1409
  "dead": true,
1410
1410
  "level": 2
@@ -1596,16 +1596,6 @@
1596
1596
  "unknown",
1597
1597
  1
1598
1598
  ]
1599
- ],
1600
- [
1601
- [
1602
- "mathematical",
1603
- 0
1604
- ],
1605
- [
1606
- "unknown",
1607
- 0
1608
- ]
1609
1599
  ]
1610
1600
  ],
1611
1601
  "learned_contextual_priorities": [],
@@ -1931,16 +1921,6 @@
1931
1921
  1
1932
1922
  ]
1933
1923
  ],
1934
- [
1935
- [
1936
- "mathematical",
1937
- 0
1938
- ],
1939
- [
1940
- "unknown",
1941
- 0
1942
- ]
1943
- ],
1944
1924
  [
1945
1925
  [
1946
1926
  "modifies",
package/common/math.js CHANGED
@@ -106,7 +106,7 @@ let configStruct = {
106
106
  };
107
107
 
108
108
  const template = {
109
- queries: [
109
+ configs: [
110
110
  "mathematical modifies operator",
111
111
  "* + / and - are mathematical operators",
112
112
  configStruct,
@@ -1,5 +1,5 @@
1
1
  {
2
- "queries": [],
2
+ "configs": [],
3
3
  "resultss": [],
4
4
  "fragments": [],
5
5
  "semantics": [],
package/common/meta.js CHANGED
@@ -6,10 +6,10 @@ ensureTestFile(module, 'meta', 'instance')
6
6
  const meta_tests = require('./meta.test.json')
7
7
  const meta_instance = require('./meta.instance.json')
8
8
  const { hashIndexesGet, hashIndexesSet, translationMapping, translationMappings } = require('./helpers/meta.js')
9
- const { zip } = require('./helpers.js')
9
+ const { zip, words } = require('./helpers.js')
10
10
 
11
11
  const template = {
12
- queries: [
12
+ configs: [
13
13
  // "if f then g",
14
14
  //"if e or f then g",
15
15
  ]
@@ -59,6 +59,23 @@ let configStruct = {
59
59
  { child: 'orAble', parent: 'ifAble' },
60
60
  ],
61
61
  bridges: [
62
+ /*
63
+ {
64
+ id: "synonym",
65
+ // implicit words in singular/plural
66
+ words: words('synonym'),
67
+ operator: "([synonym])",
68
+ },
69
+ {
70
+ id: 'synonymOfWord',
71
+ operator: "((synonym/*) [synonymOfWord|of] (word))",
72
+ bridge: "{ ...next(operator), word: after[0] }",
73
+ evaluator: ({context}) => {
74
+ debugger
75
+ debugger
76
+ }
77
+ },
78
+ */
62
79
  {id: "orList", level: 0, selector: {left: [{ marker: 'orAble' }], right: [{ marker: 'orAble' }], passthrough: true}, bridge: "{ ...next(operator), value: append(before, after) }"},
63
80
  {id: "orList", level: 1, selector: {left: [{ marker: 'orAble' }], passthrough: true}, bridge: "{ ...operator, value: append(before, operator.value) }"},
64
81
 
@@ -81,14 +98,16 @@ let configStruct = {
81
98
  ],
82
99
  version: '3',
83
100
  words: {
84
- // 'testWord2': [{"id": "testWord2", "initial": "{ value: 'testWord2Value' }" }],
85
- // TODO make this development and select out for module
86
- // 'x': [{id: "x", initial: "{ value: 'x' }", development: true }],
87
- // 'f': [{id: "ifAble", initial: "{ word: 'f' }", development: true }],
88
- // 'g': [{id: "ifAble", initial: "{ word: 'g' }", development: true }],
89
- 'f': [{id: "f", initial: "{ value: 'f', word: 'f' }", development: true }],
90
- 'x': [{id: "x", initial: "{ value: 'x', word: 'x' }", development: true }],
91
- 'gq': [{id: "g", initial: "{ word: 'gq', query: true }", development: true }],
101
+ "literals": {
102
+ // 'testWord2': [{"id": "testWord2", "initial": "{ value: 'testWord2Value' }" }],
103
+ // TODO make this development and select out for module
104
+ // 'x': [{id: "x", initial: "{ value: 'x' }", development: true }],
105
+ // 'f': [{id: "ifAble", initial: "{ word: 'f' }", development: true }],
106
+ // 'g': [{id: "ifAble", initial: "{ word: 'g' }", development: true }],
107
+ 'f': [{id: "f", initial: "{ value: 'f', word: 'f' }", development: true }],
108
+ 'x': [{id: "x", initial: "{ value: 'x', word: 'x' }", development: true }],
109
+ 'gq': [{id: "g", initial: "{ word: 'gq', query: true }", development: true }],
110
+ }
92
111
  },
93
112
  generators: [
94
113
  {
package/common/numbers.js CHANGED
@@ -20,30 +20,37 @@ let configStruct = {
20
20
  debug: false,
21
21
  version: '3',
22
22
  words: {
23
- // start with a space for regular expressions
24
- " ([0-9]+$)": [{"id": "number", "initial": "{ value: int(group[0]), instance: true }" }],
25
- " ([0-9]+[.][0-9]+$)": [{"id": "number", "initial": "{ value: float(group[0]), instance: true }" }],
26
- " ([.][0-9]+$)": [{"id": "number", "initial": "{ value: float(group[0]), instance: true }" }],
27
- "one": [{"id": "number", "initial": "{ value: 1, instance:true }" }],
28
- "ones": [{"id": "number", "initial": "{ value: 1, number: 'many', instance:true }" }],
29
- "two": [{"id": "number", "initial": "{ value: 2 , instance:true}" }],
30
- "twos": [{"id": "number", "initial": "{ value: 2 , number: 'many', instance:true}" }],
31
- "three": [{"id": "number", "initial": "{ value: 3, instance:true }" }],
32
- "threes": [{"id": "number", "initial": "{ value: 3, number: 'many', instance:true }" }],
33
- "four": [{"id": "number", "initial": "{ value: 4, instance:true }" }],
34
- "fours": [{"id": "number", "initial": "{ value: 4, number: 'many', instance:true }" }],
35
- "five": [{"id": "number", "initial": "{ value: 5, instance:true }" }],
36
- "fives": [{"id": "number", "initial": "{ value: 5, number: 'many', instance:true }" }],
37
- "six": [{"id": "number", "initial": "{ value: 6, instance:true }" }],
38
- "sixes": [{"id": "number", "initial": "{ value: 6, number: 'many', instance:true }" }],
39
- "seven": [{"id": "number", "initial": "{ value: 7, instance:true }" }],
40
- "sevens": [{"id": "number", "initial": "{ value: 7, number: 'many', instance:true }" }],
41
- "eight": [{"id": "number", "initial": "{ value: 8, instance:true }" }],
42
- "eights": [{"id": "number", "initial": "{ value: 8, number: 'many', instance:true }" }],
43
- "nine": [{"id": "number", "initial": "{ value: 9, instance:true }" }],
44
- "nines": [{"id": "number", "initial": "{ value: 9, number: 'many', instance:true }" }],
45
- "ten": [{"id": "number", "initial": "{ value: 10, instance:true }" }],
46
- "tens": [{"id": "number", "initial": "{ value: 10, number: 'many', instance:true }" }],
23
+ "literals": {
24
+ // start with a space for regular expressions
25
+ " ([0-9]+$)": [{"id": "number", "initial": "{ value: int(group[0]), instance: true }" }],
26
+ " ([0-9]+[.][0-9]+$)": [{"id": "number", "initial": "{ value: float(group[0]), instance: true }" }],
27
+ " ([.][0-9]+$)": [{"id": "number", "initial": "{ value: float(group[0]), instance: true }" }],
28
+ "one": [{"id": "number", "initial": "{ value: 1, instance:true }" }],
29
+ "ones": [{"id": "number", "initial": "{ value: 1, number: 'many', instance:true }" }],
30
+ "two": [{"id": "number", "initial": "{ value: 2 , instance:true}" }],
31
+ "twos": [{"id": "number", "initial": "{ value: 2 , number: 'many', instance:true}" }],
32
+ "three": [{"id": "number", "initial": "{ value: 3, instance:true }" }],
33
+ "threes": [{"id": "number", "initial": "{ value: 3, number: 'many', instance:true }" }],
34
+ "four": [{"id": "number", "initial": "{ value: 4, instance:true }" }],
35
+ "fours": [{"id": "number", "initial": "{ value: 4, number: 'many', instance:true }" }],
36
+ "five": [{"id": "number", "initial": "{ value: 5, instance:true }" }],
37
+ "fives": [{"id": "number", "initial": "{ value: 5, number: 'many', instance:true }" }],
38
+ "six": [{"id": "number", "initial": "{ value: 6, instance:true }" }],
39
+ "sixes": [{"id": "number", "initial": "{ value: 6, number: 'many', instance:true }" }],
40
+ "seven": [{"id": "number", "initial": "{ value: 7, instance:true }" }],
41
+ "sevens": [{"id": "number", "initial": "{ value: 7, number: 'many', instance:true }" }],
42
+ "eight": [{"id": "number", "initial": "{ value: 8, instance:true }" }],
43
+ "eights": [{"id": "number", "initial": "{ value: 8, number: 'many', instance:true }" }],
44
+ "nine": [{"id": "number", "initial": "{ value: 9, instance:true }" }],
45
+ "nines": [{"id": "number", "initial": "{ value: 9, number: 'many', instance:true }" }],
46
+ "ten": [{"id": "number", "initial": "{ value: 10, instance:true }" }],
47
+ "tens": [{"id": "number", "initial": "{ value: 10, number: 'many', instance:true }" }],
48
+ },
49
+ patterns: [
50
+ { "pattern": [{ type: 'digit' }, { repeat: true }], defs: [{id: "number", uuid: '1', initial: "{ value: int(text), instance: true }" }]},
51
+ { "pattern": [{ type: 'digit' }, { repeat: true }, '.', { type: 'digit' }, { repeat: true }], defs: [{id: "number", uuid: '1', initial: "{ value: float(text), instance: true }" }]},
52
+ { "pattern": ['.', { type: 'digit' }, { repeat: true }], defs: [{id: "number", uuid: '1', initial: "{ value: float(text), instance: true }" }]},
53
+ ],
47
54
  },
48
55
 
49
56
  hierarchy: [
@@ -1,5 +1,5 @@
1
1
  {
2
- "queries": [
2
+ "configs": [
3
3
  "wants is xfx between wanter and wantee",
4
4
  "if x likes y or x loves y then x wants y"
5
5
  ],
@@ -518,13 +518,13 @@
518
518
  "one": {
519
519
  "number": "one",
520
520
  "marker": "unknown",
521
+ "value": "wants",
522
+ "word": "wants",
523
+ "text": "wants",
521
524
  "range": {
522
525
  "start": 0,
523
526
  "end": 37
524
527
  },
525
- "word": "wants",
526
- "text": "wants",
527
- "value": "wants",
528
528
  "unknown": true,
529
529
  "dead": true,
530
530
  "types": [
@@ -564,26 +564,26 @@
564
564
  "value": [
565
565
  {
566
566
  "marker": "type",
567
+ "value": "wanter",
568
+ "word": "wanter",
569
+ "text": "wanter",
567
570
  "range": {
568
571
  "start": 21,
569
572
  "end": 26
570
573
  },
571
- "word": "wanter",
572
- "text": "wanter",
573
- "value": "wanter",
574
574
  "unknown": true,
575
575
  "dead": true,
576
576
  "level": 1
577
577
  },
578
578
  {
579
579
  "marker": "type",
580
+ "value": "wantee",
581
+ "word": "wantee",
582
+ "text": "wantee",
580
583
  "range": {
581
584
  "start": 32,
582
585
  "end": 37
583
586
  },
584
- "word": "wantee",
585
- "text": "wantee",
586
- "value": "wantee",
587
587
  "unknown": true,
588
588
  "dead": true,
589
589
  "level": 1
@@ -719,24 +719,6 @@
719
719
  1
720
720
  ]
721
721
  ],
722
- [
723
- [
724
- "between",
725
- 0
726
- ],
727
- [
728
- "is",
729
- 0
730
- ],
731
- [
732
- "unknown",
733
- 0
734
- ],
735
- [
736
- "xfx",
737
- 0
738
- ]
739
- ],
740
722
  [
741
723
  [
742
724
  "between",
@@ -1625,13 +1607,13 @@
1625
1607
  },
1626
1608
  "liker": {
1627
1609
  "marker": "unknown",
1610
+ "value": "x",
1611
+ "word": "x",
1612
+ "text": "x",
1628
1613
  "range": {
1629
1614
  "start": 3,
1630
1615
  "end": 3
1631
1616
  },
1632
- "word": "x",
1633
- "text": "x",
1634
- "value": "x",
1635
1617
  "unknown": true,
1636
1618
  "dead": true,
1637
1619
  "types": [
@@ -1641,13 +1623,13 @@
1641
1623
  },
1642
1624
  "likee": {
1643
1625
  "marker": "unknown",
1626
+ "value": "y",
1627
+ "word": "y",
1628
+ "text": "y",
1644
1629
  "range": {
1645
1630
  "start": 11,
1646
1631
  "end": 11
1647
1632
  },
1648
- "word": "y",
1649
- "text": "y",
1650
- "value": "y",
1651
1633
  "unknown": true,
1652
1634
  "dead": true,
1653
1635
  "types": [
@@ -1690,13 +1672,13 @@
1690
1672
  },
1691
1673
  "lover": {
1692
1674
  "marker": "unknown",
1675
+ "value": "x",
1676
+ "word": "x",
1677
+ "text": "x",
1693
1678
  "range": {
1694
1679
  "start": 16,
1695
1680
  "end": 16
1696
1681
  },
1697
- "word": "x",
1698
- "text": "x",
1699
- "value": "x",
1700
1682
  "unknown": true,
1701
1683
  "dead": true,
1702
1684
  "types": [
@@ -1706,13 +1688,13 @@
1706
1688
  },
1707
1689
  "lovee": {
1708
1690
  "marker": "unknown",
1691
+ "value": "y",
1692
+ "word": "y",
1693
+ "text": "y",
1709
1694
  "range": {
1710
1695
  "start": 24,
1711
1696
  "end": 24
1712
1697
  },
1713
- "word": "y",
1714
- "text": "y",
1715
- "value": "y",
1716
1698
  "unknown": true,
1717
1699
  "dead": true,
1718
1700
  "types": [
@@ -1761,13 +1743,13 @@
1761
1743
  },
1762
1744
  "wanter": {
1763
1745
  "marker": "unknown",
1746
+ "value": "x",
1747
+ "word": "x",
1748
+ "text": "x",
1764
1749
  "range": {
1765
1750
  "start": 31,
1766
1751
  "end": 31
1767
1752
  },
1768
- "word": "x",
1769
- "text": "x",
1770
- "value": "x",
1771
1753
  "unknown": true,
1772
1754
  "dead": true,
1773
1755
  "types": [
@@ -1777,13 +1759,13 @@
1777
1759
  },
1778
1760
  "wantee": {
1779
1761
  "marker": "unknown",
1762
+ "value": "y",
1763
+ "word": "y",
1764
+ "text": "y",
1780
1765
  "range": {
1781
1766
  "start": 39,
1782
1767
  "end": 39
1783
1768
  },
1784
- "word": "y",
1785
- "text": "y",
1786
- "value": "y",
1787
1769
  "unknown": true,
1788
1770
  "dead": true,
1789
1771
  "types": [
@@ -1882,6 +1864,10 @@
1882
1864
  "unknown",
1883
1865
  0
1884
1866
  ],
1867
+ [
1868
+ "unknown",
1869
+ 1
1870
+ ],
1885
1871
  [
1886
1872
  "want",
1887
1873
  0
@@ -1910,7 +1896,7 @@
1910
1896
  ],
1911
1897
  [
1912
1898
  "unknown",
1913
- 1
1899
+ 0
1914
1900
  ],
1915
1901
  [
1916
1902
  "want",
@@ -1924,7 +1910,7 @@
1924
1910
  ],
1925
1911
  [
1926
1912
  "like",
1927
- 1
1913
+ 0
1928
1914
  ],
1929
1915
  [
1930
1916
  "love",
@@ -1958,7 +1944,7 @@
1958
1944
  ],
1959
1945
  [
1960
1946
  "love",
1961
- 1
1947
+ 0
1962
1948
  ],
1963
1949
  [
1964
1950
  "orList",
@@ -1999,8 +1985,12 @@
1999
1985
  0
2000
1986
  ],
2001
1987
  [
2002
- "want",
1988
+ "unknown",
2003
1989
  1
1990
+ ],
1991
+ [
1992
+ "want",
1993
+ 0
2004
1994
  ]
2005
1995
  ],
2006
1996
  [
@@ -2008,6 +1998,10 @@
2008
1998
  "if",
2009
1999
  0
2010
2000
  ],
2001
+ [
2002
+ "like",
2003
+ 1
2004
+ ],
2011
2005
  [
2012
2006
  "love",
2013
2007
  1
@@ -2031,18 +2025,12 @@
2031
2025
  0
2032
2026
  ],
2033
2027
  [
2034
- "orList",
2028
+ "love",
2035
2029
  1
2036
- ]
2037
- ],
2038
- [
2039
- [
2040
- "if",
2041
- 0
2042
2030
  ],
2043
2031
  [
2044
2032
  "orList",
2045
- 1
2033
+ 0
2046
2034
  ],
2047
2035
  [
2048
2036
  "then",
@@ -2059,12 +2047,26 @@
2059
2047
  0
2060
2048
  ],
2061
2049
  [
2062
- "then",
2050
+ "orList",
2051
+ 1
2052
+ ]
2053
+ ],
2054
+ [
2055
+ [
2056
+ "if",
2063
2057
  0
2064
2058
  ],
2065
2059
  [
2066
- "unknown",
2060
+ "orList",
2061
+ 1
2062
+ ],
2063
+ [
2064
+ "then",
2067
2065
  0
2066
+ ],
2067
+ [
2068
+ "want",
2069
+ 1
2068
2070
  ]
2069
2071
  ]
2070
2072
  ],
@@ -2187,7 +2189,7 @@
2187
2189
  [
2188
2190
  [
2189
2191
  "between",
2190
- 0
2192
+ 1
2191
2193
  ],
2192
2194
  [
2193
2195
  "is",
@@ -2195,25 +2197,41 @@
2195
2197
  ],
2196
2198
  [
2197
2199
  "unknown",
2200
+ 1
2201
+ ]
2202
+ ],
2203
+ [
2204
+ [
2205
+ "if",
2198
2206
  0
2199
2207
  ],
2200
2208
  [
2201
- "xfx",
2209
+ "like",
2202
2210
  0
2203
- ]
2204
- ],
2205
- [
2211
+ ],
2206
2212
  [
2207
- "between",
2208
- 1
2213
+ "love",
2214
+ 0
2209
2215
  ],
2210
2216
  [
2211
- "is",
2217
+ "orList",
2218
+ 0
2219
+ ],
2220
+ [
2221
+ "then",
2222
+ 0
2223
+ ],
2224
+ [
2225
+ "unknown",
2212
2226
  0
2213
2227
  ],
2214
2228
  [
2215
2229
  "unknown",
2216
2230
  1
2231
+ ],
2232
+ [
2233
+ "want",
2234
+ 0
2217
2235
  ]
2218
2236
  ],
2219
2237
  [
@@ -2446,20 +2464,6 @@
2446
2464
  1
2447
2465
  ]
2448
2466
  ],
2449
- [
2450
- [
2451
- "if",
2452
- 0
2453
- ],
2454
- [
2455
- "then",
2456
- 0
2457
- ],
2458
- [
2459
- "unknown",
2460
- 0
2461
- ]
2462
- ],
2463
2467
  [
2464
2468
  [
2465
2469
  "is",
@@ -6,7 +6,7 @@ const ordering_instance = require('./ordering.instance.json')
6
6
  const { API } = require('./helpers/ordering')
7
7
 
8
8
  const template ={
9
- "queries": [
9
+ configs: [
10
10
  "wants is xfx between wanter and wantee",
11
11
  // "if a likes or loves b then a wants b",
12
12
  "if x likes y or x loves y then x wants y",