tpmkms_4wp 8.0.0-beta.75 → 8.0.0-beta.77

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ const punctuation = require('./punctuation.js')
9
9
  const stm = require('./stm.js')
10
10
  const _ = require('lodash')
11
11
  const { API } = require('./helpers/dialogues')
12
- const { isMany } = require('./helpers')
12
+ const { isMany, propertyToArray, words } = require('./helpers')
13
13
  const dialogues_tests = require('./dialogues.test.json')
14
14
  const { defaultContextCheck, indent, focus } = require('./helpers')
15
15
  const pluralize = require('pluralize')
@@ -776,9 +776,11 @@ let config = {
776
776
 
777
777
  // if not isA add to stm
778
778
  if (!onePrime.sameWasProcessed && !twoPrime.sameWasProcessed) {
779
- api.makeObject({ context: one, config, types: context.two.types || [] })
780
- kms.stm.api.setVariable(one.value, two)
781
- kms.stm.api.mentioned({ context: one, value: two })
779
+ for (const child of propertyToArray(one)) {
780
+ api.makeObject({ context: child, config, types: context.two.types || [] })
781
+ kms.stm.api.setVariable(child.value, two)
782
+ kms.stm.api.mentioned({ context: child, value: two })
783
+ }
782
784
  }
783
785
  }
784
786
  },
@@ -927,6 +929,11 @@ const initializer = ({objects, config, isModule}) => {
927
929
  toScopedId: (context) => {
928
930
  return api('dialogues').toScopedId(context)
929
931
  },
932
+ addWords: (id, word, additional) => {
933
+ for (let props of words(word, additional)) {
934
+ config.addWord(id, props)
935
+ }
936
+ }
930
937
  }))
931
938
  objects.mentioned = []
932
939
  objects.variables = {
@@ -41,14 +41,14 @@
41
41
  ],
42
42
  "generators": [
43
43
  {
44
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
44
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:77",
45
45
  "match": "({context}) => context.marker == 'noconversion'",
46
46
  "apply": "async ({context, gp}) => `there is no conversion between ${await gp(context.from)} and ${await gp(context.to)}`"
47
47
  }
48
48
  ],
49
49
  "bridges": [
50
50
  {
51
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
51
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:84",
52
52
  "id": "dimension",
53
53
  "isA": [],
54
54
  "generatorpr": {}
@@ -64,7 +64,7 @@
64
64
  "id": "amount"
65
65
  },
66
66
  {
67
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
67
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:104",
68
68
  "id": "degree",
69
69
  "words": [
70
70
  {
@@ -84,13 +84,19 @@
84
84
  "bridge": "{ marker: operator('dimension'), unit: after[0], value: before[0].value, amount: before[0] }"
85
85
  },
86
86
  {
87
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
87
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:117",
88
88
  "id": "convertToUnits",
89
89
  "bridge": "{ ...next(operator), from: before[0], to: after[0] }",
90
90
  "isA": [
91
91
  "expression",
92
92
  "queryable"
93
93
  ],
94
+ "localHierarchy": [
95
+ [
96
+ "unknown",
97
+ "dimension"
98
+ ]
99
+ ],
94
100
  "after": [
95
101
  [
96
102
  "possession",
@@ -105,7 +111,10 @@
105
111
  "evaluator": "async ({context, kms, e, error}) => {\n /*\n error(({context, e}) => {\n context.evalue = 'dont know...'\n })\n */\n const from = context.from;\n const to = context.to;\n let evalue;\n let efrom = from\n if (!from.unit) {\n efrom = (await e(from)).evalue\n }\n if (to.value == efrom.unit.value) {\n evalue = efrom.amount\n } else {\n const formula = kms.formulas.api.get(to, [efrom.unit])\n if (!formula) {\n const reason = { marker: 'reason', focusableForPhrase: true, evalue: { marker: 'noconversion', from: efrom.unit, to } }\n kms.stm.api.mentioned({ context: reason })\n error(reason)\n }\n kms.stm.api.setVariable(efrom.unit.value, efrom.amount)\n evalue = await e(formula)\n }\n /*\n '{\n \"marker\":\"dimension\",\n \"unit\":{\"marker\":\"unit\",\"range\":{\"start\":19,\"end\":25},\"word\":\"celcius\",\"text\":\"celcius\",\"value\":\"celcius\",\"unknown\":true,\"types\":[\"unit\",\"unknown\"]},\n \"value\":10,\n \"amount\":{\"word\":\"degrees\",\"number\":\"many\",\"text\":\"10 degrees\",\"marker\":\"degree\",\"range\":{\"start\":8,\"end\":17},\"value\":10,\"amount\":{\"value\":10,\"text\":\"10\",\"marker\":\"number\",\"word\":\"10\",\"range\":{\"start\":8,\"end\":9},\"types\":[\"number\"]}},\n \"text\":\"10 degrees celcius\",\"range\":{\"start\":8,\"end\":25}}'\n */\n context.evalue = { \n paraphrase: true,\n marker: 'dimension',\n level: 1,\n unit: to,\n amount: { evalue, paraphrase: undefined }\n }\n }"
106
112
  },
107
113
  {
108
- "id": "unit"
114
+ "id": "unit",
115
+ "isA": [
116
+ "number"
117
+ ]
109
118
  }
110
119
  ]
111
120
  }
@@ -688,11 +697,6 @@
688
697
  "theAble",
689
698
  false
690
699
  ],
691
- [
692
- "property",
693
- "unknown",
694
- false
695
- ],
696
700
  [
697
701
  "punctuation",
698
702
  "punctuation",
@@ -903,11 +907,6 @@
903
907
  "hierarchyAble",
904
908
  false
905
909
  ],
906
- [
907
- "unknown",
908
- "object",
909
- false
910
- ],
911
910
  [
912
911
  "unknown",
913
912
  "queryable",
@@ -1283,12 +1282,12 @@
1283
1282
  ],
1284
1283
  "generators": [
1285
1284
  {
1286
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5"
1285
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:77"
1287
1286
  }
1288
1287
  ],
1289
1288
  "bridges": [
1290
1289
  {
1291
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1290
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:84",
1292
1291
  "id": "dimension",
1293
1292
  "isA": [],
1294
1293
  "generatorpr": {}
@@ -1304,7 +1303,7 @@
1304
1303
  "id": "amount"
1305
1304
  },
1306
1305
  {
1307
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1306
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:104",
1308
1307
  "id": "degree",
1309
1308
  "words": [
1310
1309
  {
@@ -1323,13 +1322,19 @@
1323
1322
  "bridge": "{ marker: operator('dimension'), unit: after[0], value: before[0].value, amount: before[0] }"
1324
1323
  },
1325
1324
  {
1326
- "where": "/home/dev/code/theprogrammablemind/kms/node_modules/theprogrammablemind/src/helpers.js:5",
1325
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:117",
1327
1326
  "id": "convertToUnits",
1328
1327
  "bridge": "{ ...next(operator), from: before[0], to: after[0] }",
1329
1328
  "isA": [
1330
1329
  "expression",
1331
1330
  "queryable"
1332
1331
  ],
1332
+ "localHierarchy": [
1333
+ [
1334
+ "unknown",
1335
+ "dimension"
1336
+ ]
1337
+ ],
1333
1338
  "after": [
1334
1339
  [
1335
1340
  "possession",
@@ -1342,7 +1347,10 @@
1342
1347
  ]
1343
1348
  },
1344
1349
  {
1345
- "id": "unit"
1350
+ "id": "unit",
1351
+ "isA": [
1352
+ "number"
1353
+ ]
1346
1354
  }
1347
1355
  ]
1348
1356
  }
@@ -118,6 +118,7 @@ let config = {
118
118
  id: "convertToUnits",
119
119
  bridge: "{ ...next(operator), from: before[0], to: after[0] }",
120
120
  isA: ['expression', 'queryable'],
121
+ localHierarchy: [['unknown', 'dimension']],
121
122
  after: [['possession', 0], ['possession', 1]],
122
123
  generatorp: async ({context, g}) => `${await g(context.from)} ${context.word} ${await g(context.to)}`,
123
124
  // evaluator: ({context, kms, error}) => {
@@ -163,7 +164,10 @@ let config = {
163
164
  }
164
165
  },
165
166
  },
166
- { id: "unit", },
167
+ {
168
+ id: "unit",
169
+ isA: ['number'],
170
+ },
167
171
  ]
168
172
  };
169
173
 
@@ -1538,7 +1538,7 @@
1538
1538
  "end": 53,
1539
1539
  "start": 0
1540
1540
  },
1541
- "text": "fahrenheit celcuis and kelvin",
1541
+ "text": "fahrenheit celcius and kelvin",
1542
1542
  "types": [
1543
1543
  "list",
1544
1544
  "unknown"
@@ -1565,10 +1565,10 @@
1565
1565
  "end": 17,
1566
1566
  "start": 11
1567
1567
  },
1568
- "text": "celcuis",
1568
+ "text": "celcius",
1569
1569
  "unknown": true,
1570
- "value": "celcuis",
1571
- "word": "celcuis"
1570
+ "value": "celcius",
1571
+ "word": "celcius"
1572
1572
  },
1573
1573
  {
1574
1574
  "dead": true,
@@ -1590,7 +1590,7 @@
1590
1590
  "end": 53,
1591
1591
  "start": 0
1592
1592
  },
1593
- "text": "fahrenheit celcuis and kelvin are units of temperature",
1593
+ "text": "fahrenheit celcius and kelvin are units of temperature",
1594
1594
  "topLevel": true,
1595
1595
  "touchedBy": [
1596
1596
  "dimension#call2"
@@ -2702,7 +2702,7 @@
2702
2702
  "end": 53,
2703
2703
  "start": 0
2704
2704
  },
2705
- "text": "fahrenheit celcuis and kelvin",
2705
+ "text": "fahrenheit celcius and kelvin",
2706
2706
  "types": [
2707
2707
  "list",
2708
2708
  "unknown"
@@ -2729,10 +2729,10 @@
2729
2729
  "end": 17,
2730
2730
  "start": 11
2731
2731
  },
2732
- "text": "celcuis",
2732
+ "text": "celcius",
2733
2733
  "unknown": true,
2734
- "value": "celcuis",
2735
- "word": "celcuis"
2734
+ "value": "celcius",
2735
+ "word": "celcius"
2736
2736
  },
2737
2737
  {
2738
2738
  "dead": true,
@@ -2754,7 +2754,7 @@
2754
2754
  "end": 53,
2755
2755
  "start": 0
2756
2756
  },
2757
- "text": "fahrenheit celcuis and kelvin are units of temperature",
2757
+ "text": "fahrenheit celcius and kelvin are units of temperature",
2758
2758
  "topLevel": true,
2759
2759
  "touchedBy": [
2760
2760
  "dimension#call2"
@@ -2829,8 +2829,8 @@
2829
2829
  "word": "are"
2830
2830
  },
2831
2831
  "generatedParenthesized": "",
2832
- "paraphrases": "fahrenheit, celcuis and kelvin are units of temperature",
2833
- "paraphrasesParenthesized": "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
2832
+ "paraphrases": "fahrenheit, celcius and kelvin are units of temperature",
2833
+ "paraphrasesParenthesized": "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
2834
2834
  "responses": [
2835
2835
  ""
2836
2836
  ]
@@ -3123,15 +3123,15 @@
3123
3123
  },
3124
3124
  "paraphrases": [
3125
3125
  "temperature is a dimension",
3126
- "fahrenheit, celcuis and kelvin are units of temperature",
3126
+ "fahrenheit, celcius and kelvin are units of temperature",
3127
3127
  "10 fahrenheit"
3128
3128
  ],
3129
3129
  "paraphrasesParenthesized": [
3130
3130
  "((temperature) is ((a) (dimension)))",
3131
- "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
3131
+ "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
3132
3132
  "((10) (fahrenheit))"
3133
3133
  ],
3134
- "query": "temperature is a dimension\\nfahrenheit celcuis and kelvin are units of temperature\\n10 degrees fahrenheit",
3134
+ "query": "temperature is a dimension\\nfahrenheit celcius and kelvin are units of temperature\\n10 degrees fahrenheit",
3135
3135
  "responses": [
3136
3136
  "",
3137
3137
  "",
@@ -3246,7 +3246,7 @@
3246
3246
  "end": 53,
3247
3247
  "start": 0
3248
3248
  },
3249
- "text": "fahrenheit celcuis and kelvin",
3249
+ "text": "fahrenheit celcius and kelvin",
3250
3250
  "types": [
3251
3251
  "list",
3252
3252
  "unknown"
@@ -3273,10 +3273,10 @@
3273
3273
  "end": 17,
3274
3274
  "start": 11
3275
3275
  },
3276
- "text": "celcuis",
3276
+ "text": "celcius",
3277
3277
  "unknown": true,
3278
- "value": "celcuis",
3279
- "word": "celcuis"
3278
+ "value": "celcius",
3279
+ "word": "celcius"
3280
3280
  },
3281
3281
  {
3282
3282
  "dead": true,
@@ -3298,7 +3298,7 @@
3298
3298
  "end": 53,
3299
3299
  "start": 0
3300
3300
  },
3301
- "text": "fahrenheit celcuis and kelvin are units of temperature",
3301
+ "text": "fahrenheit celcius and kelvin are units of temperature",
3302
3302
  "topLevel": true,
3303
3303
  "touchedBy": [
3304
3304
  "dimension#call2"
@@ -4353,7 +4353,7 @@
4353
4353
  "end": 53,
4354
4354
  "start": 0
4355
4355
  },
4356
- "text": "fahrenheit celcuis and kelvin",
4356
+ "text": "fahrenheit celcius and kelvin",
4357
4357
  "types": [
4358
4358
  "list",
4359
4359
  "unknown"
@@ -4380,10 +4380,10 @@
4380
4380
  "end": 17,
4381
4381
  "start": 11
4382
4382
  },
4383
- "text": "celcuis",
4383
+ "text": "celcius",
4384
4384
  "unknown": true,
4385
- "value": "celcuis",
4386
- "word": "celcuis"
4385
+ "value": "celcius",
4386
+ "word": "celcius"
4387
4387
  },
4388
4388
  {
4389
4389
  "dead": true,
@@ -4405,7 +4405,7 @@
4405
4405
  "end": 53,
4406
4406
  "start": 0
4407
4407
  },
4408
- "text": "fahrenheit celcuis and kelvin are units of temperature",
4408
+ "text": "fahrenheit celcius and kelvin are units of temperature",
4409
4409
  "topLevel": true,
4410
4410
  "touchedBy": [
4411
4411
  "dimension#call2"
@@ -4480,8 +4480,8 @@
4480
4480
  "word": "are"
4481
4481
  },
4482
4482
  "generatedParenthesized": "",
4483
- "paraphrases": "fahrenheit, celcuis and kelvin are units of temperature",
4484
- "paraphrasesParenthesized": "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
4483
+ "paraphrases": "fahrenheit, celcius and kelvin are units of temperature",
4484
+ "paraphrasesParenthesized": "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
4485
4485
  "responses": [
4486
4486
  ""
4487
4487
  ]
@@ -4774,15 +4774,15 @@
4774
4774
  },
4775
4775
  "paraphrases": [
4776
4776
  "temperature is a dimension",
4777
- "fahrenheit, celcuis and kelvin are units of temperature",
4777
+ "fahrenheit, celcius and kelvin are units of temperature",
4778
4778
  "10 celcius"
4779
4779
  ],
4780
4780
  "paraphrasesParenthesized": [
4781
4781
  "((temperature) is ((a) (dimension)))",
4782
- "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
4782
+ "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
4783
4783
  "((10) (celcius))"
4784
4784
  ],
4785
- "query": "temperature is a dimension\\nfahrenheit celcuis and kelvin are units of temperature\\n10 celcius",
4785
+ "query": "temperature is a dimension\\nfahrenheit celcius and kelvin are units of temperature\\n10 celcius",
4786
4786
  "responses": [
4787
4787
  "",
4788
4788
  "",
@@ -4915,7 +4915,7 @@
4915
4915
  "end": 53,
4916
4916
  "start": 0
4917
4917
  },
4918
- "text": "fahrenheit celcuis and kelvin",
4918
+ "text": "fahrenheit celcius and kelvin",
4919
4919
  "types": [
4920
4920
  "list",
4921
4921
  "unknown"
@@ -4942,10 +4942,10 @@
4942
4942
  "end": 17,
4943
4943
  "start": 11
4944
4944
  },
4945
- "text": "celcuis",
4945
+ "text": "celcius",
4946
4946
  "unknown": true,
4947
- "value": "celcuis",
4948
- "word": "celcuis"
4947
+ "value": "celcius",
4948
+ "word": "celcius"
4949
4949
  },
4950
4950
  {
4951
4951
  "dead": true,
@@ -4967,7 +4967,7 @@
4967
4967
  "end": 53,
4968
4968
  "start": 0
4969
4969
  },
4970
- "text": "fahrenheit celcuis and kelvin are units of temperature",
4970
+ "text": "fahrenheit celcius and kelvin are units of temperature",
4971
4971
  "topLevel": true,
4972
4972
  "touchedBy": [
4973
4973
  "dimension#call2"
@@ -6075,7 +6075,7 @@
6075
6075
  "end": 53,
6076
6076
  "start": 0
6077
6077
  },
6078
- "text": "fahrenheit celcuis and kelvin",
6078
+ "text": "fahrenheit celcius and kelvin",
6079
6079
  "types": [
6080
6080
  "list",
6081
6081
  "unknown"
@@ -6102,10 +6102,10 @@
6102
6102
  "end": 17,
6103
6103
  "start": 11
6104
6104
  },
6105
- "text": "celcuis",
6105
+ "text": "celcius",
6106
6106
  "unknown": true,
6107
- "value": "celcuis",
6108
- "word": "celcuis"
6107
+ "value": "celcius",
6108
+ "word": "celcius"
6109
6109
  },
6110
6110
  {
6111
6111
  "dead": true,
@@ -6127,7 +6127,7 @@
6127
6127
  "end": 53,
6128
6128
  "start": 0
6129
6129
  },
6130
- "text": "fahrenheit celcuis and kelvin are units of temperature",
6130
+ "text": "fahrenheit celcius and kelvin are units of temperature",
6131
6131
  "topLevel": true,
6132
6132
  "touchedBy": [
6133
6133
  "dimension#call2"
@@ -6202,8 +6202,8 @@
6202
6202
  "word": "are"
6203
6203
  },
6204
6204
  "generatedParenthesized": "",
6205
- "paraphrases": "fahrenheit, celcuis and kelvin are units of temperature",
6206
- "paraphrasesParenthesized": "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
6205
+ "paraphrases": "fahrenheit, celcius and kelvin are units of temperature",
6206
+ "paraphrasesParenthesized": "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
6207
6207
  "responses": [
6208
6208
  ""
6209
6209
  ]
@@ -6496,15 +6496,15 @@
6496
6496
  },
6497
6497
  "paraphrases": [
6498
6498
  "temperature is a dimension",
6499
- "fahrenheit, celcuis and kelvin are units of temperature",
6499
+ "fahrenheit, celcius and kelvin are units of temperature",
6500
6500
  "10 celcius"
6501
6501
  ],
6502
6502
  "paraphrasesParenthesized": [
6503
6503
  "((temperature) is ((a) (dimension)))",
6504
- "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
6504
+ "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
6505
6505
  "((10) (celcius))"
6506
6506
  ],
6507
- "query": "temperature is a dimension\\nfahrenheit celcuis and kelvin are units of temperature\\n10 degrees celcius",
6507
+ "query": "temperature is a dimension\\nfahrenheit celcius and kelvin are units of temperature\\n10 degrees celcius",
6508
6508
  "responses": [
6509
6509
  "",
6510
6510
  "",
@@ -6669,7 +6669,7 @@
6669
6669
  "end": 53,
6670
6670
  "start": 0
6671
6671
  },
6672
- "text": "fahrenheit celcuis and kelvin",
6672
+ "text": "fahrenheit celcius and kelvin",
6673
6673
  "types": [
6674
6674
  "list",
6675
6675
  "unknown"
@@ -6696,10 +6696,10 @@
6696
6696
  "end": 17,
6697
6697
  "start": 11
6698
6698
  },
6699
- "text": "celcuis",
6699
+ "text": "celcius",
6700
6700
  "unknown": true,
6701
- "value": "celcuis",
6702
- "word": "celcuis"
6701
+ "value": "celcius",
6702
+ "word": "celcius"
6703
6703
  },
6704
6704
  {
6705
6705
  "dead": true,
@@ -6721,7 +6721,7 @@
6721
6721
  "end": 53,
6722
6722
  "start": 0
6723
6723
  },
6724
- "text": "fahrenheit celcuis and kelvin are units of temperature",
6724
+ "text": "fahrenheit celcius and kelvin are units of temperature",
6725
6725
  "topLevel": true,
6726
6726
  "touchedBy": [
6727
6727
  "dimension#call2"
@@ -7957,7 +7957,7 @@
7957
7957
  "end": 53,
7958
7958
  "start": 0
7959
7959
  },
7960
- "text": "fahrenheit celcuis and kelvin",
7960
+ "text": "fahrenheit celcius and kelvin",
7961
7961
  "types": [
7962
7962
  "list",
7963
7963
  "unknown"
@@ -7984,10 +7984,10 @@
7984
7984
  "end": 17,
7985
7985
  "start": 11
7986
7986
  },
7987
- "text": "celcuis",
7987
+ "text": "celcius",
7988
7988
  "unknown": true,
7989
- "value": "celcuis",
7990
- "word": "celcuis"
7989
+ "value": "celcius",
7990
+ "word": "celcius"
7991
7991
  },
7992
7992
  {
7993
7993
  "dead": true,
@@ -8009,7 +8009,7 @@
8009
8009
  "end": 53,
8010
8010
  "start": 0
8011
8011
  },
8012
- "text": "fahrenheit celcuis and kelvin are units of temperature",
8012
+ "text": "fahrenheit celcius and kelvin are units of temperature",
8013
8013
  "topLevel": true,
8014
8014
  "touchedBy": [
8015
8015
  "dimension#call2"
@@ -8084,8 +8084,8 @@
8084
8084
  "word": "are"
8085
8085
  },
8086
8086
  "generatedParenthesized": "",
8087
- "paraphrases": "fahrenheit, celcuis and kelvin are units of temperature",
8088
- "paraphrasesParenthesized": "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
8087
+ "paraphrases": "fahrenheit, celcius and kelvin are units of temperature",
8088
+ "paraphrasesParenthesized": "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
8089
8089
  "responses": [
8090
8090
  ""
8091
8091
  ]
@@ -8378,15 +8378,15 @@
8378
8378
  },
8379
8379
  "paraphrases": [
8380
8380
  "temperature is a dimension",
8381
- "fahrenheit, celcuis and kelvin are units of temperature",
8381
+ "fahrenheit, celcius and kelvin are units of temperature",
8382
8382
  "10 celcius in fahrenheit"
8383
8383
  ],
8384
8384
  "paraphrasesParenthesized": [
8385
8385
  "((temperature) is ((a) (dimension)))",
8386
- "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
8386
+ "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
8387
8387
  "(((10) (celcius)) in (fahrenheit))"
8388
8388
  ],
8389
- "query": "temperature is a dimension\\nfahrenheit celcuis and kelvin are units of temperature\\n10 degrees celcius in fahrenheit",
8389
+ "query": "temperature is a dimension\\nfahrenheit celcius and kelvin are units of temperature\\n10 degrees celcius in fahrenheit",
8390
8390
  "responses": [
8391
8391
  "",
8392
8392
  "",
@@ -8611,7 +8611,7 @@
8611
8611
  "end": 53,
8612
8612
  "start": 0
8613
8613
  },
8614
- "text": "fahrenheit celcuis and kelvin",
8614
+ "text": "fahrenheit celcius and kelvin",
8615
8615
  "types": [
8616
8616
  "list",
8617
8617
  "unknown"
@@ -8638,10 +8638,10 @@
8638
8638
  "end": 17,
8639
8639
  "start": 11
8640
8640
  },
8641
- "text": "celcuis",
8641
+ "text": "celcius",
8642
8642
  "unknown": true,
8643
- "value": "celcuis",
8644
- "word": "celcuis"
8643
+ "value": "celcius",
8644
+ "word": "celcius"
8645
8645
  },
8646
8646
  {
8647
8647
  "dead": true,
@@ -8663,7 +8663,7 @@
8663
8663
  "end": 53,
8664
8664
  "start": 0
8665
8665
  },
8666
- "text": "fahrenheit celcuis and kelvin are units of temperature",
8666
+ "text": "fahrenheit celcius and kelvin are units of temperature",
8667
8667
  "topLevel": true,
8668
8668
  "touchedBy": [
8669
8669
  "dimension#call2"
@@ -11697,7 +11697,7 @@
11697
11697
  "end": 53,
11698
11698
  "start": 0
11699
11699
  },
11700
- "text": "fahrenheit celcuis and kelvin",
11700
+ "text": "fahrenheit celcius and kelvin",
11701
11701
  "types": [
11702
11702
  "list",
11703
11703
  "unknown"
@@ -11724,10 +11724,10 @@
11724
11724
  "end": 17,
11725
11725
  "start": 11
11726
11726
  },
11727
- "text": "celcuis",
11727
+ "text": "celcius",
11728
11728
  "unknown": true,
11729
- "value": "celcuis",
11730
- "word": "celcuis"
11729
+ "value": "celcius",
11730
+ "word": "celcius"
11731
11731
  },
11732
11732
  {
11733
11733
  "dead": true,
@@ -11749,7 +11749,7 @@
11749
11749
  "end": 53,
11750
11750
  "start": 0
11751
11751
  },
11752
- "text": "fahrenheit celcuis and kelvin are units of temperature",
11752
+ "text": "fahrenheit celcius and kelvin are units of temperature",
11753
11753
  "topLevel": true,
11754
11754
  "touchedBy": [
11755
11755
  "dimension#call2"
@@ -11824,8 +11824,8 @@
11824
11824
  "word": "are"
11825
11825
  },
11826
11826
  "generatedParenthesized": "",
11827
- "paraphrases": "fahrenheit, celcuis and kelvin are units of temperature",
11828
- "paraphrasesParenthesized": "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
11827
+ "paraphrases": "fahrenheit, celcius and kelvin are units of temperature",
11828
+ "paraphrasesParenthesized": "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
11829
11829
  "responses": [
11830
11830
  ""
11831
11831
  ]
@@ -12060,17 +12060,17 @@
12060
12060
  },
12061
12061
  "paraphrases": [
12062
12062
  "temperature is a dimension",
12063
- "fahrenheit, celcuis and kelvin are units of temperature",
12063
+ "fahrenheit, celcius and kelvin are units of temperature",
12064
12064
  "fahrenheit = celcius * 9 / 5 + 32",
12065
12065
  "what is 10 celcius in fahrenheit?"
12066
12066
  ],
12067
12067
  "paraphrasesParenthesized": [
12068
12068
  "((temperature) is ((a) (dimension)))",
12069
- "(((fahrenheit), (celcuis) and (kelvin)) are ((units) of (temperature)))",
12069
+ "(((fahrenheit), (celcius) and (kelvin)) are ((units) of (temperature)))",
12070
12070
  "((fahrenheit) = ((((celcius) * (9)) / (5)) + (32)))",
12071
12071
  "(((what) is (((10) (celcius)) in (fahrenheit)))?)"
12072
12072
  ],
12073
- "query": "temperature is a dimension\\nfahrenheit celcuis and kelvin are units of temperature\\nfahrenheit = celcius*9/5 + 32\\nwhat is 10 degrees celcius in fahrenheit",
12073
+ "query": "temperature is a dimension\\nfahrenheit celcius and kelvin are units of temperature\\nfahrenheit = celcius*9/5 + 32\\nwhat is 10 degrees celcius in fahrenheit",
12074
12074
  "responses": [
12075
12075
  "",
12076
12076
  "",
@@ -18618,4 +18618,4 @@
18618
18618
  "there is no conversion between a1 and b1"
18619
18619
  ]
18620
18620
  }
18621
- ]
18621
+ ]