ekms 8.0.0-beta.0 → 8.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/common/animals.instance.json +103 -113
  2. package/common/characters.js +0 -1
  3. package/common/colors.instance.json +22304 -0
  4. package/common/colors.js +71 -0
  5. package/common/colors.test.json +4860 -0
  6. package/common/concept.js +2 -2
  7. package/common/crew.instance.json +4142 -3545
  8. package/common/crew.js +4 -2
  9. package/common/dialogues.js +34 -7
  10. package/common/dialogues.test.json +1053 -33
  11. package/common/dimension.instance.json +20 -30
  12. package/common/dimension.test.json +289 -312
  13. package/common/edible.instance.json +216 -156
  14. package/common/emotions.instance.json +64 -0
  15. package/common/fastfood.instance.json +1011 -386
  16. package/common/fastfood.js +1 -1
  17. package/common/fastfood.test.json +7941 -3647
  18. package/common/formulas.instance.json +4 -0
  19. package/common/formulas.test.json +1027 -955
  20. package/common/help.test.json +14 -10
  21. package/common/helpers/concept.js +29 -9
  22. package/common/helpers/dialogues.js +17 -1
  23. package/common/helpers/formulas.js +0 -14
  24. package/common/helpers/meta.js +0 -1
  25. package/common/helpers/properties.js +6 -13
  26. package/common/kirk.instance.json +4 -0
  27. package/common/length.instance.json +93 -63
  28. package/common/math.instance.json +26 -47
  29. package/common/meta.js +0 -2
  30. package/common/ordering.instance.json +76 -0
  31. package/common/people.instance.json +35 -60
  32. package/common/pipboy.instance.json +215 -229
  33. package/common/pokemon.instance.json +131 -82
  34. package/common/pressure.instance.json +38 -48
  35. package/common/properties.instance.json +4 -0
  36. package/common/properties.js +7 -7
  37. package/common/properties.test.json +17605 -4030
  38. package/common/punctuation.js +8 -0
  39. package/common/punctuation.test.json +233 -5
  40. package/common/reports.instance.json +12 -4
  41. package/common/reports.js +0 -2
  42. package/common/sizeable.js +7 -2
  43. package/common/spock.instance.json +4 -0
  44. package/common/stm.js +16 -5
  45. package/common/temperature.instance.json +45 -59
  46. package/common/testing.js +0 -1
  47. package/common/tokenize.js +2 -1
  48. package/common/tokenize.test.json +86 -1
  49. package/common/ui.instance.json +4 -0
  50. package/common/ui.js +0 -1
  51. package/common/weight.instance.json +62 -11
  52. package/common/weight.test.json +242 -238
  53. package/main.js +2 -0
  54. package/package.json +6 -2
@@ -45,6 +45,10 @@
45
45
  "concept",
46
46
  "theAble"
47
47
  ],
48
+ [
49
+ "doubleQuote",
50
+ "queryable"
51
+ ],
48
52
  [
49
53
  "have",
50
54
  "canBeDoQuestion"
@@ -447,6 +451,10 @@
447
451
  "concept",
448
452
  "theAble"
449
453
  ],
454
+ [
455
+ "doubleQuote",
456
+ "queryable"
457
+ ],
450
458
  [
451
459
  "have",
452
460
  "canBeDoQuestion"
@@ -878,10 +886,10 @@
878
886
  },
879
887
  "one": {
880
888
  "number": "one",
881
- "value": "pokemon_type",
882
- "text": "pokemon type",
883
889
  "marker": "pokemon_type",
890
+ "default": true,
884
891
  "word": "type",
892
+ "text": "pokemon type",
885
893
  "range": {
886
894
  "start": 0,
887
895
  "end": 21
@@ -892,6 +900,7 @@
892
900
  ],
893
901
  "modifier_pokemon": {
894
902
  "value": "pokemon",
903
+ "number": "many",
895
904
  "text": "pokemon",
896
905
  "marker": "pokemon",
897
906
  "word": "pokemon",
@@ -906,17 +915,17 @@
906
915
  },
907
916
  "atomic": true,
908
917
  "dead": true,
918
+ "value": "pokemon_type",
909
919
  "modifiers": [
910
920
  "modifier_pokemon"
911
921
  ],
912
922
  "level": 1
913
923
  },
914
924
  "two": {
915
- "value": "type",
916
- "number": "one",
917
- "text": "a type",
918
925
  "marker": "type",
926
+ "default": true,
919
927
  "word": "type",
928
+ "text": "a type",
920
929
  "range": {
921
930
  "start": 16,
922
931
  "end": 21
@@ -927,6 +936,7 @@
927
936
  ],
928
937
  "pullFromContext": false,
929
938
  "concept": true,
939
+ "number": "one",
930
940
  "wantsValue": true,
931
941
  "determiner": {
932
942
  "marker": "a",
@@ -1047,6 +1057,10 @@
1047
1057
  "concept",
1048
1058
  "theAble"
1049
1059
  ],
1060
+ [
1061
+ "doubleQuote",
1062
+ "queryable"
1063
+ ],
1050
1064
  [
1051
1065
  "have",
1052
1066
  "canBeDoQuestion"
@@ -1521,10 +1535,6 @@
1521
1535
  1
1522
1536
  ],
1523
1537
  "ops": [
1524
- [
1525
- "list",
1526
- 1
1527
- ],
1528
1538
  [
1529
1539
  "is",
1530
1540
  0
@@ -1561,27 +1571,6 @@
1561
1571
  ],
1562
1572
  "counter": 7
1563
1573
  },
1564
- {
1565
- "op": [
1566
- "list",
1567
- 1
1568
- ],
1569
- "ops": [
1570
- [
1571
- "is",
1572
- 0
1573
- ],
1574
- [
1575
- "pokemon",
1576
- 0
1577
- ],
1578
- [
1579
- "list",
1580
- 1
1581
- ]
1582
- ],
1583
- "counter": 8
1584
- },
1585
1574
  {
1586
1575
  "op": [
1587
1576
  "pokemon",
@@ -1597,7 +1586,7 @@
1597
1586
  0
1598
1587
  ]
1599
1588
  ],
1600
- "counter": 9
1589
+ "counter": 8
1601
1590
  },
1602
1591
  {
1603
1592
  "op": [
@@ -1610,7 +1599,7 @@
1610
1599
  0
1611
1600
  ]
1612
1601
  ],
1613
- "counter": 10
1602
+ "counter": 9
1614
1603
  },
1615
1604
  {
1616
1605
  "op": [
@@ -1623,7 +1612,7 @@
1623
1612
  1
1624
1613
  ]
1625
1614
  ],
1626
- "counter": 11
1615
+ "counter": 10
1627
1616
  }
1628
1617
  ]
1629
1618
  },
@@ -1641,7 +1630,19 @@
1641
1630
  "one": {
1642
1631
  "number": "many",
1643
1632
  "marker": "list",
1633
+ "default": true,
1634
+ "word": "and",
1635
+ "text": "pikachu squirtle weedle and pidgeot",
1636
+ "range": {
1637
+ "start": 0,
1638
+ "end": 46
1639
+ },
1640
+ "types": [
1641
+ "list",
1642
+ "unknown"
1643
+ ],
1644
1644
  "listable": true,
1645
+ "isList": true,
1645
1646
  "value": [
1646
1647
  {
1647
1648
  "value": "pikachu",
@@ -1680,7 +1681,7 @@
1680
1681
  "end": 22
1681
1682
  },
1682
1683
  "dead": true,
1683
- "level": 2
1684
+ "level": 1
1684
1685
  },
1685
1686
  {
1686
1687
  "value": "pidgeot",
@@ -1693,22 +1694,14 @@
1693
1694
  "end": 34
1694
1695
  },
1695
1696
  "dead": true,
1696
- "level": 2
1697
+ "level": 1
1697
1698
  }
1698
1699
  ],
1699
- "range": {
1700
- "start": 0,
1701
- "end": 46
1702
- },
1703
- "types": [
1704
- "list",
1705
- "unknown"
1706
- ],
1707
- "text": "pikachu squirtle",
1708
1700
  "level": 1
1709
1701
  },
1710
1702
  "two": {
1711
1703
  "value": "pokemon",
1704
+ "number": "many",
1712
1705
  "text": "pokemon",
1713
1706
  "marker": "pokemon",
1714
1707
  "word": "pokemon",
@@ -1884,6 +1877,10 @@
1884
1877
  "concept",
1885
1878
  "theAble"
1886
1879
  ],
1880
+ [
1881
+ "doubleQuote",
1882
+ "queryable"
1883
+ ],
1887
1884
  [
1888
1885
  "have",
1889
1886
  "canBeDoQuestion"
@@ -2417,11 +2414,10 @@
2417
2414
  }
2418
2415
  ],
2419
2416
  "concept": {
2420
- "value": "type",
2421
- "number": "one",
2422
- "text": "type",
2423
2417
  "marker": "type",
2418
+ "default": true,
2424
2419
  "word": "type",
2420
+ "text": "type",
2425
2421
  "range": {
2426
2422
  "start": 14,
2427
2423
  "end": 17
@@ -2527,6 +2523,10 @@
2527
2523
  "concept",
2528
2524
  "theAble"
2529
2525
  ],
2526
+ [
2527
+ "doubleQuote",
2528
+ "queryable"
2529
+ ],
2530
2530
  [
2531
2531
  "fire",
2532
2532
  "hierarchyAble"
@@ -3132,11 +3132,10 @@
3132
3132
  }
3133
3133
  ],
3134
3134
  "concept": {
3135
- "value": "type",
3136
- "number": "one",
3137
- "text": "type",
3138
3135
  "marker": "type",
3136
+ "default": true,
3139
3137
  "word": "type",
3138
+ "text": "type",
3140
3139
  "range": {
3141
3140
  "start": 15,
3142
3141
  "end": 18
@@ -3242,6 +3241,10 @@
3242
3241
  "concept",
3243
3242
  "theAble"
3244
3243
  ],
3244
+ [
3245
+ "doubleQuote",
3246
+ "queryable"
3247
+ ],
3245
3248
  [
3246
3249
  "fire",
3247
3250
  "hierarchyAble"
@@ -3919,11 +3922,10 @@
3919
3922
  }
3920
3923
  ],
3921
3924
  "concept": {
3922
- "value": "type",
3923
- "number": "one",
3924
- "text": "type",
3925
3925
  "marker": "type",
3926
+ "default": true,
3926
3927
  "word": "type",
3928
+ "text": "type",
3927
3929
  "range": {
3928
3930
  "start": 15,
3929
3931
  "end": 18
@@ -4029,6 +4031,10 @@
4029
4031
  "concept",
4030
4032
  "theAble"
4031
4033
  ],
4034
+ [
4035
+ "doubleQuote",
4036
+ "queryable"
4037
+ ],
4032
4038
  [
4033
4039
  "earth",
4034
4040
  "hierarchyAble"
@@ -4778,11 +4784,10 @@
4778
4784
  }
4779
4785
  ],
4780
4786
  "concept": {
4781
- "value": "type",
4782
- "number": "one",
4783
- "text": "type",
4784
4787
  "marker": "type",
4788
+ "default": true,
4785
4789
  "word": "type",
4790
+ "text": "type",
4786
4791
  "range": {
4787
4792
  "start": 18,
4788
4793
  "end": 21
@@ -4888,6 +4893,10 @@
4888
4893
  "concept",
4889
4894
  "theAble"
4890
4895
  ],
4896
+ [
4897
+ "doubleQuote",
4898
+ "queryable"
4899
+ ],
4891
4900
  [
4892
4901
  "earth",
4893
4902
  "hierarchyAble"
@@ -5751,10 +5760,10 @@
5751
5760
  },
5752
5761
  "one": {
5753
5762
  "number": "one",
5754
- "value": "fire_type",
5755
- "text": "fire type",
5756
5763
  "marker": "fire_type",
5764
+ "default": true,
5757
5765
  "word": "type",
5766
+ "text": "fire type",
5758
5767
  "range": {
5759
5768
  "start": 0,
5760
5769
  "end": 26
@@ -5765,6 +5774,7 @@
5765
5774
  ],
5766
5775
  "modifier_fire": {
5767
5776
  "value": "fire",
5777
+ "number": "one",
5768
5778
  "text": "fire",
5769
5779
  "marker": "fire",
5770
5780
  "word": "fire",
@@ -5779,17 +5789,17 @@
5779
5789
  },
5780
5790
  "atomic": true,
5781
5791
  "dead": true,
5792
+ "value": "fire_type",
5782
5793
  "modifiers": [
5783
5794
  "modifier_fire"
5784
5795
  ],
5785
5796
  "level": 1
5786
5797
  },
5787
5798
  "two": {
5788
- "value": "pokemon_type",
5789
- "number": "one",
5790
- "text": "a pokemon type",
5791
5799
  "marker": "pokemon_type",
5800
+ "default": true,
5792
5801
  "word": "type",
5802
+ "text": "a pokemon type",
5793
5803
  "range": {
5794
5804
  "start": 13,
5795
5805
  "end": 26
@@ -5800,6 +5810,7 @@
5800
5810
  ],
5801
5811
  "modifier_pokemon": {
5802
5812
  "value": "pokemon",
5813
+ "number": "many",
5803
5814
  "text": "pokemon",
5804
5815
  "marker": "pokemon",
5805
5816
  "word": "pokemon",
@@ -5814,12 +5825,14 @@
5814
5825
  },
5815
5826
  "atomic": true,
5816
5827
  "dead": true,
5828
+ "value": "pokemon_type",
5817
5829
  "modifiers": [
5818
5830
  "determiner",
5819
5831
  "modifier_pokemon"
5820
5832
  ],
5821
5833
  "pullFromContext": false,
5822
5834
  "concept": true,
5835
+ "number": "one",
5823
5836
  "wantsValue": true,
5824
5837
  "determiner": {
5825
5838
  "marker": "a",
@@ -5945,6 +5958,10 @@
5945
5958
  "concept",
5946
5959
  "theAble"
5947
5960
  ],
5961
+ [
5962
+ "doubleQuote",
5963
+ "queryable"
5964
+ ],
5948
5965
  [
5949
5966
  "earth",
5950
5967
  "hierarchyAble"
@@ -6812,10 +6829,10 @@
6812
6829
  },
6813
6830
  "one": {
6814
6831
  "number": "one",
6815
- "value": "water_type",
6816
- "text": "water type",
6817
6832
  "marker": "water_type",
6833
+ "default": true,
6818
6834
  "word": "type",
6835
+ "text": "water type",
6819
6836
  "range": {
6820
6837
  "start": 0,
6821
6838
  "end": 27
@@ -6826,6 +6843,7 @@
6826
6843
  ],
6827
6844
  "modifier_water": {
6828
6845
  "value": "water",
6846
+ "number": "one",
6829
6847
  "text": "water",
6830
6848
  "marker": "water",
6831
6849
  "word": "water",
@@ -6840,17 +6858,17 @@
6840
6858
  },
6841
6859
  "atomic": true,
6842
6860
  "dead": true,
6861
+ "value": "water_type",
6843
6862
  "modifiers": [
6844
6863
  "modifier_water"
6845
6864
  ],
6846
6865
  "level": 1
6847
6866
  },
6848
6867
  "two": {
6849
- "value": "pokemon_type",
6850
- "number": "one",
6851
- "text": "a pokemon type",
6852
6868
  "marker": "pokemon_type",
6869
+ "default": true,
6853
6870
  "word": "type",
6871
+ "text": "a pokemon type",
6854
6872
  "range": {
6855
6873
  "start": 14,
6856
6874
  "end": 27
@@ -6861,6 +6879,7 @@
6861
6879
  ],
6862
6880
  "modifier_pokemon": {
6863
6881
  "value": "pokemon",
6882
+ "number": "many",
6864
6883
  "text": "pokemon",
6865
6884
  "marker": "pokemon",
6866
6885
  "word": "pokemon",
@@ -6875,12 +6894,14 @@
6875
6894
  },
6876
6895
  "atomic": true,
6877
6896
  "dead": true,
6897
+ "value": "pokemon_type",
6878
6898
  "modifiers": [
6879
6899
  "determiner",
6880
6900
  "modifier_pokemon"
6881
6901
  ],
6882
6902
  "pullFromContext": false,
6883
6903
  "concept": true,
6904
+ "number": "one",
6884
6905
  "wantsValue": true,
6885
6906
  "determiner": {
6886
6907
  "marker": "a",
@@ -7006,6 +7027,10 @@
7006
7027
  "concept",
7007
7028
  "theAble"
7008
7029
  ],
7030
+ [
7031
+ "doubleQuote",
7032
+ "queryable"
7033
+ ],
7009
7034
  [
7010
7035
  "earth",
7011
7036
  "hierarchyAble"
@@ -7877,10 +7902,10 @@
7877
7902
  },
7878
7903
  "one": {
7879
7904
  "number": "one",
7880
- "value": "electric_type",
7881
- "text": "electric type",
7882
7905
  "marker": "electric_type",
7906
+ "default": true,
7883
7907
  "word": "type",
7908
+ "text": "electric type",
7884
7909
  "range": {
7885
7910
  "start": 0,
7886
7911
  "end": 30
@@ -7891,6 +7916,7 @@
7891
7916
  ],
7892
7917
  "modifier_electric": {
7893
7918
  "value": "electric",
7919
+ "number": "one",
7894
7920
  "text": "electric",
7895
7921
  "marker": "electric",
7896
7922
  "word": "electric",
@@ -7905,17 +7931,17 @@
7905
7931
  },
7906
7932
  "atomic": true,
7907
7933
  "dead": true,
7934
+ "value": "electric_type",
7908
7935
  "modifiers": [
7909
7936
  "modifier_electric"
7910
7937
  ],
7911
7938
  "level": 1
7912
7939
  },
7913
7940
  "two": {
7914
- "value": "pokemon_type",
7915
- "number": "one",
7916
- "text": "a pokemon type",
7917
7941
  "marker": "pokemon_type",
7942
+ "default": true,
7918
7943
  "word": "type",
7944
+ "text": "a pokemon type",
7919
7945
  "range": {
7920
7946
  "start": 17,
7921
7947
  "end": 30
@@ -7926,6 +7952,7 @@
7926
7952
  ],
7927
7953
  "modifier_pokemon": {
7928
7954
  "value": "pokemon",
7955
+ "number": "many",
7929
7956
  "text": "pokemon",
7930
7957
  "marker": "pokemon",
7931
7958
  "word": "pokemon",
@@ -7940,12 +7967,14 @@
7940
7967
  },
7941
7968
  "atomic": true,
7942
7969
  "dead": true,
7970
+ "value": "pokemon_type",
7943
7971
  "modifiers": [
7944
7972
  "determiner",
7945
7973
  "modifier_pokemon"
7946
7974
  ],
7947
7975
  "pullFromContext": false,
7948
7976
  "concept": true,
7977
+ "number": "one",
7949
7978
  "wantsValue": true,
7950
7979
  "determiner": {
7951
7980
  "marker": "a",
@@ -8071,6 +8100,10 @@
8071
8100
  "concept",
8072
8101
  "theAble"
8073
8102
  ],
8103
+ [
8104
+ "doubleQuote",
8105
+ "queryable"
8106
+ ],
8074
8107
  [
8075
8108
  "earth",
8076
8109
  "hierarchyAble"
@@ -8946,10 +8979,10 @@
8946
8979
  },
8947
8980
  "one": {
8948
8981
  "number": "one",
8949
- "value": "earth_type",
8950
- "text": "earth type",
8951
8982
  "marker": "earth_type",
8983
+ "default": true,
8952
8984
  "word": "type",
8985
+ "text": "earth type",
8953
8986
  "range": {
8954
8987
  "start": 0,
8955
8988
  "end": 27
@@ -8960,6 +8993,7 @@
8960
8993
  ],
8961
8994
  "modifier_earth": {
8962
8995
  "value": "earth",
8996
+ "number": "one",
8963
8997
  "text": "earth",
8964
8998
  "marker": "earth",
8965
8999
  "word": "earth",
@@ -8974,17 +9008,17 @@
8974
9008
  },
8975
9009
  "atomic": true,
8976
9010
  "dead": true,
9011
+ "value": "earth_type",
8977
9012
  "modifiers": [
8978
9013
  "modifier_earth"
8979
9014
  ],
8980
9015
  "level": 1
8981
9016
  },
8982
9017
  "two": {
8983
- "value": "pokemon_type",
8984
- "number": "one",
8985
- "text": "a pokemon type",
8986
9018
  "marker": "pokemon_type",
9019
+ "default": true,
8987
9020
  "word": "type",
9021
+ "text": "a pokemon type",
8988
9022
  "range": {
8989
9023
  "start": 14,
8990
9024
  "end": 27
@@ -8995,6 +9029,7 @@
8995
9029
  ],
8996
9030
  "modifier_pokemon": {
8997
9031
  "value": "pokemon",
9032
+ "number": "many",
8998
9033
  "text": "pokemon",
8999
9034
  "marker": "pokemon",
9000
9035
  "word": "pokemon",
@@ -9009,12 +9044,14 @@
9009
9044
  },
9010
9045
  "atomic": true,
9011
9046
  "dead": true,
9047
+ "value": "pokemon_type",
9012
9048
  "modifiers": [
9013
9049
  "determiner",
9014
9050
  "modifier_pokemon"
9015
9051
  ],
9016
9052
  "pullFromContext": false,
9017
9053
  "concept": true,
9054
+ "number": "one",
9018
9055
  "wantsValue": true,
9019
9056
  "determiner": {
9020
9057
  "marker": "a",
@@ -9140,6 +9177,10 @@
9140
9177
  "concept",
9141
9178
  "theAble"
9142
9179
  ],
9180
+ [
9181
+ "doubleQuote",
9182
+ "queryable"
9183
+ ],
9143
9184
  [
9144
9185
  "earth",
9145
9186
  "hierarchyAble"
@@ -10030,11 +10071,10 @@
10030
10071
  "level": 1
10031
10072
  },
10032
10073
  "two": {
10033
- "value": "electric_type",
10034
- "number": "one",
10035
- "text": "an electric type",
10036
10074
  "marker": "electric_type",
10075
+ "default": true,
10037
10076
  "word": "type",
10077
+ "text": "an electric type",
10038
10078
  "range": {
10039
10079
  "start": 11,
10040
10080
  "end": 26
@@ -10045,6 +10085,7 @@
10045
10085
  ],
10046
10086
  "modifier_electric": {
10047
10087
  "value": "electric",
10088
+ "number": "one",
10048
10089
  "text": "electric",
10049
10090
  "marker": "electric",
10050
10091
  "word": "electric",
@@ -10059,12 +10100,14 @@
10059
10100
  },
10060
10101
  "atomic": true,
10061
10102
  "dead": true,
10103
+ "value": "electric_type",
10062
10104
  "modifiers": [
10063
10105
  "determiner",
10064
10106
  "modifier_electric"
10065
10107
  ],
10066
10108
  "pullFromContext": false,
10067
10109
  "concept": true,
10110
+ "number": "one",
10068
10111
  "wantsValue": true,
10069
10112
  "determiner": {
10070
10113
  "marker": "a",
@@ -10190,6 +10233,10 @@
10190
10233
  "concept",
10191
10234
  "theAble"
10192
10235
  ],
10236
+ [
10237
+ "doubleQuote",
10238
+ "queryable"
10239
+ ],
10193
10240
  [
10194
10241
  "earth",
10195
10242
  "hierarchyAble"
@@ -11085,11 +11132,10 @@
11085
11132
  "level": 1
11086
11133
  },
11087
11134
  "two": {
11088
- "value": "fire_type",
11089
- "number": "one",
11090
- "text": "a fire type",
11091
11135
  "marker": "fire_type",
11136
+ "default": true,
11092
11137
  "word": "type",
11138
+ "text": "a fire type",
11093
11139
  "range": {
11094
11140
  "start": 14,
11095
11141
  "end": 24
@@ -11100,6 +11146,7 @@
11100
11146
  ],
11101
11147
  "modifier_fire": {
11102
11148
  "value": "fire",
11149
+ "number": "one",
11103
11150
  "text": "fire",
11104
11151
  "marker": "fire",
11105
11152
  "word": "fire",
@@ -11114,12 +11161,14 @@
11114
11161
  },
11115
11162
  "atomic": true,
11116
11163
  "dead": true,
11164
+ "value": "fire_type",
11117
11165
  "modifiers": [
11118
11166
  "determiner",
11119
11167
  "modifier_fire"
11120
11168
  ],
11121
11169
  "pullFromContext": false,
11122
11170
  "concept": true,
11171
+ "number": "one",
11123
11172
  "wantsValue": true,
11124
11173
  "determiner": {
11125
11174
  "marker": "a",