tpmkms_4wp 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.
- package/common/animals.instance.json +103 -113
- package/common/characters.js +0 -1
- package/common/colors.instance.json +22304 -0
- package/common/colors.js +71 -0
- package/common/colors.test.json +4860 -0
- package/common/concept.js +2 -2
- package/common/crew.instance.json +4142 -3545
- package/common/crew.js +4 -2
- package/common/dialogues.js +34 -7
- package/common/dialogues.test.json +1053 -33
- package/common/dimension.instance.json +20 -30
- package/common/dimension.test.json +289 -312
- package/common/edible.instance.json +216 -156
- package/common/emotions.instance.json +64 -0
- package/common/fastfood.instance.json +1011 -386
- package/common/fastfood.js +1 -1
- package/common/fastfood.test.json +7941 -3647
- package/common/formulas.instance.json +4 -0
- package/common/formulas.test.json +1027 -955
- package/common/help.test.json +14 -10
- package/common/helpers/concept.js +29 -9
- package/common/helpers/dialogues.js +17 -1
- package/common/helpers/formulas.js +0 -14
- package/common/helpers/meta.js +0 -1
- package/common/helpers/properties.js +6 -13
- package/common/kirk.instance.json +4 -0
- package/common/length.instance.json +93 -63
- package/common/math.instance.json +26 -47
- package/common/meta.js +0 -2
- package/common/ordering.instance.json +76 -0
- package/common/people.instance.json +35 -60
- package/common/pipboy.instance.json +215 -229
- package/common/pokemon.instance.json +131 -82
- package/common/pressure.instance.json +38 -48
- package/common/properties.instance.json +4 -0
- package/common/properties.js +7 -7
- package/common/properties.test.json +17605 -4030
- package/common/punctuation.js +8 -0
- package/common/punctuation.test.json +233 -5
- package/common/reports.instance.json +12 -4
- package/common/reports.js +0 -2
- package/common/sizeable.js +7 -2
- package/common/spock.instance.json +4 -0
- package/common/stm.js +16 -5
- package/common/temperature.instance.json +45 -59
- package/common/testing.js +0 -1
- package/common/tokenize.js +2 -1
- package/common/tokenize.test.json +86 -1
- package/common/ui.instance.json +4 -0
- package/common/ui.js +0 -1
- package/common/weight.instance.json +62 -11
- package/common/weight.test.json +242 -238
- package/main.js +2 -0
- 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"
|
@@ -615,6 +619,10 @@
|
|
615
619
|
"concept",
|
616
620
|
"theAble"
|
617
621
|
],
|
622
|
+
[
|
623
|
+
"doubleQuote",
|
624
|
+
"queryable"
|
625
|
+
],
|
618
626
|
[
|
619
627
|
"have",
|
620
628
|
"canBeDoQuestion"
|
@@ -1129,6 +1137,10 @@
|
|
1129
1137
|
"concept",
|
1130
1138
|
"theAble"
|
1131
1139
|
],
|
1140
|
+
[
|
1141
|
+
"doubleQuote",
|
1142
|
+
"queryable"
|
1143
|
+
],
|
1132
1144
|
[
|
1133
1145
|
"have",
|
1134
1146
|
"canBeDoQuestion"
|
@@ -1643,6 +1655,10 @@
|
|
1643
1655
|
"concept",
|
1644
1656
|
"theAble"
|
1645
1657
|
],
|
1658
|
+
[
|
1659
|
+
"doubleQuote",
|
1660
|
+
"queryable"
|
1661
|
+
],
|
1646
1662
|
[
|
1647
1663
|
"have",
|
1648
1664
|
"canBeDoQuestion"
|
@@ -2209,6 +2225,10 @@
|
|
2209
2225
|
"concept",
|
2210
2226
|
"theAble"
|
2211
2227
|
],
|
2228
|
+
[
|
2229
|
+
"doubleQuote",
|
2230
|
+
"queryable"
|
2231
|
+
],
|
2212
2232
|
[
|
2213
2233
|
"have",
|
2214
2234
|
"canBeDoQuestion"
|
@@ -2723,6 +2743,10 @@
|
|
2723
2743
|
"concept",
|
2724
2744
|
"theAble"
|
2725
2745
|
],
|
2746
|
+
[
|
2747
|
+
"doubleQuote",
|
2748
|
+
"queryable"
|
2749
|
+
],
|
2726
2750
|
[
|
2727
2751
|
"have",
|
2728
2752
|
"canBeDoQuestion"
|
@@ -3237,6 +3261,10 @@
|
|
3237
3261
|
"concept",
|
3238
3262
|
"theAble"
|
3239
3263
|
],
|
3264
|
+
[
|
3265
|
+
"doubleQuote",
|
3266
|
+
"queryable"
|
3267
|
+
],
|
3240
3268
|
[
|
3241
3269
|
"have",
|
3242
3270
|
"canBeDoQuestion"
|
@@ -3751,6 +3779,10 @@
|
|
3751
3779
|
"concept",
|
3752
3780
|
"theAble"
|
3753
3781
|
],
|
3782
|
+
[
|
3783
|
+
"doubleQuote",
|
3784
|
+
"queryable"
|
3785
|
+
],
|
3754
3786
|
[
|
3755
3787
|
"have",
|
3756
3788
|
"canBeDoQuestion"
|
@@ -4265,6 +4297,10 @@
|
|
4265
4297
|
"concept",
|
4266
4298
|
"theAble"
|
4267
4299
|
],
|
4300
|
+
[
|
4301
|
+
"doubleQuote",
|
4302
|
+
"queryable"
|
4303
|
+
],
|
4268
4304
|
[
|
4269
4305
|
"have",
|
4270
4306
|
"canBeDoQuestion"
|
@@ -4655,10 +4691,6 @@
|
|
4655
4691
|
1
|
4656
4692
|
],
|
4657
4693
|
"ops": [
|
4658
|
-
[
|
4659
|
-
"list",
|
4660
|
-
1
|
4661
|
-
],
|
4662
4694
|
[
|
4663
4695
|
"is",
|
4664
4696
|
0
|
@@ -4695,27 +4727,6 @@
|
|
4695
4727
|
],
|
4696
4728
|
"counter": 7
|
4697
4729
|
},
|
4698
|
-
{
|
4699
|
-
"op": [
|
4700
|
-
"list",
|
4701
|
-
1
|
4702
|
-
],
|
4703
|
-
"ops": [
|
4704
|
-
[
|
4705
|
-
"is",
|
4706
|
-
0
|
4707
|
-
],
|
4708
|
-
[
|
4709
|
-
"mammal",
|
4710
|
-
0
|
4711
|
-
],
|
4712
|
-
[
|
4713
|
-
"list",
|
4714
|
-
1
|
4715
|
-
]
|
4716
|
-
],
|
4717
|
-
"counter": 8
|
4718
|
-
},
|
4719
4730
|
{
|
4720
4731
|
"op": [
|
4721
4732
|
"mammal",
|
@@ -4731,7 +4742,7 @@
|
|
4731
4742
|
0
|
4732
4743
|
]
|
4733
4744
|
],
|
4734
|
-
"counter":
|
4745
|
+
"counter": 8
|
4735
4746
|
},
|
4736
4747
|
{
|
4737
4748
|
"op": [
|
@@ -4744,7 +4755,7 @@
|
|
4744
4755
|
0
|
4745
4756
|
]
|
4746
4757
|
],
|
4747
|
-
"counter":
|
4758
|
+
"counter": 9
|
4748
4759
|
},
|
4749
4760
|
{
|
4750
4761
|
"op": [
|
@@ -4757,7 +4768,7 @@
|
|
4757
4768
|
1
|
4758
4769
|
]
|
4759
4770
|
],
|
4760
|
-
"counter":
|
4771
|
+
"counter": 10
|
4761
4772
|
}
|
4762
4773
|
]
|
4763
4774
|
},
|
@@ -4775,7 +4786,19 @@
|
|
4775
4786
|
"one": {
|
4776
4787
|
"number": "many",
|
4777
4788
|
"marker": "list",
|
4789
|
+
"default": true,
|
4790
|
+
"word": "and",
|
4791
|
+
"text": "humans bats felines and canines",
|
4792
|
+
"range": {
|
4793
|
+
"start": 0,
|
4794
|
+
"end": 42
|
4795
|
+
},
|
4796
|
+
"types": [
|
4797
|
+
"list",
|
4798
|
+
"unknown"
|
4799
|
+
],
|
4778
4800
|
"listable": true,
|
4801
|
+
"isList": true,
|
4779
4802
|
"value": [
|
4780
4803
|
{
|
4781
4804
|
"value": "humans",
|
@@ -4814,7 +4837,7 @@
|
|
4814
4837
|
"end": 18
|
4815
4838
|
},
|
4816
4839
|
"dead": true,
|
4817
|
-
"level":
|
4840
|
+
"level": 1
|
4818
4841
|
},
|
4819
4842
|
{
|
4820
4843
|
"value": "canines",
|
@@ -4827,18 +4850,9 @@
|
|
4827
4850
|
"end": 30
|
4828
4851
|
},
|
4829
4852
|
"dead": true,
|
4830
|
-
"level":
|
4853
|
+
"level": 1
|
4831
4854
|
}
|
4832
4855
|
],
|
4833
|
-
"range": {
|
4834
|
-
"start": 0,
|
4835
|
-
"end": 42
|
4836
|
-
},
|
4837
|
-
"types": [
|
4838
|
-
"list",
|
4839
|
-
"unknown"
|
4840
|
-
],
|
4841
|
-
"text": "humans bats",
|
4842
4856
|
"level": 1
|
4843
4857
|
},
|
4844
4858
|
"two": {
|
@@ -5139,6 +5153,10 @@
|
|
5139
5153
|
"concept",
|
5140
5154
|
"theAble"
|
5141
5155
|
],
|
5156
|
+
[
|
5157
|
+
"doubleQuote",
|
5158
|
+
"queryable"
|
5159
|
+
],
|
5142
5160
|
[
|
5143
5161
|
"feline",
|
5144
5162
|
"hierarchyAble"
|
@@ -5593,10 +5611,6 @@
|
|
5593
5611
|
1
|
5594
5612
|
],
|
5595
5613
|
"ops": [
|
5596
|
-
[
|
5597
|
-
"list",
|
5598
|
-
1
|
5599
|
-
],
|
5600
5614
|
[
|
5601
5615
|
"is",
|
5602
5616
|
0
|
@@ -5633,27 +5647,6 @@
|
|
5633
5647
|
],
|
5634
5648
|
"counter": 7
|
5635
5649
|
},
|
5636
|
-
{
|
5637
|
-
"op": [
|
5638
|
-
"list",
|
5639
|
-
1
|
5640
|
-
],
|
5641
|
-
"ops": [
|
5642
|
-
[
|
5643
|
-
"is",
|
5644
|
-
0
|
5645
|
-
],
|
5646
|
-
[
|
5647
|
-
"bird",
|
5648
|
-
0
|
5649
|
-
],
|
5650
|
-
[
|
5651
|
-
"list",
|
5652
|
-
1
|
5653
|
-
]
|
5654
|
-
],
|
5655
|
-
"counter": 8
|
5656
|
-
},
|
5657
5650
|
{
|
5658
5651
|
"op": [
|
5659
5652
|
"bird",
|
@@ -5669,7 +5662,7 @@
|
|
5669
5662
|
0
|
5670
5663
|
]
|
5671
5664
|
],
|
5672
|
-
"counter":
|
5665
|
+
"counter": 8
|
5673
5666
|
},
|
5674
5667
|
{
|
5675
5668
|
"op": [
|
@@ -5682,7 +5675,7 @@
|
|
5682
5675
|
0
|
5683
5676
|
]
|
5684
5677
|
],
|
5685
|
-
"counter":
|
5678
|
+
"counter": 9
|
5686
5679
|
},
|
5687
5680
|
{
|
5688
5681
|
"op": [
|
@@ -5695,7 +5688,7 @@
|
|
5695
5688
|
1
|
5696
5689
|
]
|
5697
5690
|
],
|
5698
|
-
"counter":
|
5691
|
+
"counter": 10
|
5699
5692
|
}
|
5700
5693
|
]
|
5701
5694
|
},
|
@@ -5713,7 +5706,19 @@
|
|
5713
5706
|
"one": {
|
5714
5707
|
"number": "many",
|
5715
5708
|
"marker": "list",
|
5709
|
+
"default": true,
|
5710
|
+
"word": "and",
|
5711
|
+
"text": "owls eagles pidgeons and parrots",
|
5712
|
+
"range": {
|
5713
|
+
"start": 0,
|
5714
|
+
"end": 41
|
5715
|
+
},
|
5716
|
+
"types": [
|
5717
|
+
"list",
|
5718
|
+
"unknown"
|
5719
|
+
],
|
5716
5720
|
"listable": true,
|
5721
|
+
"isList": true,
|
5717
5722
|
"value": [
|
5718
5723
|
{
|
5719
5724
|
"value": "owls",
|
@@ -5752,7 +5757,7 @@
|
|
5752
5757
|
"end": 19
|
5753
5758
|
},
|
5754
5759
|
"dead": true,
|
5755
|
-
"level":
|
5760
|
+
"level": 1
|
5756
5761
|
},
|
5757
5762
|
{
|
5758
5763
|
"value": "parrots",
|
@@ -5765,18 +5770,9 @@
|
|
5765
5770
|
"end": 31
|
5766
5771
|
},
|
5767
5772
|
"dead": true,
|
5768
|
-
"level":
|
5773
|
+
"level": 1
|
5769
5774
|
}
|
5770
5775
|
],
|
5771
|
-
"range": {
|
5772
|
-
"start": 0,
|
5773
|
-
"end": 41
|
5774
|
-
},
|
5775
|
-
"types": [
|
5776
|
-
"list",
|
5777
|
-
"unknown"
|
5778
|
-
],
|
5779
|
-
"text": "owls eagles",
|
5780
5776
|
"level": 1
|
5781
5777
|
},
|
5782
5778
|
"two": {
|
@@ -6077,6 +6073,10 @@
|
|
6077
6073
|
"concept",
|
6078
6074
|
"theAble"
|
6079
6075
|
],
|
6076
|
+
[
|
6077
|
+
"doubleQuote",
|
6078
|
+
"queryable"
|
6079
|
+
],
|
6080
6080
|
[
|
6081
6081
|
"eagle",
|
6082
6082
|
"bird"
|
@@ -6870,6 +6870,10 @@
|
|
6870
6870
|
"concept",
|
6871
6871
|
"theAble"
|
6872
6872
|
],
|
6873
|
+
[
|
6874
|
+
"doubleQuote",
|
6875
|
+
"queryable"
|
6876
|
+
],
|
6873
6877
|
[
|
6874
6878
|
"eagle",
|
6875
6879
|
"bird"
|
@@ -7376,27 +7380,6 @@
|
|
7376
7380
|
],
|
7377
7381
|
"counter": 3
|
7378
7382
|
},
|
7379
|
-
{
|
7380
|
-
"op": [
|
7381
|
-
"list",
|
7382
|
-
1
|
7383
|
-
],
|
7384
|
-
"ops": [
|
7385
|
-
[
|
7386
|
-
"list",
|
7387
|
-
1
|
7388
|
-
],
|
7389
|
-
[
|
7390
|
-
"is",
|
7391
|
-
0
|
7392
|
-
],
|
7393
|
-
[
|
7394
|
-
"canine",
|
7395
|
-
0
|
7396
|
-
]
|
7397
|
-
],
|
7398
|
-
"counter": 4
|
7399
|
-
},
|
7400
7383
|
{
|
7401
7384
|
"op": [
|
7402
7385
|
"canine",
|
@@ -7412,7 +7395,7 @@
|
|
7412
7395
|
0
|
7413
7396
|
]
|
7414
7397
|
],
|
7415
|
-
"counter":
|
7398
|
+
"counter": 4
|
7416
7399
|
},
|
7417
7400
|
{
|
7418
7401
|
"op": [
|
@@ -7425,7 +7408,7 @@
|
|
7425
7408
|
0
|
7426
7409
|
]
|
7427
7410
|
],
|
7428
|
-
"counter":
|
7411
|
+
"counter": 5
|
7429
7412
|
},
|
7430
7413
|
{
|
7431
7414
|
"op": [
|
@@ -7438,7 +7421,7 @@
|
|
7438
7421
|
1
|
7439
7422
|
]
|
7440
7423
|
],
|
7441
|
-
"counter":
|
7424
|
+
"counter": 6
|
7442
7425
|
}
|
7443
7426
|
]
|
7444
7427
|
},
|
@@ -7456,7 +7439,19 @@
|
|
7456
7439
|
"one": {
|
7457
7440
|
"number": "many",
|
7458
7441
|
"marker": "list",
|
7442
|
+
"default": true,
|
7443
|
+
"word": "and",
|
7444
|
+
"text": "dogs and wolves",
|
7445
|
+
"range": {
|
7446
|
+
"start": 0,
|
7447
|
+
"end": 26
|
7448
|
+
},
|
7449
|
+
"types": [
|
7450
|
+
"list",
|
7451
|
+
"unknown"
|
7452
|
+
],
|
7459
7453
|
"listable": true,
|
7454
|
+
"isList": true,
|
7460
7455
|
"value": [
|
7461
7456
|
{
|
7462
7457
|
"value": "dogs",
|
@@ -7469,7 +7464,7 @@
|
|
7469
7464
|
"end": 3
|
7470
7465
|
},
|
7471
7466
|
"dead": true,
|
7472
|
-
"level":
|
7467
|
+
"level": 1
|
7473
7468
|
},
|
7474
7469
|
{
|
7475
7470
|
"value": "wolves",
|
@@ -7482,18 +7477,9 @@
|
|
7482
7477
|
"end": 14
|
7483
7478
|
},
|
7484
7479
|
"dead": true,
|
7485
|
-
"level":
|
7480
|
+
"level": 1
|
7486
7481
|
}
|
7487
7482
|
],
|
7488
|
-
"range": {
|
7489
|
-
"start": 0,
|
7490
|
-
"end": 26
|
7491
|
-
},
|
7492
|
-
"types": [
|
7493
|
-
"list",
|
7494
|
-
"unknown"
|
7495
|
-
],
|
7496
|
-
"text": "dogs and wolves are canines",
|
7497
7483
|
"level": 1
|
7498
7484
|
},
|
7499
7485
|
"two": {
|
@@ -7840,6 +7826,10 @@
|
|
7840
7826
|
"dog",
|
7841
7827
|
"theAble"
|
7842
7828
|
],
|
7829
|
+
[
|
7830
|
+
"doubleQuote",
|
7831
|
+
"queryable"
|
7832
|
+
],
|
7843
7833
|
[
|
7844
7834
|
"eagle",
|
7845
7835
|
"bird"
|
package/common/characters.js
CHANGED
@@ -98,7 +98,6 @@ let configStruct = {
|
|
98
98
|
const words = context.words.map( (context) => context.word )
|
99
99
|
const utterance = words.join(' ')
|
100
100
|
const config = km('characters')
|
101
|
-
debugger
|
102
101
|
const api = config._api.apis[context.value]
|
103
102
|
api.process(config, utterance).then( (result) => {
|
104
103
|
if (!api.response) {
|