ekms 7.12.2-beta.4 → 7.12.2-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/common/avatar.js +5 -4
- package/common/crew.test.json +45 -45
- package/common/dialogues.js +8 -2
- package/common/dimension.js +2 -2
- package/common/dimension.test.json +204 -158
- package/common/edible.instance.json +2 -2
- package/common/edible.test.json +34 -4
- package/common/fastfood.instance.json +486 -326
- package/common/fastfood.test.json +686 -2164
- package/common/formulas.test.json +25 -85
- package/common/gdefaults.js +2 -1
- package/common/hierarchy.js +2 -2
- package/common/math.js +12 -1
- package/common/math.test.json +127 -543
- package/common/people.instance.json +46 -14
- package/common/people.test.json +118 -56
- package/common/pipboy.test.json +1800 -86
- package/common/pokemon.test.json +1658 -4
- package/common/properties.test.json +198 -90
- package/common/reports.instance.json +1 -1
- package/common/scorekeeper.test.json +46 -46
- package/common/temperature.instance.json +54 -30
- package/common/weight.test.json +22 -22
- package/package.json +2 -6
- package/bin/create-km.js +0 -12
package/common/weight.test.json
CHANGED
@@ -488,7 +488,7 @@
|
|
488
488
|
}
|
489
489
|
],
|
490
490
|
"generatedParenthesized": [
|
491
|
-
"(((in) is ((((
|
491
|
+
"(((((10) (pounds)) in (kilograms)) is ((((4.53592)) (kilograms)))))"
|
492
492
|
],
|
493
493
|
"metadata": {
|
494
494
|
"opChoices": [
|
@@ -3071,11 +3071,11 @@
|
|
3071
3071
|
},
|
3072
3072
|
"word": "is"
|
3073
3073
|
},
|
3074
|
-
"generatedParenthesized": "(((in) is ((((
|
3074
|
+
"generatedParenthesized": "(((((10) (pounds)) in (kilograms)) is ((((4.53592)) (kilograms)))))",
|
3075
3075
|
"paraphrases": "what is 10 pounds in kilograms?",
|
3076
3076
|
"paraphrasesParenthesized": "(((what) is (((10) (pounds)) in (kilograms)))?)",
|
3077
3077
|
"responses": [
|
3078
|
-
"in is
|
3078
|
+
"10 pounds in kilograms is 4.53592 kilograms"
|
3079
3079
|
]
|
3080
3080
|
},
|
3081
3081
|
{
|
@@ -3568,7 +3568,7 @@
|
|
3568
3568
|
],
|
3569
3569
|
"query": "what is 10 pounds in kilograms",
|
3570
3570
|
"responses": [
|
3571
|
-
"in is
|
3571
|
+
"10 pounds in kilograms is 4.53592 kilograms"
|
3572
3572
|
]
|
3573
3573
|
},
|
3574
3574
|
{
|
@@ -12386,7 +12386,7 @@
|
|
12386
12386
|
}
|
12387
12387
|
],
|
12388
12388
|
"generatedParenthesized": [
|
12389
|
-
"(((
|
12389
|
+
"(((((1) (ounce)) in ((troy) (ounces))) is ((((0.9115770282588879)) ((troy) (ounces))))))"
|
12390
12390
|
],
|
12391
12391
|
"metadata": {
|
12392
12392
|
"opChoices": [
|
@@ -15057,11 +15057,11 @@
|
|
15057
15057
|
},
|
15058
15058
|
"word": "is"
|
15059
15059
|
},
|
15060
|
-
"generatedParenthesized": "(((
|
15060
|
+
"generatedParenthesized": "(((((1) (ounce)) in ((troy) (ounces))) is ((((0.9115770282588879)) ((troy) (ounces))))))",
|
15061
15061
|
"paraphrases": "what is 1 ounce in troy ounces?",
|
15062
15062
|
"paraphrasesParenthesized": "(((what) is (((1) (ounce)) in ((troy) (ounces))))?)",
|
15063
15063
|
"responses": [
|
15064
|
-
"in
|
15064
|
+
"1 ounce in troy ounces is 0.9115770282588879 troy ounces"
|
15065
15065
|
]
|
15066
15066
|
},
|
15067
15067
|
{
|
@@ -15554,7 +15554,7 @@
|
|
15554
15554
|
],
|
15555
15555
|
"query": "what is 1 ounce in troy ounces",
|
15556
15556
|
"responses": [
|
15557
|
-
"in
|
15557
|
+
"1 ounce in troy ounces is 0.9115770282588879 troy ounces"
|
15558
15558
|
]
|
15559
15559
|
},
|
15560
15560
|
{
|
@@ -16130,7 +16130,7 @@
|
|
16130
16130
|
}
|
16131
16131
|
],
|
16132
16132
|
"generatedParenthesized": [
|
16133
|
-
"(((
|
16133
|
+
"(((((1) ((troy) (ounce))) in (ounces)) is ((((1.097)) (ounces)))))"
|
16134
16134
|
],
|
16135
16135
|
"metadata": {
|
16136
16136
|
"opChoices": [
|
@@ -18797,11 +18797,11 @@
|
|
18797
18797
|
},
|
18798
18798
|
"word": "is"
|
18799
18799
|
},
|
18800
|
-
"generatedParenthesized": "(((
|
18800
|
+
"generatedParenthesized": "(((((1) ((troy) (ounce))) in (ounces)) is ((((1.097)) (ounces)))))",
|
18801
18801
|
"paraphrases": "what is 1 troy ounce in ounces?",
|
18802
18802
|
"paraphrasesParenthesized": "(((what) is (((1) ((troy) (ounce))) in (ounces)))?)",
|
18803
18803
|
"responses": [
|
18804
|
-
"in is 1.097
|
18804
|
+
"1 troy ounce in ounces is 1.097 ounces"
|
18805
18805
|
]
|
18806
18806
|
},
|
18807
18807
|
{
|
@@ -19294,7 +19294,7 @@
|
|
19294
19294
|
],
|
19295
19295
|
"query": "what is 1 troy ounce in ounces",
|
19296
19296
|
"responses": [
|
19297
|
-
"in is 1.097
|
19297
|
+
"1 troy ounce in ounces is 1.097 ounces"
|
19298
19298
|
]
|
19299
19299
|
},
|
19300
19300
|
{
|
@@ -20037,7 +20037,7 @@
|
|
20037
20037
|
],
|
20038
20038
|
"generatedParenthesized": [
|
20039
20039
|
"",
|
20040
|
-
"((((greg) (weight)) is (((213) (pounds)))))"
|
20040
|
+
"(((((greg)'s) (weight)) is (((213) (pounds)))))"
|
20041
20041
|
],
|
20042
20042
|
"metadata": {
|
20043
20043
|
"opChoices": [
|
@@ -23012,12 +23012,12 @@
|
|
23012
23012
|
},
|
23013
23013
|
"word": "is"
|
23014
23014
|
},
|
23015
|
-
"generatedParenthesized": "((((greg) (weight)) is (((213) (pounds)))))",
|
23015
|
+
"generatedParenthesized": "(((((greg)'s) (weight)) is (((213) (pounds)))))",
|
23016
23016
|
"paraphrases": "what is greg's weight?",
|
23017
23017
|
"paraphrasesParenthesized": "(((what) is (((greg)'s) (weight)))?)",
|
23018
23018
|
"responses": [
|
23019
23019
|
"",
|
23020
|
-
"greg weight is 213 pounds"
|
23020
|
+
"greg's weight is 213 pounds"
|
23021
23021
|
]
|
23022
23022
|
},
|
23023
23023
|
{
|
@@ -23170,7 +23170,7 @@
|
|
23170
23170
|
"paraphrasesParenthesized": "(((the (weight)) of (greg)) is ((213) (pounds)))",
|
23171
23171
|
"responses": [
|
23172
23172
|
"",
|
23173
|
-
"greg weight is 213 pounds"
|
23173
|
+
"greg's weight is 213 pounds"
|
23174
23174
|
]
|
23175
23175
|
},
|
23176
23176
|
{
|
@@ -23570,7 +23570,7 @@
|
|
23570
23570
|
"query": "the weight of greg is 213 pounds what is greg's weight",
|
23571
23571
|
"responses": [
|
23572
23572
|
"",
|
23573
|
-
"greg weight is 213 pounds"
|
23573
|
+
"greg's weight is 213 pounds"
|
23574
23574
|
]
|
23575
23575
|
},
|
23576
23576
|
{
|
@@ -24517,7 +24517,7 @@
|
|
24517
24517
|
],
|
24518
24518
|
"generatedParenthesized": [
|
24519
24519
|
"",
|
24520
|
-
"(((in) is ((((
|
24520
|
+
"((((((greg)'s) (weight)) in (kilograms)) is ((((96.615096)) (kilograms)))))"
|
24521
24521
|
],
|
24522
24522
|
"metadata": {
|
24523
24523
|
"opChoices": [
|
@@ -27794,12 +27794,12 @@
|
|
27794
27794
|
},
|
27795
27795
|
"word": "is"
|
27796
27796
|
},
|
27797
|
-
"generatedParenthesized": "(((in) is ((((
|
27797
|
+
"generatedParenthesized": "((((((greg)'s) (weight)) in (kilograms)) is ((((96.615096)) (kilograms)))))",
|
27798
27798
|
"paraphrases": "what is greg's weight in kilograms?",
|
27799
27799
|
"paraphrasesParenthesized": "(((what) is ((((greg)'s) (weight)) in (kilograms)))?)",
|
27800
27800
|
"responses": [
|
27801
27801
|
"",
|
27802
|
-
"in is
|
27802
|
+
"greg's weight in kilograms is 96.615096 kilograms"
|
27803
27803
|
]
|
27804
27804
|
},
|
27805
27805
|
{
|
@@ -27952,7 +27952,7 @@
|
|
27952
27952
|
"paraphrasesParenthesized": "(((the (weight)) of (greg)) is ((213) (pounds)))",
|
27953
27953
|
"responses": [
|
27954
27954
|
"",
|
27955
|
-
"in is
|
27955
|
+
"greg's weight in kilograms is 96.615096 kilograms"
|
27956
27956
|
]
|
27957
27957
|
},
|
27958
27958
|
{
|
@@ -28352,7 +28352,7 @@
|
|
28352
28352
|
"query": "the weight of greg is 213 pounds what is greg's weight in kilograms",
|
28353
28353
|
"responses": [
|
28354
28354
|
"",
|
28355
|
-
"in is
|
28355
|
+
"greg's weight in kilograms is 96.615096 kilograms"
|
28356
28356
|
]
|
28357
28357
|
}
|
28358
28358
|
]
|
package/package.json
CHANGED
@@ -11,9 +11,6 @@
|
|
11
11
|
"test": "jest --config ./jest.config.json",
|
12
12
|
"test:watch": "npm run test -- --watch"
|
13
13
|
},
|
14
|
-
"bin": {
|
15
|
-
"create-km": "bin/create-km"
|
16
|
-
},
|
17
14
|
"sections": [
|
18
15
|
{
|
19
16
|
"name": "Basic Types",
|
@@ -129,7 +126,6 @@
|
|
129
126
|
"description": "Reusable libraries for Entodicton, a natural language to json converter",
|
130
127
|
"name": "ekms",
|
131
128
|
"files": [
|
132
|
-
"bin/create-km.js",
|
133
129
|
"common/animals.instance.json",
|
134
130
|
"common/animals.js",
|
135
131
|
"common/animals.test.json",
|
@@ -285,8 +281,8 @@
|
|
285
281
|
"table": "^6.7.1",
|
286
282
|
"base-64": "^1.0.0",
|
287
283
|
"argparse": "^2.0.1",
|
288
|
-
"theprogrammablemind": "7.12.2-beta.
|
284
|
+
"theprogrammablemind": "7.12.2-beta.5"
|
289
285
|
},
|
290
|
-
"version": "7.12.2-beta.
|
286
|
+
"version": "7.12.2-beta.5",
|
291
287
|
"license": "UNLICENSED"
|
292
288
|
}
|
package/bin/create-km.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#! /usr/bin/env node
|
2
|
-
|
3
|
-
if (process.argv.length < 3) {
|
4
|
-
console.log('usage "npx create-km <kmName>"')
|
5
|
-
process.exit(-1)
|
6
|
-
}
|
7
|
-
|
8
|
-
const kmName = process.argv[2]
|
9
|
-
|
10
|
-
writeFileSync(`${kmName}.instance.json`, '{}')
|
11
|
-
writeFileSync(`${kmName}.test.json`, '{}')
|
12
|
-
writeFileSync(`${kmName}.js`, '{}')
|