ekms 7.12.8-beta.6 → 7.12.8-beta.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -393,28 +393,28 @@
393
393
  "isList": true,
394
394
  "value": [
395
395
  {
396
- "marker": "type",
397
396
  "value": "birds",
398
- "word": "birds",
397
+ "unknown": true,
399
398
  "text": "birds",
399
+ "marker": "type",
400
+ "word": "birds",
400
401
  "range": {
401
402
  "start": 0,
402
403
  "end": 4
403
404
  },
404
- "unknown": true,
405
405
  "dead": true,
406
406
  "level": 1
407
407
  },
408
408
  {
409
- "marker": "type",
410
409
  "value": "mammals",
411
- "word": "mammals",
410
+ "unknown": true,
412
411
  "text": "mammals",
412
+ "marker": "type",
413
+ "word": "mammals",
413
414
  "range": {
414
415
  "start": 10,
415
416
  "end": 16
416
417
  },
417
- "unknown": true,
418
418
  "dead": true,
419
419
  "level": 1
420
420
  }
@@ -422,15 +422,15 @@
422
422
  "level": 1
423
423
  },
424
424
  "two": {
425
- "marker": "unknown",
426
425
  "value": "animals",
427
- "word": "animals",
426
+ "unknown": true,
428
427
  "text": "animals",
428
+ "marker": "unknown",
429
+ "word": "animals",
429
430
  "range": {
430
431
  "start": 22,
431
432
  "end": 28
432
433
  },
433
- "unknown": true,
434
434
  "dead": true,
435
435
  "types": [
436
436
  "unknown"
@@ -949,15 +949,15 @@
949
949
  "level": 1
950
950
  },
951
951
  "property": {
952
- "marker": "property",
953
952
  "value": "ears",
954
- "word": "ears",
953
+ "unknown": true,
955
954
  "text": "ears",
955
+ "marker": "property",
956
+ "word": "ears",
956
957
  "range": {
957
958
  "start": 13,
958
959
  "end": 16
959
960
  },
960
- "unknown": true,
961
961
  "dead": true,
962
962
  "types": [
963
963
  "property"
@@ -1463,15 +1463,15 @@
1463
1463
  "level": 1
1464
1464
  },
1465
1465
  "property": {
1466
- "marker": "property",
1467
1466
  "value": "hair",
1468
- "word": "hair",
1467
+ "unknown": true,
1469
1468
  "text": "hair",
1469
+ "marker": "property",
1470
+ "word": "hair",
1470
1471
  "range": {
1471
1472
  "start": 13,
1472
1473
  "end": 16
1473
1474
  },
1474
- "unknown": true,
1475
1475
  "dead": true,
1476
1476
  "types": [
1477
1477
  "property"
@@ -2007,15 +2007,15 @@
2007
2007
  "level": 1
2008
2008
  },
2009
2009
  "property": {
2010
- "marker": "property",
2011
2010
  "value": "wings",
2012
- "word": "wings",
2011
+ "unknown": true,
2013
2012
  "text": "wings",
2013
+ "marker": "property",
2014
+ "word": "wings",
2014
2015
  "range": {
2015
2016
  "start": 18,
2016
2017
  "end": 22
2017
2018
  },
2018
- "unknown": true,
2019
2019
  "dead": true,
2020
2020
  "types": [
2021
2021
  "property"
@@ -2543,15 +2543,15 @@
2543
2543
  "level": 1
2544
2544
  },
2545
2545
  "property": {
2546
- "marker": "property",
2547
2546
  "value": "skin",
2548
- "word": "skin",
2547
+ "unknown": true,
2549
2548
  "text": "skin",
2549
+ "marker": "property",
2550
+ "word": "skin",
2550
2551
  "range": {
2551
2552
  "start": 13,
2552
2553
  "end": 16
2553
2554
  },
2554
- "unknown": true,
2555
2555
  "dead": true,
2556
2556
  "types": [
2557
2557
  "property"
@@ -3057,15 +3057,15 @@
3057
3057
  "level": 1
3058
3058
  },
3059
3059
  "property": {
3060
- "marker": "property",
3061
3060
  "value": "eyes",
3062
- "word": "eyes",
3061
+ "unknown": true,
3063
3062
  "text": "eyes",
3063
+ "marker": "property",
3064
+ "word": "eyes",
3064
3065
  "range": {
3065
3066
  "start": 13,
3066
3067
  "end": 16
3067
3068
  },
3068
- "unknown": true,
3069
3069
  "dead": true,
3070
3070
  "types": [
3071
3071
  "property"
@@ -3571,15 +3571,15 @@
3571
3571
  "level": 1
3572
3572
  },
3573
3573
  "property": {
3574
- "marker": "property",
3575
3574
  "value": "wings",
3576
- "word": "wings",
3575
+ "unknown": true,
3577
3576
  "text": "wings",
3577
+ "marker": "property",
3578
+ "word": "wings",
3578
3579
  "range": {
3579
3580
  "start": 11,
3580
3581
  "end": 15
3581
3582
  },
3582
- "unknown": true,
3583
3583
  "dead": true,
3584
3584
  "types": [
3585
3585
  "property"
@@ -4085,15 +4085,15 @@
4085
4085
  "level": 1
4086
4086
  },
4087
4087
  "property": {
4088
- "marker": "property",
4089
4088
  "value": "beaks",
4090
- "word": "beaks",
4089
+ "unknown": true,
4091
4090
  "text": "beaks",
4091
+ "marker": "property",
4092
+ "word": "beaks",
4092
4093
  "range": {
4093
4094
  "start": 11,
4094
4095
  "end": 15
4095
4096
  },
4096
- "unknown": true,
4097
4097
  "dead": true,
4098
4098
  "types": [
4099
4099
  "property"
@@ -4778,54 +4778,54 @@
4778
4778
  "listable": true,
4779
4779
  "value": [
4780
4780
  {
4781
- "marker": "unknown",
4782
4781
  "value": "humans",
4783
- "word": "humans",
4782
+ "unknown": true,
4784
4783
  "text": "humans",
4784
+ "marker": "unknown",
4785
+ "word": "humans",
4785
4786
  "range": {
4786
4787
  "start": 0,
4787
4788
  "end": 5
4788
4789
  },
4789
- "unknown": true,
4790
4790
  "dead": true,
4791
4791
  "level": 1
4792
4792
  },
4793
4793
  {
4794
- "marker": "unknown",
4795
4794
  "value": "bats",
4796
- "word": "bats",
4795
+ "unknown": true,
4797
4796
  "text": "bats",
4797
+ "marker": "unknown",
4798
+ "word": "bats",
4798
4799
  "range": {
4799
4800
  "start": 7,
4800
4801
  "end": 10
4801
4802
  },
4802
- "unknown": true,
4803
4803
  "dead": true,
4804
4804
  "level": 1
4805
4805
  },
4806
4806
  {
4807
- "marker": "unknown",
4808
4807
  "value": "felines",
4809
- "word": "felines",
4808
+ "unknown": true,
4810
4809
  "text": "felines",
4810
+ "marker": "unknown",
4811
+ "word": "felines",
4811
4812
  "range": {
4812
4813
  "start": 12,
4813
4814
  "end": 18
4814
4815
  },
4815
- "unknown": true,
4816
4816
  "dead": true,
4817
4817
  "level": 2
4818
4818
  },
4819
4819
  {
4820
- "marker": "unknown",
4821
4820
  "value": "canines",
4822
- "word": "canines",
4821
+ "unknown": true,
4823
4822
  "text": "canines",
4823
+ "marker": "unknown",
4824
+ "word": "canines",
4824
4825
  "range": {
4825
4826
  "start": 24,
4826
4827
  "end": 30
4827
4828
  },
4828
- "unknown": true,
4829
4829
  "dead": true,
4830
4830
  "level": 2
4831
4831
  }
@@ -5716,54 +5716,54 @@
5716
5716
  "listable": true,
5717
5717
  "value": [
5718
5718
  {
5719
- "marker": "unknown",
5720
5719
  "value": "owls",
5721
- "word": "owls",
5720
+ "unknown": true,
5722
5721
  "text": "owls",
5722
+ "marker": "unknown",
5723
+ "word": "owls",
5723
5724
  "range": {
5724
5725
  "start": 0,
5725
5726
  "end": 3
5726
5727
  },
5727
- "unknown": true,
5728
5728
  "dead": true,
5729
5729
  "level": 1
5730
5730
  },
5731
5731
  {
5732
- "marker": "unknown",
5733
5732
  "value": "eagles",
5734
- "word": "eagles",
5733
+ "unknown": true,
5735
5734
  "text": "eagles",
5735
+ "marker": "unknown",
5736
+ "word": "eagles",
5736
5737
  "range": {
5737
5738
  "start": 5,
5738
5739
  "end": 10
5739
5740
  },
5740
- "unknown": true,
5741
5741
  "dead": true,
5742
5742
  "level": 1
5743
5743
  },
5744
5744
  {
5745
- "marker": "unknown",
5746
5745
  "value": "pidgeons",
5747
- "word": "pidgeons",
5746
+ "unknown": true,
5748
5747
  "text": "pidgeons",
5748
+ "marker": "unknown",
5749
+ "word": "pidgeons",
5749
5750
  "range": {
5750
5751
  "start": 12,
5751
5752
  "end": 19
5752
5753
  },
5753
- "unknown": true,
5754
5754
  "dead": true,
5755
5755
  "level": 2
5756
5756
  },
5757
5757
  {
5758
- "marker": "unknown",
5759
5758
  "value": "parrots",
5760
- "word": "parrots",
5759
+ "unknown": true,
5761
5760
  "text": "parrots",
5761
+ "marker": "unknown",
5762
+ "word": "parrots",
5762
5763
  "range": {
5763
5764
  "start": 25,
5764
5765
  "end": 31
5765
5766
  },
5766
- "unknown": true,
5767
5767
  "dead": true,
5768
5768
  "level": 2
5769
5769
  }
@@ -6587,15 +6587,15 @@
6587
6587
  },
6588
6588
  "one": {
6589
6589
  "number": "many",
6590
- "marker": "unknown",
6591
6590
  "value": "cats",
6592
- "word": "cats",
6591
+ "unknown": true,
6593
6592
  "text": "cats",
6593
+ "marker": "unknown",
6594
+ "word": "cats",
6594
6595
  "range": {
6595
6596
  "start": 0,
6596
6597
  "end": 15
6597
6598
  },
6598
- "unknown": true,
6599
6599
  "dead": true,
6600
6600
  "types": [
6601
6601
  "unknown"
@@ -7459,28 +7459,28 @@
7459
7459
  "listable": true,
7460
7460
  "value": [
7461
7461
  {
7462
- "marker": "unknown",
7463
7462
  "value": "dogs",
7464
- "word": "dogs",
7463
+ "unknown": true,
7465
7464
  "text": "dogs",
7465
+ "marker": "unknown",
7466
+ "word": "dogs",
7466
7467
  "range": {
7467
7468
  "start": 0,
7468
7469
  "end": 3
7469
7470
  },
7470
- "unknown": true,
7471
7471
  "dead": true,
7472
7472
  "level": 2
7473
7473
  },
7474
7474
  {
7475
- "marker": "unknown",
7476
7475
  "value": "wolves",
7477
- "word": "wolves",
7476
+ "unknown": true,
7478
7477
  "text": "wolves",
7478
+ "marker": "unknown",
7479
+ "word": "wolves",
7479
7480
  "range": {
7480
7481
  "start": 9,
7481
7482
  "end": 14
7482
7483
  },
7483
- "unknown": true,
7484
7484
  "dead": true,
7485
7485
  "level": 2
7486
7486
  }
@@ -8398,15 +8398,15 @@
8398
8398
  "level": 1
8399
8399
  },
8400
8400
  "property": {
8401
- "marker": "property",
8402
8401
  "value": "wings",
8403
- "word": "wings",
8402
+ "unknown": true,
8404
8403
  "text": "wings",
8404
+ "marker": "property",
8405
+ "word": "wings",
8405
8406
  "range": {
8406
8407
  "start": 10,
8407
8408
  "end": 14
8408
8409
  },
8409
- "unknown": true,
8410
8410
  "dead": true,
8411
8411
  "types": [
8412
8412
  "property"
@@ -1,5 +1,6 @@
1
1
  const { Config, knowledgeModule, where } = require('./runtime').theprogrammablemind
2
2
  const { defaultContextCheck } = require('./helpers')
3
+ const gdefaults = require('./gdefaults.js')
3
4
  const createCurrencyKM = require('./currency.js')
4
5
  const createTimeKM = require('./time.js')
5
6
  const { table } = require('table')
@@ -180,6 +181,9 @@ const createConfig = () => {
180
181
  const api2 = new Bob(currencyKM)
181
182
 
182
183
  const config = new Config(configStruct, module)
184
+ config.stop_auto_rebuild()
185
+ config.add(gdefaults())
186
+
183
187
  config.multiApi = initializeApi
184
188
  config.initializer( ({isModule, config, km}) => {
185
189
  if (!isModule) {
@@ -190,6 +194,7 @@ const createConfig = () => {
190
194
  config.api = api
191
195
  }
192
196
  })
197
+ config.restart_auto_rebuild()
193
198
  return config
194
199
  }
195
200