tpmkms 9.5.0 → 9.5.1-beta.10
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.
- package/common/animals.instance.json +21 -61
- package/common/asking.js +106 -104
- package/common/can.instance.json +17 -0
- package/common/can.js +188 -0
- package/common/characters.js +5 -5
- package/common/colors.instance.json +38 -10
- package/common/comparable.instance.json +2 -2
- package/common/concept.test.json +54 -40
- package/common/conjunction.js +13 -5
- package/common/crew.instance.json +71 -85
- package/common/crew.js +1 -1
- package/common/crew.test.json +4148 -3324
- package/common/currency.js +1 -1
- package/common/dates.instance.json +87 -3
- package/common/dialogues.js +12 -9
- package/common/dimension.instance.json +9 -9
- package/common/dimension.js +4 -4
- package/common/edible.instance.json +79 -23
- package/common/emotions.instance.json +29 -7
- package/common/emotions.js +1 -1
- package/common/emotions.test.json +242 -174
- package/common/english_helpers.js +336 -0
- package/common/errors.js +3 -3
- package/common/evaluate.js +2 -2
- package/common/events.js +8 -8
- package/common/fastfood.instance.json +205 -553
- package/common/fastfood.js +4 -4
- package/common/formulas.instance.json +1 -1
- package/common/formulas.js +1 -1
- package/common/gdefaults.js +58 -9
- package/common/help.js +3 -3
- package/common/helpers/concept.js +1 -1
- package/common/helpers/conjunction.js +54 -44
- package/common/helpers/dateTimeSelectors.js +2 -2
- package/common/helpers/dialogues.js +1 -1
- package/common/helpers/formulas.js +13 -11
- package/common/helpers/menus.js +12 -12
- package/common/helpers/meta.js +9 -9
- package/common/helpers/properties.js +158 -55
- package/common/helpers.js +135 -46
- package/common/hierarchy.js +3 -3
- package/common/kirk.instance.json +1 -1
- package/common/latin.instance.json +2 -2
- package/common/latin.js +4 -4
- package/common/length.instance.json +2 -2
- package/common/listener.js +1 -1
- package/common/math.instance.json +28 -28
- package/common/math.js +47 -46
- package/common/menus.instance.json +3 -3
- package/common/menus.js +1 -1
- package/common/meta.js +76 -60
- package/common/nameable.js +7 -7
- package/common/ordering.instance.json +85 -19
- package/common/ordering.js +1 -1
- package/common/ordering.test.json +786 -298
- package/common/people.instance.json +59 -56
- package/common/people.js +6 -4
- package/common/people.test.json +4135 -3606
- package/common/pipboy.instance.json +72 -16
- package/common/pipboy.js +2 -3
- package/common/pokemon.instance.json +8 -8
- package/common/pokemon.js +1 -1
- package/common/pressure.instance.json +2 -2
- package/common/properties.instance.json +1 -1
- package/common/properties.js +22 -4
- package/common/reminders.instance.json +4 -4
- package/common/reminders.js +3 -3
- package/common/reports.instance.json +3 -3
- package/common/reports.js +18 -16
- package/common/scorekeeper.js +6 -6
- package/common/sdefaults.js +22 -2
- package/common/spock.instance.json +1 -1
- package/common/stgame.js +1 -1
- package/common/stm.js +4 -4
- package/common/tell.js +1 -1
- package/common/temperature.instance.json +2 -2
- package/common/tester.js +3 -3
- package/common/time.js +3 -3
- package/common/tokenize.js +5 -2
- package/common/weight.instance.json +2 -2
- package/common/wp.instance.json +136 -8
- package/common/wp.js +4 -4
- package/package.json +6 -2
package/common/currency.js
CHANGED
|
@@ -89,7 +89,7 @@ const config = {
|
|
|
89
89
|
],
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
function initializer({config, objects, apis, addWord, addGenerator, baseConfig, uuid}) {
|
|
93
93
|
const api = apis('currency')
|
|
94
94
|
units = api.getUnits()
|
|
95
95
|
for (word in units) {
|
|
@@ -2972,7 +2972,7 @@
|
|
|
2972
2972
|
"text": "january, february, march, april, may, june, july, august, september, october, november and december",
|
|
2973
2973
|
"range": {
|
|
2974
2974
|
"start": 0,
|
|
2975
|
-
"end":
|
|
2975
|
+
"end": 98
|
|
2976
2976
|
},
|
|
2977
2977
|
"types": [
|
|
2978
2978
|
"list",
|
|
@@ -3401,6 +3401,20 @@
|
|
|
3401
3401
|
0
|
|
3402
3402
|
]
|
|
3403
3403
|
],
|
|
3404
|
+
[
|
|
3405
|
+
[
|
|
3406
|
+
"is",
|
|
3407
|
+
0
|
|
3408
|
+
],
|
|
3409
|
+
[
|
|
3410
|
+
"list",
|
|
3411
|
+
1
|
|
3412
|
+
],
|
|
3413
|
+
[
|
|
3414
|
+
"unknown",
|
|
3415
|
+
0
|
|
3416
|
+
]
|
|
3417
|
+
],
|
|
3404
3418
|
[
|
|
3405
3419
|
[
|
|
3406
3420
|
"is",
|
|
@@ -11477,7 +11491,7 @@
|
|
|
11477
11491
|
"text": "monday, tuesday, wednesday, thursday, friday, saturday and sunday",
|
|
11478
11492
|
"range": {
|
|
11479
11493
|
"start": 0,
|
|
11480
|
-
"end":
|
|
11494
|
+
"end": 64
|
|
11481
11495
|
},
|
|
11482
11496
|
"types": [
|
|
11483
11497
|
"list",
|
|
@@ -11751,6 +11765,20 @@
|
|
|
11751
11765
|
0
|
|
11752
11766
|
]
|
|
11753
11767
|
],
|
|
11768
|
+
[
|
|
11769
|
+
[
|
|
11770
|
+
"is",
|
|
11771
|
+
0
|
|
11772
|
+
],
|
|
11773
|
+
[
|
|
11774
|
+
"list",
|
|
11775
|
+
1
|
|
11776
|
+
],
|
|
11777
|
+
[
|
|
11778
|
+
"unknown",
|
|
11779
|
+
0
|
|
11780
|
+
]
|
|
11781
|
+
],
|
|
11754
11782
|
[
|
|
11755
11783
|
[
|
|
11756
11784
|
"is",
|
|
@@ -15659,7 +15687,7 @@
|
|
|
15659
15687
|
"text": "ac, bc, bce and ad",
|
|
15660
15688
|
"range": {
|
|
15661
15689
|
"start": 0,
|
|
15662
|
-
"end":
|
|
15690
|
+
"end": 17
|
|
15663
15691
|
},
|
|
15664
15692
|
"types": [
|
|
15665
15693
|
"list",
|
|
@@ -15840,6 +15868,20 @@
|
|
|
15840
15868
|
0
|
|
15841
15869
|
]
|
|
15842
15870
|
],
|
|
15871
|
+
[
|
|
15872
|
+
[
|
|
15873
|
+
"is",
|
|
15874
|
+
0
|
|
15875
|
+
],
|
|
15876
|
+
[
|
|
15877
|
+
"list",
|
|
15878
|
+
1
|
|
15879
|
+
],
|
|
15880
|
+
[
|
|
15881
|
+
"unknown",
|
|
15882
|
+
0
|
|
15883
|
+
]
|
|
15884
|
+
],
|
|
15843
15885
|
[
|
|
15844
15886
|
[
|
|
15845
15887
|
"is",
|
|
@@ -18801,6 +18843,48 @@
|
|
|
18801
18843
|
0
|
|
18802
18844
|
]
|
|
18803
18845
|
],
|
|
18846
|
+
[
|
|
18847
|
+
[
|
|
18848
|
+
"is",
|
|
18849
|
+
0
|
|
18850
|
+
],
|
|
18851
|
+
[
|
|
18852
|
+
"list",
|
|
18853
|
+
1
|
|
18854
|
+
],
|
|
18855
|
+
[
|
|
18856
|
+
"unknown",
|
|
18857
|
+
0
|
|
18858
|
+
]
|
|
18859
|
+
],
|
|
18860
|
+
[
|
|
18861
|
+
[
|
|
18862
|
+
"is",
|
|
18863
|
+
0
|
|
18864
|
+
],
|
|
18865
|
+
[
|
|
18866
|
+
"list",
|
|
18867
|
+
1
|
|
18868
|
+
],
|
|
18869
|
+
[
|
|
18870
|
+
"unknown",
|
|
18871
|
+
0
|
|
18872
|
+
]
|
|
18873
|
+
],
|
|
18874
|
+
[
|
|
18875
|
+
[
|
|
18876
|
+
"is",
|
|
18877
|
+
0
|
|
18878
|
+
],
|
|
18879
|
+
[
|
|
18880
|
+
"list",
|
|
18881
|
+
1
|
|
18882
|
+
],
|
|
18883
|
+
[
|
|
18884
|
+
"unknown",
|
|
18885
|
+
0
|
|
18886
|
+
]
|
|
18887
|
+
],
|
|
18804
18888
|
[
|
|
18805
18889
|
[
|
|
18806
18890
|
"setIdSuffix",
|
package/common/dialogues.js
CHANGED
|
@@ -18,7 +18,7 @@ const pluralize = require('pluralize')
|
|
|
18
18
|
|
|
19
19
|
const api = new API()
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
function warningIsANotImplemented(log, context) {
|
|
22
22
|
const description = 'WARNING from Dialogues KM: For semantics in order to handle sentences of type "x is y?", set the response to what you like.'
|
|
23
23
|
const match = `({context, hierarchy}) => hierarchy.isA(context.marker, 'is') && context.query && <other conditions as you like>`
|
|
24
24
|
const apply = `({context}) => <do stuff...>; context.evalue = <value>`
|
|
@@ -27,7 +27,7 @@ const warningIsANotImplemented = (log, context) => {
|
|
|
27
27
|
log(indent(message, 4))
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
function warningSameNotEvaluated(log, one) {
|
|
31
31
|
const description = 'WARNING from Dialogues KM: For the "X is Y" type phrase implement a same handler.'
|
|
32
32
|
const match = `({context}) => context.marker == '${one.marker}' && context.same && <other conditions as you like>`
|
|
33
33
|
const apply = '({context}) => <do stuff... context.same is the other value>; context.sameWasProcessed = true'
|
|
@@ -36,7 +36,7 @@ const warningSameNotEvaluated = (log, one) => {
|
|
|
36
36
|
log(indent(message, 4))
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
function listorama(type) {
|
|
40
40
|
return [
|
|
41
41
|
{ context: [[type, 0], ['list', 0], [type, 0]], choose: 0 },
|
|
42
42
|
{ context: [[type, 1], ['list', 0], [type, 0]], choose: 0 },
|
|
@@ -69,7 +69,7 @@ const config = {
|
|
|
69
69
|
"([isEder|])",
|
|
70
70
|
|
|
71
71
|
// "([nevermind])",
|
|
72
|
-
// { pattern: "([nevermindTestSetup] (allowed))",
|
|
72
|
+
// { pattern: "([nevermindTestSetup] (allowed))", scope: "testing" },
|
|
73
73
|
"([why])",
|
|
74
74
|
"([reason])",
|
|
75
75
|
// "([thisitthat|])",
|
|
@@ -245,6 +245,7 @@ const config = {
|
|
|
245
245
|
{ id: "canBeDoQuestion", level: 2, bridge: "{ ...next(operator) }" },
|
|
246
246
|
{ id: "doesAble", level: 0, bridge: "{ ...next(operator) }" },
|
|
247
247
|
{ id: "doesAble", level: 1, bridge: "{ ...next(operator), before: before[0] }" },
|
|
248
|
+
// { id: "does", level: 0, bridge: "{ query: true, wantsTruthValue: true, what: operator.marker, ...context, number: operator.number, object.number: operator.number }*" },
|
|
248
249
|
{ id: "does", level: 0, bridge: "{ query: true, what: operator.marker, ...context, number: operator.number, object.number: operator.number }*" },
|
|
249
250
|
|
|
250
251
|
/*
|
|
@@ -369,11 +370,13 @@ const config = {
|
|
|
369
370
|
{
|
|
370
371
|
where: where(),
|
|
371
372
|
notes: "handle making responses brief",
|
|
372
|
-
match: ({context, objects}) => (context.topLevel || context.isResponse) && objects.brief && !context.briefWasRun,
|
|
373
|
+
match: ({context, objects, callId}) => (context.topLevel || context.isResponse) && objects.brief && !context.briefWasRun,
|
|
373
374
|
apply: async ({context, g}) => {
|
|
374
375
|
const focussed = focus(context)
|
|
375
376
|
context.briefWasRun = true
|
|
376
|
-
|
|
377
|
+
const result = await g(focussed)
|
|
378
|
+
context.briefWasRun = false
|
|
379
|
+
return result
|
|
377
380
|
},
|
|
378
381
|
priority: -2,
|
|
379
382
|
},
|
|
@@ -393,7 +396,7 @@ const config = {
|
|
|
393
396
|
where: where(),
|
|
394
397
|
notes: "be brief or wordy",
|
|
395
398
|
match: ({context}) => context.marker == 'be',
|
|
396
|
-
apply: ({context}) => `be ${context.type
|
|
399
|
+
apply: ({context}) => `be ${context.type?.word}`,
|
|
397
400
|
},
|
|
398
401
|
/*
|
|
399
402
|
{
|
|
@@ -528,7 +531,7 @@ const config = {
|
|
|
528
531
|
return `${await gp(context.one)} ${isMany(context.one) || isMany(context.two) || isMany(context) ? "are" : "is"} ${await g(context.two)}`
|
|
529
532
|
}
|
|
530
533
|
|
|
531
|
-
|
|
534
|
+
function hasFocus(property) {
|
|
532
535
|
if (context.focusableForPhrase) {
|
|
533
536
|
return true
|
|
534
537
|
}
|
|
@@ -788,7 +791,7 @@ const config = {
|
|
|
788
791
|
],
|
|
789
792
|
};
|
|
790
793
|
|
|
791
|
-
|
|
794
|
+
function initializer({objects, config, isModule}) {
|
|
792
795
|
/* TODO add this beck in. some stuff from config needs to be here
|
|
793
796
|
config.addArgs((args) => ({
|
|
794
797
|
e: (context) => config.api.getEvaluator(args.s, args.log, context),
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"operators": [
|
|
7
7
|
"([dimension])",
|
|
8
8
|
"([unit])",
|
|
9
|
-
"((amount
|
|
9
|
+
"((amount/* || number/*) [amountOfDimension|] ([unit]))",
|
|
10
10
|
"(([amount]) [unit])",
|
|
11
11
|
"((dimension) [convertToUnits|in] (unit))",
|
|
12
12
|
"(([number]) [degree])",
|
|
13
13
|
{
|
|
14
14
|
"pattern": "([length])",
|
|
15
|
-
"
|
|
15
|
+
"scope": "testing"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"priorities": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{
|
|
37
37
|
"child": "convertToUnits",
|
|
38
38
|
"parent": "testingValue",
|
|
39
|
-
"
|
|
39
|
+
"scope": "testing"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"generators": [
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dimension"
|
|
60
60
|
],
|
|
61
61
|
"bridge": "{ ...next(operator) }",
|
|
62
|
-
"
|
|
62
|
+
"scope": "testing"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"id": "amount"
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
"text": "dimension and unit",
|
|
1136
1136
|
"range": {
|
|
1137
1137
|
"start": 0,
|
|
1138
|
-
"end":
|
|
1138
|
+
"end": 17
|
|
1139
1139
|
},
|
|
1140
1140
|
"types": [
|
|
1141
1141
|
"list",
|
|
@@ -1552,13 +1552,13 @@
|
|
|
1552
1552
|
"operators": [
|
|
1553
1553
|
"([dimension])",
|
|
1554
1554
|
"([unit])",
|
|
1555
|
-
"((amount
|
|
1555
|
+
"((amount/* || number/*) [amountOfDimension|] ([unit]))",
|
|
1556
1556
|
"(([amount]) [unit])",
|
|
1557
1557
|
"((dimension) [convertToUnits|in] (unit))",
|
|
1558
1558
|
"(([number]) [degree])",
|
|
1559
1559
|
{
|
|
1560
1560
|
"pattern": "([length])",
|
|
1561
|
-
"
|
|
1561
|
+
"scope": "testing"
|
|
1562
1562
|
}
|
|
1563
1563
|
],
|
|
1564
1564
|
"priorities": [
|
|
@@ -1582,7 +1582,7 @@
|
|
|
1582
1582
|
{
|
|
1583
1583
|
"child": "convertToUnits",
|
|
1584
1584
|
"parent": "testingValue",
|
|
1585
|
-
"
|
|
1585
|
+
"scope": "testing"
|
|
1586
1586
|
}
|
|
1587
1587
|
],
|
|
1588
1588
|
"generators": [
|
|
@@ -1604,7 +1604,7 @@
|
|
|
1604
1604
|
"dimension"
|
|
1605
1605
|
],
|
|
1606
1606
|
"bridge": "{ ...next(operator) }",
|
|
1607
|
-
"
|
|
1607
|
+
"scope": "testing"
|
|
1608
1608
|
},
|
|
1609
1609
|
{
|
|
1610
1610
|
"id": "amount"
|
package/common/dimension.js
CHANGED
|
@@ -58,19 +58,19 @@ const config = {
|
|
|
58
58
|
"([dimension])",
|
|
59
59
|
"([unit])",
|
|
60
60
|
// "(([unit]) [kindOfDimension|of] ([dimension]))",
|
|
61
|
-
"((amount
|
|
61
|
+
"((amount/* || number/*) [amountOfDimension|] ([unit]))",
|
|
62
62
|
"(([amount]) [unit])",
|
|
63
63
|
"((dimension) [convertToUnits|in] (unit))",
|
|
64
64
|
|
|
65
65
|
"(([number]) [degree])",
|
|
66
|
-
{ pattern: "([length])",
|
|
66
|
+
{ pattern: "([length])", scope: "testing" },
|
|
67
67
|
],
|
|
68
68
|
priorities: [
|
|
69
69
|
// TODO this should have been calculated
|
|
70
70
|
{ "context": [['amountOfDimension', 0], ['convertToUnits', 0], ], "choose": [0] },
|
|
71
71
|
],
|
|
72
72
|
hierarchy: [
|
|
73
|
-
{ child: 'convertToUnits', parent: 'testingValue',
|
|
73
|
+
{ child: 'convertToUnits', parent: 'testingValue', scope: "testing" },
|
|
74
74
|
],
|
|
75
75
|
generators: [
|
|
76
76
|
{
|
|
@@ -94,7 +94,7 @@ const config = {
|
|
|
94
94
|
id: "length",
|
|
95
95
|
isA: ['dimension'],
|
|
96
96
|
bridge: "{ ...next(operator) }",
|
|
97
|
-
|
|
97
|
+
scope: "testing"
|
|
98
98
|
},
|
|
99
99
|
{ id: "amount", },
|
|
100
100
|
/*
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
"text": "food and drinks",
|
|
541
541
|
"range": {
|
|
542
542
|
"start": 0,
|
|
543
|
-
"end":
|
|
543
|
+
"end": 14
|
|
544
544
|
},
|
|
545
545
|
"types": [
|
|
546
546
|
"list",
|
|
@@ -3545,7 +3545,7 @@
|
|
|
3545
3545
|
"text": "nuggets, chicken strips and chicken nuggets",
|
|
3546
3546
|
"range": {
|
|
3547
3547
|
"start": 0,
|
|
3548
|
-
"end":
|
|
3548
|
+
"end": 42
|
|
3549
3549
|
},
|
|
3550
3550
|
"types": [
|
|
3551
3551
|
"chicken_nugget",
|
|
@@ -5179,7 +5179,7 @@
|
|
|
5179
5179
|
"word": "sushi",
|
|
5180
5180
|
"range": {
|
|
5181
5181
|
"start": 0,
|
|
5182
|
-
"end":
|
|
5182
|
+
"end": 4
|
|
5183
5183
|
},
|
|
5184
5184
|
"dead": true,
|
|
5185
5185
|
"types": [
|
|
@@ -6349,7 +6349,7 @@
|
|
|
6349
6349
|
"text": "apples oranges and bananas",
|
|
6350
6350
|
"range": {
|
|
6351
6351
|
"start": 0,
|
|
6352
|
-
"end":
|
|
6352
|
+
"end": 25
|
|
6353
6353
|
},
|
|
6354
6354
|
"types": [
|
|
6355
6355
|
"list",
|
|
@@ -6462,6 +6462,20 @@
|
|
|
6462
6462
|
0
|
|
6463
6463
|
]
|
|
6464
6464
|
],
|
|
6465
|
+
[
|
|
6466
|
+
[
|
|
6467
|
+
"is",
|
|
6468
|
+
0
|
|
6469
|
+
],
|
|
6470
|
+
[
|
|
6471
|
+
"list",
|
|
6472
|
+
1
|
|
6473
|
+
],
|
|
6474
|
+
[
|
|
6475
|
+
"unknown",
|
|
6476
|
+
0
|
|
6477
|
+
]
|
|
6478
|
+
],
|
|
6465
6479
|
[
|
|
6466
6480
|
[
|
|
6467
6481
|
"is",
|
|
@@ -9272,7 +9286,7 @@
|
|
|
9272
9286
|
"word": "dogs",
|
|
9273
9287
|
"range": {
|
|
9274
9288
|
"start": 0,
|
|
9275
|
-
"end":
|
|
9289
|
+
"end": 7
|
|
9276
9290
|
},
|
|
9277
9291
|
"types": [
|
|
9278
9292
|
"dog",
|
|
@@ -10726,7 +10740,7 @@
|
|
|
10726
10740
|
"word": "sausages",
|
|
10727
10741
|
"range": {
|
|
10728
10742
|
"start": 0,
|
|
10729
|
-
"end":
|
|
10743
|
+
"end": 7
|
|
10730
10744
|
},
|
|
10731
10745
|
"dead": true,
|
|
10732
10746
|
"types": [
|
|
@@ -13697,7 +13711,7 @@
|
|
|
13697
13711
|
"word": "fries",
|
|
13698
13712
|
"range": {
|
|
13699
13713
|
"start": 0,
|
|
13700
|
-
"end":
|
|
13714
|
+
"end": 4
|
|
13701
13715
|
},
|
|
13702
13716
|
"dead": true,
|
|
13703
13717
|
"types": [
|
|
@@ -15283,7 +15297,7 @@
|
|
|
15283
15297
|
"word": "meat",
|
|
15284
15298
|
"range": {
|
|
15285
15299
|
"start": 0,
|
|
15286
|
-
"end":
|
|
15300
|
+
"end": 3
|
|
15287
15301
|
},
|
|
15288
15302
|
"dead": true,
|
|
15289
15303
|
"types": [
|
|
@@ -16864,7 +16878,7 @@
|
|
|
16864
16878
|
"word": "fruits",
|
|
16865
16879
|
"range": {
|
|
16866
16880
|
"start": 0,
|
|
16867
|
-
"end":
|
|
16881
|
+
"end": 5
|
|
16868
16882
|
},
|
|
16869
16883
|
"dead": true,
|
|
16870
16884
|
"types": [
|
|
@@ -18504,7 +18518,7 @@
|
|
|
18504
18518
|
"text": "pie and salad",
|
|
18505
18519
|
"range": {
|
|
18506
18520
|
"start": 0,
|
|
18507
|
-
"end":
|
|
18521
|
+
"end": 12
|
|
18508
18522
|
},
|
|
18509
18523
|
"types": [
|
|
18510
18524
|
"list",
|
|
@@ -22054,7 +22068,7 @@
|
|
|
22054
22068
|
"word": "sandwiches",
|
|
22055
22069
|
"range": {
|
|
22056
22070
|
"start": 0,
|
|
22057
|
-
"end":
|
|
22071
|
+
"end": 9
|
|
22058
22072
|
},
|
|
22059
22073
|
"dead": true,
|
|
22060
22074
|
"types": [
|
|
@@ -24188,7 +24202,7 @@
|
|
|
24188
24202
|
"text": "carrots, peas, cabbage, potatoes and broccoli",
|
|
24189
24203
|
"range": {
|
|
24190
24204
|
"start": 0,
|
|
24191
|
-
"end":
|
|
24205
|
+
"end": 44
|
|
24192
24206
|
},
|
|
24193
24207
|
"types": [
|
|
24194
24208
|
"list",
|
|
@@ -24400,6 +24414,20 @@
|
|
|
24400
24414
|
0
|
|
24401
24415
|
]
|
|
24402
24416
|
],
|
|
24417
|
+
[
|
|
24418
|
+
[
|
|
24419
|
+
"is",
|
|
24420
|
+
0
|
|
24421
|
+
],
|
|
24422
|
+
[
|
|
24423
|
+
"list",
|
|
24424
|
+
1
|
|
24425
|
+
],
|
|
24426
|
+
[
|
|
24427
|
+
"unknown",
|
|
24428
|
+
0
|
|
24429
|
+
]
|
|
24430
|
+
],
|
|
24403
24431
|
[
|
|
24404
24432
|
[
|
|
24405
24433
|
"is",
|
|
@@ -27568,7 +27596,7 @@
|
|
|
27568
27596
|
"text": "vegetables and bread",
|
|
27569
27597
|
"range": {
|
|
27570
27598
|
"start": 0,
|
|
27571
|
-
"end":
|
|
27599
|
+
"end": 19
|
|
27572
27600
|
},
|
|
27573
27601
|
"types": [
|
|
27574
27602
|
"list",
|
|
@@ -32108,7 +32136,7 @@
|
|
|
32108
32136
|
"text": "muffins, french toast and pancakes",
|
|
32109
32137
|
"range": {
|
|
32110
32138
|
"start": 0,
|
|
32111
|
-
"end":
|
|
32139
|
+
"end": 33
|
|
32112
32140
|
},
|
|
32113
32141
|
"types": [
|
|
32114
32142
|
"french_toast",
|
|
@@ -34956,7 +34984,7 @@
|
|
|
34956
34984
|
"word": "grain",
|
|
34957
34985
|
"range": {
|
|
34958
34986
|
"start": 0,
|
|
34959
|
-
"end":
|
|
34987
|
+
"end": 4
|
|
34960
34988
|
},
|
|
34961
34989
|
"dead": true,
|
|
34962
34990
|
"types": [
|
|
@@ -39718,7 +39746,7 @@
|
|
|
39718
39746
|
"word": "oatmeal",
|
|
39719
39747
|
"range": {
|
|
39720
39748
|
"start": 0,
|
|
39721
|
-
"end":
|
|
39749
|
+
"end": 6
|
|
39722
39750
|
},
|
|
39723
39751
|
"dead": true,
|
|
39724
39752
|
"types": [
|
|
@@ -42319,7 +42347,7 @@
|
|
|
42319
42347
|
"word": "sausage",
|
|
42320
42348
|
"range": {
|
|
42321
42349
|
"start": 0,
|
|
42322
|
-
"end":
|
|
42350
|
+
"end": 6
|
|
42323
42351
|
},
|
|
42324
42352
|
"dead": true,
|
|
42325
42353
|
"types": [
|
|
@@ -44890,7 +44918,7 @@
|
|
|
44890
44918
|
"word": "hamburger",
|
|
44891
44919
|
"range": {
|
|
44892
44920
|
"start": 0,
|
|
44893
|
-
"end":
|
|
44921
|
+
"end": 10
|
|
44894
44922
|
},
|
|
44895
44923
|
"dead": true,
|
|
44896
44924
|
"types": [
|
|
@@ -47594,7 +47622,7 @@
|
|
|
47594
47622
|
"word": "cheeseburger",
|
|
47595
47623
|
"range": {
|
|
47596
47624
|
"start": 0,
|
|
47597
|
-
"end":
|
|
47625
|
+
"end": 13
|
|
47598
47626
|
},
|
|
47599
47627
|
"dead": true,
|
|
47600
47628
|
"types": [
|
|
@@ -50309,7 +50337,7 @@
|
|
|
50309
50337
|
"word": "cheese",
|
|
50310
50338
|
"range": {
|
|
50311
50339
|
"start": 0,
|
|
50312
|
-
"end":
|
|
50340
|
+
"end": 5
|
|
50313
50341
|
},
|
|
50314
50342
|
"dead": true,
|
|
50315
50343
|
"types": [
|
|
@@ -52971,7 +52999,7 @@
|
|
|
52971
52999
|
"word": "cheddar",
|
|
52972
53000
|
"range": {
|
|
52973
53001
|
"start": 0,
|
|
52974
|
-
"end":
|
|
53002
|
+
"end": 6
|
|
52975
53003
|
},
|
|
52976
53004
|
"dead": true,
|
|
52977
53005
|
"types": [
|
|
@@ -56316,7 +56344,7 @@
|
|
|
56316
56344
|
"text": "milk, pop, soda, coffee, tea, shakes and juice",
|
|
56317
56345
|
"range": {
|
|
56318
56346
|
"start": 0,
|
|
56319
|
-
"end":
|
|
56347
|
+
"end": 45
|
|
56320
56348
|
},
|
|
56321
56349
|
"types": [
|
|
56322
56350
|
"list",
|
|
@@ -67434,7 +67462,7 @@
|
|
|
67434
67462
|
"word": "lemonade",
|
|
67435
67463
|
"range": {
|
|
67436
67464
|
"start": 0,
|
|
67437
|
-
"end":
|
|
67465
|
+
"end": 7
|
|
67438
67466
|
},
|
|
67439
67467
|
"dead": true,
|
|
67440
67468
|
"types": [
|
|
@@ -68694,6 +68722,34 @@
|
|
|
68694
68722
|
0
|
|
68695
68723
|
]
|
|
68696
68724
|
],
|
|
68725
|
+
[
|
|
68726
|
+
[
|
|
68727
|
+
"is",
|
|
68728
|
+
0
|
|
68729
|
+
],
|
|
68730
|
+
[
|
|
68731
|
+
"list",
|
|
68732
|
+
1
|
|
68733
|
+
],
|
|
68734
|
+
[
|
|
68735
|
+
"unknown",
|
|
68736
|
+
0
|
|
68737
|
+
]
|
|
68738
|
+
],
|
|
68739
|
+
[
|
|
68740
|
+
[
|
|
68741
|
+
"is",
|
|
68742
|
+
0
|
|
68743
|
+
],
|
|
68744
|
+
[
|
|
68745
|
+
"list",
|
|
68746
|
+
1
|
|
68747
|
+
],
|
|
68748
|
+
[
|
|
68749
|
+
"unknown",
|
|
68750
|
+
0
|
|
68751
|
+
]
|
|
68752
|
+
],
|
|
68697
68753
|
[
|
|
68698
68754
|
[
|
|
68699
68755
|
"is",
|
|
@@ -730,12 +730,7 @@
|
|
|
730
730
|
},
|
|
731
731
|
"do": {
|
|
732
732
|
"left": "sentientBeing",
|
|
733
|
-
"right": "emotion"
|
|
734
|
-
"range": {
|
|
735
|
-
"start": 0,
|
|
736
|
-
"end": 28
|
|
737
|
-
},
|
|
738
|
-
"text": "sentientbeing1 feels emotion1"
|
|
733
|
+
"right": "emotion"
|
|
739
734
|
},
|
|
740
735
|
"sentientBeing": {
|
|
741
736
|
"value": "sentientbeing1",
|
|
@@ -772,6 +767,21 @@
|
|
|
772
767
|
],
|
|
773
768
|
"level": 0
|
|
774
769
|
},
|
|
770
|
+
"operator": {
|
|
771
|
+
"value": "feel",
|
|
772
|
+
"number": "one",
|
|
773
|
+
"text": "feels",
|
|
774
|
+
"marker": "feel",
|
|
775
|
+
"word": "feels",
|
|
776
|
+
"range": {
|
|
777
|
+
"start": 15,
|
|
778
|
+
"end": 19
|
|
779
|
+
},
|
|
780
|
+
"evaluateWord": true,
|
|
781
|
+
"imperative": false,
|
|
782
|
+
"isVerb": true,
|
|
783
|
+
"level": 0
|
|
784
|
+
},
|
|
775
785
|
"unflatten": [
|
|
776
786
|
"sentientBeing",
|
|
777
787
|
"emotion"
|
|
@@ -780,6 +790,18 @@
|
|
|
780
790
|
"sentientBeing",
|
|
781
791
|
"emotion"
|
|
782
792
|
],
|
|
793
|
+
"interpolate": [
|
|
794
|
+
{
|
|
795
|
+
"property": "sentientBeing"
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"property": "operator",
|
|
799
|
+
"number": "sentientBeing"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"property": "emotion"
|
|
803
|
+
}
|
|
804
|
+
],
|
|
783
805
|
"dead": true,
|
|
784
806
|
"level": 2
|
|
785
807
|
},
|
|
@@ -801,7 +823,7 @@
|
|
|
801
823
|
"word": "emotion",
|
|
802
824
|
"range": {
|
|
803
825
|
"start": 36,
|
|
804
|
-
"end":
|
|
826
|
+
"end": 64
|
|
805
827
|
},
|
|
806
828
|
"dead": true,
|
|
807
829
|
"types": [
|