ekms 7.12.8-beta.1 → 7.12.8-beta.10
Sign up to get free protection for your applications and to get access to all the features.
- package/common/animals.instance.json +89 -249
- package/common/animals.js +1 -1
- package/common/avatar.js +7 -5
- package/common/characters.js +12 -5
- package/common/crew.instance.json +289 -577
- package/common/crew.js +1 -1
- package/common/currency.js +0 -2
- package/common/dialogues.js +16 -14
- package/common/dimension.instance.json +13 -13
- package/common/dimension.js +1 -1
- package/common/edible.instance.json +293 -297
- package/common/edible.js +1 -1
- package/common/emotions.instance.json +29 -65
- package/common/emotions.js +1 -1
- package/common/fastfood.instance.json +517 -1473
- package/common/fastfood.js +1 -1
- package/common/formulas.instance.json +9 -9
- package/common/formulas.js +2 -2
- package/common/gdefaults.js +2 -0
- package/common/help.js +7 -2
- package/common/help.test.json +9 -5
- package/common/helpers.js +5 -0
- package/common/javascript.js +8 -6
- package/common/kirk.instance.json +1 -1
- package/common/kirk.js +1 -1
- package/common/length.instance.json +49 -229
- package/common/length.js +1 -1
- package/common/math.instance.json +21 -41
- package/common/math.js +1 -1
- package/common/meta.instance.json +1 -1
- package/common/meta.js +35 -10
- package/common/numbers.js +28 -24
- package/common/ordering.instance.json +37 -101
- package/common/ordering.js +1 -1
- package/common/people.instance.json +50 -78
- package/common/people.js +1 -1
- package/common/pipboy.instance.json +197 -201
- package/common/pipboy.js +1 -1
- package/common/pokemon.instance.json +41 -97
- package/common/pokemon.js +1 -1
- package/common/pressure.instance.json +13 -33
- package/common/pressure.js +1 -1
- package/common/properties.instance.json +21 -49
- package/common/properties.js +13 -8
- package/common/reports.instance.json +7 -63
- package/common/reports.js +9 -7
- package/common/scorekeeper.instance.json +1 -1
- package/common/scorekeeper.js +9 -7
- package/common/spock.instance.json +1 -1
- package/common/spock.js +1 -1
- package/common/tell.js +4 -2
- package/common/temperature.instance.json +17 -133
- package/common/temperature.js +1 -1
- package/common/time.js +36 -20
- package/common/time.test.json +66 -44
- package/common/tokenize.js +46 -0
- package/common/tokenize.test.json +2 -0
- package/common/ui.instance.json +1 -1
- package/common/weight.instance.json +33 -201
- package/common/weight.js +1 -1
- package/main.js +2 -0
- package/package.json +7 -3
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"configs": [
|
3
3
|
"troy modifies ounces",
|
4
4
|
"weight is a dimension",
|
5
5
|
"kilograms grams pounds (troy ounces) ounces and tons are units of weight",
|
@@ -799,29 +799,29 @@
|
|
799
799
|
"dead": true,
|
800
800
|
"modifiers": [
|
801
801
|
{
|
802
|
+
"value": "troy",
|
803
|
+
"unknown": true,
|
804
|
+
"text": "troy",
|
802
805
|
"marker": "unknown",
|
806
|
+
"word": "troy",
|
803
807
|
"range": {
|
804
808
|
"start": 0,
|
805
809
|
"end": 3
|
806
810
|
},
|
807
|
-
"word": "troy",
|
808
|
-
"text": "troy",
|
809
|
-
"value": "troy",
|
810
|
-
"unknown": true,
|
811
811
|
"dead": true,
|
812
812
|
"level": 1
|
813
813
|
}
|
814
814
|
],
|
815
815
|
"concept": {
|
816
|
+
"value": "ounces",
|
817
|
+
"unknown": true,
|
818
|
+
"text": "ounces",
|
816
819
|
"marker": "unknown",
|
820
|
+
"word": "ounces",
|
817
821
|
"range": {
|
818
822
|
"start": 14,
|
819
823
|
"end": 19
|
820
824
|
},
|
821
|
-
"word": "ounces",
|
822
|
-
"text": "ounces",
|
823
|
-
"value": "ounces",
|
824
|
-
"unknown": true,
|
825
825
|
"dead": true,
|
826
826
|
"level": 1
|
827
827
|
},
|
@@ -1814,15 +1814,15 @@
|
|
1814
1814
|
},
|
1815
1815
|
"one": {
|
1816
1816
|
"number": "one",
|
1817
|
+
"value": "weight",
|
1818
|
+
"unknown": true,
|
1819
|
+
"text": "weight",
|
1817
1820
|
"marker": "unknown",
|
1821
|
+
"word": "weight",
|
1818
1822
|
"range": {
|
1819
1823
|
"start": 0,
|
1820
1824
|
"end": 20
|
1821
1825
|
},
|
1822
|
-
"word": "weight",
|
1823
|
-
"text": "weight",
|
1824
|
-
"value": "weight",
|
1825
|
-
"unknown": true,
|
1826
1826
|
"dead": true,
|
1827
1827
|
"types": [
|
1828
1828
|
"unknown"
|
@@ -3344,41 +3344,41 @@
|
|
3344
3344
|
"isList": true,
|
3345
3345
|
"value": [
|
3346
3346
|
{
|
3347
|
+
"value": "kilograms",
|
3348
|
+
"unknown": true,
|
3349
|
+
"text": "kilograms",
|
3347
3350
|
"marker": "unknown",
|
3351
|
+
"word": "kilograms",
|
3348
3352
|
"range": {
|
3349
3353
|
"start": 0,
|
3350
3354
|
"end": 8
|
3351
3355
|
},
|
3352
|
-
"word": "kilograms",
|
3353
|
-
"text": "kilograms",
|
3354
|
-
"value": "kilograms",
|
3355
|
-
"unknown": true,
|
3356
3356
|
"dead": true,
|
3357
3357
|
"level": 1
|
3358
3358
|
},
|
3359
3359
|
{
|
3360
|
+
"value": "grams",
|
3361
|
+
"unknown": true,
|
3362
|
+
"text": "grams",
|
3360
3363
|
"marker": "unknown",
|
3364
|
+
"word": "grams",
|
3361
3365
|
"range": {
|
3362
3366
|
"start": 10,
|
3363
3367
|
"end": 14
|
3364
3368
|
},
|
3365
|
-
"word": "grams",
|
3366
|
-
"text": "grams",
|
3367
|
-
"value": "grams",
|
3368
|
-
"unknown": true,
|
3369
3369
|
"dead": true,
|
3370
3370
|
"level": 1
|
3371
3371
|
},
|
3372
3372
|
{
|
3373
|
+
"value": "pounds",
|
3374
|
+
"unknown": true,
|
3375
|
+
"text": "pounds",
|
3373
3376
|
"marker": "unknown",
|
3377
|
+
"word": "pounds",
|
3374
3378
|
"range": {
|
3375
3379
|
"start": 16,
|
3376
3380
|
"end": 21
|
3377
3381
|
},
|
3378
|
-
"word": "pounds",
|
3379
|
-
"text": "pounds",
|
3380
|
-
"value": "pounds",
|
3381
|
-
"unknown": true,
|
3382
3382
|
"dead": true,
|
3383
3383
|
"level": 1
|
3384
3384
|
},
|
@@ -3432,15 +3432,15 @@
|
|
3432
3432
|
"level": 1
|
3433
3433
|
},
|
3434
3434
|
{
|
3435
|
+
"value": "tons",
|
3436
|
+
"unknown": true,
|
3437
|
+
"text": "tons",
|
3435
3438
|
"marker": "unknown",
|
3439
|
+
"word": "tons",
|
3436
3440
|
"range": {
|
3437
3441
|
"start": 48,
|
3438
3442
|
"end": 51
|
3439
3443
|
},
|
3440
|
-
"word": "tons",
|
3441
|
-
"text": "tons",
|
3442
|
-
"value": "tons",
|
3443
|
-
"unknown": true,
|
3444
3444
|
"dead": true,
|
3445
3445
|
"level": 1
|
3446
3446
|
}
|
@@ -3818,32 +3818,6 @@
|
|
3818
3818
|
0
|
3819
3819
|
]
|
3820
3820
|
],
|
3821
|
-
[
|
3822
|
-
[
|
3823
|
-
"is",
|
3824
|
-
0
|
3825
|
-
],
|
3826
|
-
[
|
3827
|
-
"list",
|
3828
|
-
1
|
3829
|
-
],
|
3830
|
-
[
|
3831
|
-
"propertyOf",
|
3832
|
-
0
|
3833
|
-
],
|
3834
|
-
[
|
3835
|
-
"unit",
|
3836
|
-
0
|
3837
|
-
],
|
3838
|
-
[
|
3839
|
-
"unknown",
|
3840
|
-
1
|
3841
|
-
],
|
3842
|
-
[
|
3843
|
-
"weight",
|
3844
|
-
0
|
3845
|
-
]
|
3846
|
-
],
|
3847
3821
|
[
|
3848
3822
|
[
|
3849
3823
|
"is",
|
@@ -3897,20 +3871,6 @@
|
|
3897
3871
|
"propertyOf",
|
3898
3872
|
1
|
3899
3873
|
]
|
3900
|
-
],
|
3901
|
-
[
|
3902
|
-
[
|
3903
|
-
"troy",
|
3904
|
-
0
|
3905
|
-
],
|
3906
|
-
[
|
3907
|
-
"unknown",
|
3908
|
-
0
|
3909
|
-
],
|
3910
|
-
[
|
3911
|
-
"weight",
|
3912
|
-
0
|
3913
|
-
]
|
3914
3874
|
]
|
3915
3875
|
],
|
3916
3876
|
"learned_contextual_priorities": [],
|
@@ -5150,16 +5110,6 @@
|
|
5150
5110
|
""
|
5151
5111
|
],
|
5152
5112
|
"associations": [
|
5153
|
-
[
|
5154
|
-
[
|
5155
|
-
"*",
|
5156
|
-
0
|
5157
|
-
],
|
5158
|
-
[
|
5159
|
-
"troy",
|
5160
|
-
0
|
5161
|
-
]
|
5162
|
-
],
|
5163
5113
|
[
|
5164
5114
|
[
|
5165
5115
|
"equals",
|
@@ -6454,16 +6404,6 @@
|
|
6454
6404
|
""
|
6455
6405
|
],
|
6456
6406
|
"associations": [
|
6457
|
-
[
|
6458
|
-
[
|
6459
|
-
"/",
|
6460
|
-
0
|
6461
|
-
],
|
6462
|
-
[
|
6463
|
-
"troy",
|
6464
|
-
0
|
6465
|
-
]
|
6466
|
-
],
|
6467
6407
|
[
|
6468
6408
|
[
|
6469
6409
|
"divideByOperator",
|
@@ -14034,15 +13974,15 @@
|
|
14034
13974
|
"timesExpression"
|
14035
13975
|
],
|
14036
13976
|
"x": {
|
13977
|
+
"value": "tonne",
|
13978
|
+
"unknown": true,
|
13979
|
+
"text": "tonne",
|
14037
13980
|
"marker": "unknown",
|
13981
|
+
"word": "tonne",
|
14038
13982
|
"range": {
|
14039
13983
|
"start": 6,
|
14040
13984
|
"end": 10
|
14041
13985
|
},
|
14042
|
-
"word": "tonne",
|
14043
|
-
"text": "tonne",
|
14044
|
-
"value": "tonne",
|
14045
|
-
"unknown": true,
|
14046
13986
|
"dead": true,
|
14047
13987
|
"types": [
|
14048
13988
|
"number",
|
@@ -14090,20 +14030,6 @@
|
|
14090
14030
|
""
|
14091
14031
|
],
|
14092
14032
|
"associations": [
|
14093
|
-
[
|
14094
|
-
[
|
14095
|
-
"*",
|
14096
|
-
0
|
14097
|
-
],
|
14098
|
-
[
|
14099
|
-
"ton",
|
14100
|
-
0
|
14101
|
-
],
|
14102
|
-
[
|
14103
|
-
"unknown",
|
14104
|
-
0
|
14105
|
-
]
|
14106
|
-
],
|
14107
14033
|
[
|
14108
14034
|
[
|
14109
14035
|
"equals",
|
@@ -15387,16 +15313,6 @@
|
|
15387
15313
|
""
|
15388
15314
|
],
|
15389
15315
|
"associations": [
|
15390
|
-
[
|
15391
|
-
[
|
15392
|
-
"*",
|
15393
|
-
0
|
15394
|
-
],
|
15395
|
-
[
|
15396
|
-
"ton",
|
15397
|
-
0
|
15398
|
-
]
|
15399
|
-
],
|
15400
15316
|
[
|
15401
15317
|
[
|
15402
15318
|
"equals",
|
@@ -15472,50 +15388,6 @@
|
|
15472
15388
|
"fragments": [],
|
15473
15389
|
"semantics": [],
|
15474
15390
|
"associations": [
|
15475
|
-
[
|
15476
|
-
[
|
15477
|
-
"*",
|
15478
|
-
0
|
15479
|
-
],
|
15480
|
-
[
|
15481
|
-
"ton",
|
15482
|
-
0
|
15483
|
-
]
|
15484
|
-
],
|
15485
|
-
[
|
15486
|
-
[
|
15487
|
-
"*",
|
15488
|
-
0
|
15489
|
-
],
|
15490
|
-
[
|
15491
|
-
"ton",
|
15492
|
-
0
|
15493
|
-
],
|
15494
|
-
[
|
15495
|
-
"unknown",
|
15496
|
-
0
|
15497
|
-
]
|
15498
|
-
],
|
15499
|
-
[
|
15500
|
-
[
|
15501
|
-
"*",
|
15502
|
-
0
|
15503
|
-
],
|
15504
|
-
[
|
15505
|
-
"troy",
|
15506
|
-
0
|
15507
|
-
]
|
15508
|
-
],
|
15509
|
-
[
|
15510
|
-
[
|
15511
|
-
"/",
|
15512
|
-
0
|
15513
|
-
],
|
15514
|
-
[
|
15515
|
-
"troy",
|
15516
|
-
0
|
15517
|
-
]
|
15518
|
-
],
|
15519
15391
|
[
|
15520
15392
|
[
|
15521
15393
|
"a",
|
@@ -16438,32 +16310,6 @@
|
|
16438
16310
|
0
|
16439
16311
|
]
|
16440
16312
|
],
|
16441
|
-
[
|
16442
|
-
[
|
16443
|
-
"is",
|
16444
|
-
0
|
16445
|
-
],
|
16446
|
-
[
|
16447
|
-
"list",
|
16448
|
-
1
|
16449
|
-
],
|
16450
|
-
[
|
16451
|
-
"propertyOf",
|
16452
|
-
0
|
16453
|
-
],
|
16454
|
-
[
|
16455
|
-
"unit",
|
16456
|
-
0
|
16457
|
-
],
|
16458
|
-
[
|
16459
|
-
"unknown",
|
16460
|
-
1
|
16461
|
-
],
|
16462
|
-
[
|
16463
|
-
"weight",
|
16464
|
-
0
|
16465
|
-
]
|
16466
|
-
],
|
16467
16313
|
[
|
16468
16314
|
[
|
16469
16315
|
"is",
|
@@ -16561,20 +16407,6 @@
|
|
16561
16407
|
"unknown",
|
16562
16408
|
1
|
16563
16409
|
]
|
16564
|
-
],
|
16565
|
-
[
|
16566
|
-
[
|
16567
|
-
"troy",
|
16568
|
-
0
|
16569
|
-
],
|
16570
|
-
[
|
16571
|
-
"unknown",
|
16572
|
-
0
|
16573
|
-
],
|
16574
|
-
[
|
16575
|
-
"weight",
|
16576
|
-
0
|
16577
|
-
]
|
16578
16410
|
]
|
16579
16411
|
],
|
16580
16412
|
"learned_contextual_priorities": []
|
package/common/weight.js
CHANGED
@@ -16,7 +16,7 @@ const weight_instance = require('./weight.instance.json')
|
|
16
16
|
troy ounce is an ounce
|
17
17
|
*/
|
18
18
|
const template = {
|
19
|
-
|
19
|
+
configs: [
|
20
20
|
"troy modifies ounces",
|
21
21
|
"weight is a dimension",
|
22
22
|
// "kilograms grams pounds ounces and tons are units of weight",
|
package/main.js
CHANGED
@@ -14,6 +14,7 @@ const ordering = require('./common/ordering')
|
|
14
14
|
const properties = require('./common/properties')
|
15
15
|
const sizeable = require('./common/sizeable')
|
16
16
|
const yesno = require('./common/yesno')
|
17
|
+
const tokenize = require('./common/tokenize')
|
17
18
|
const dialogues = require('./common/dialogues')
|
18
19
|
const gdefaults = require('./common/gdefaults')
|
19
20
|
const meta = require('./common/meta')
|
@@ -59,6 +60,7 @@ ordering,
|
|
59
60
|
properties,
|
60
61
|
sizeable,
|
61
62
|
yesno,
|
63
|
+
tokenize,
|
62
64
|
dialogues,
|
63
65
|
gdefaults,
|
64
66
|
meta,
|
package/package.json
CHANGED
@@ -41,7 +41,9 @@
|
|
41
41
|
{
|
42
42
|
"name": "Hidden",
|
43
43
|
"description": "Don't show in the UI",
|
44
|
-
"includes": [
|
44
|
+
"includes": [
|
45
|
+
"tokenize"
|
46
|
+
]
|
45
47
|
},
|
46
48
|
{
|
47
49
|
"name": "Language",
|
@@ -242,6 +244,8 @@
|
|
242
244
|
"common/testing.test.json",
|
243
245
|
"common/time.js",
|
244
246
|
"common/time.test.json",
|
247
|
+
"common/tokenize.js",
|
248
|
+
"common/tokenize.test.json",
|
245
249
|
"common/ui.instance.json",
|
246
250
|
"common/ui.js",
|
247
251
|
"common/ui.test.json",
|
@@ -265,8 +269,8 @@
|
|
265
269
|
"table": "^6.7.1",
|
266
270
|
"base-64": "^1.0.0",
|
267
271
|
"argparse": "^2.0.1",
|
268
|
-
"theprogrammablemind": "7.12.8-beta.
|
272
|
+
"theprogrammablemind": "7.12.8-beta.10"
|
269
273
|
},
|
270
|
-
"version": "7.12.8-beta.
|
274
|
+
"version": "7.12.8-beta.10",
|
271
275
|
"license": "UNLICENSED"
|
272
276
|
}
|