ekms 8.0.0-beta.0 → 8.0.0-beta.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/common/animals.instance.json +2634 -1477
  2. package/common/characters.js +0 -1
  3. package/common/colors.instance.json +25327 -0
  4. package/common/colors.js +71 -0
  5. package/common/colors.test.json +4860 -0
  6. package/common/concept.js +2 -2
  7. package/common/crew.instance.json +15918 -9384
  8. package/common/crew.js +4 -2
  9. package/common/crew.test.json +714 -452
  10. package/common/dialogues.js +36 -25
  11. package/common/dialogues.test.json +1053 -33
  12. package/common/dimension.instance.json +261 -290
  13. package/common/dimension.test.json +476 -687
  14. package/common/edible.instance.json +19462 -10130
  15. package/common/emotions.instance.json +125 -68
  16. package/common/fastfood.instance.json +219732 -110803
  17. package/common/fastfood.js +1 -1
  18. package/common/fastfood.test.json +7941 -3647
  19. package/common/formulas.instance.json +219 -249
  20. package/common/formulas.js +2 -2
  21. package/common/formulas.test.json +1027 -955
  22. package/common/help.test.json +20 -28
  23. package/common/helpers/concept.js +31 -10
  24. package/common/helpers/dialogues.js +17 -1
  25. package/common/helpers/formulas.js +0 -14
  26. package/common/helpers/meta.js +0 -1
  27. package/common/helpers/properties.js +6 -13
  28. package/common/kirk.instance.json +567 -289
  29. package/common/length.instance.json +5232 -4726
  30. package/common/math.instance.json +143 -1181
  31. package/common/math.js +4 -4
  32. package/common/meta.js +0 -2
  33. package/common/negation.instance.json +2 -0
  34. package/common/negation.js +38 -0
  35. package/common/negation.test.json +308 -0
  36. package/common/ordering.instance.json +298 -160
  37. package/common/people.instance.json +1930 -1068
  38. package/common/pipboy.instance.json +7868 -6548
  39. package/common/pokemon.instance.json +4074 -2152
  40. package/common/pressure.instance.json +1299 -1237
  41. package/common/properties.instance.json +109 -60
  42. package/common/properties.js +9 -7
  43. package/common/properties.test.json +17605 -4030
  44. package/common/punctuation.js +8 -0
  45. package/common/punctuation.test.json +233 -5
  46. package/common/reports.instance.json +566 -560
  47. package/common/reports.js +0 -2
  48. package/common/sizeable.js +7 -2
  49. package/common/spock.instance.json +567 -289
  50. package/common/stm.js +16 -5
  51. package/common/temperature.instance.json +1337 -1263
  52. package/common/testing.js +0 -1
  53. package/common/tokenize.js +2 -1
  54. package/common/tokenize.test.json +86 -1
  55. package/common/ui.instance.json +241 -258
  56. package/common/ui.js +0 -1
  57. package/common/weight.instance.json +4996 -4206
  58. package/common/weight.test.json +242 -238
  59. package/main.js +50 -45
  60. package/package.json +13 -6
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "configs": [
3
3
  "mathematical modifies operator",
4
- "* + / and - are mathematical operators",
5
4
  {
6
5
  "name": "math",
7
6
  "operators": [
8
7
  "([mathematicalExpression])",
9
- "([mathematicalOperator])",
8
+ "([mathematical_operator])",
10
9
  "(([number|]) [plusOperator] ([number|]))",
11
10
  "(([number|]) [minusOperator] ([number|]))",
12
11
  "(([number|]) [timesOperator] ([number|]))",
@@ -33,7 +32,7 @@
33
32
  ]
34
33
  },
35
34
  {
36
- "id": "mathematicalOperator",
35
+ "id": "mathematical_operator",
37
36
  "before": [
38
37
  "verby"
39
38
  ],
@@ -65,7 +64,7 @@
65
64
  "level": 0,
66
65
  "bridge": "{ ...next(operator), marker: next(operator('plusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
67
66
  "isA": [
68
- "mathematicalOperator"
67
+ "mathematical_operator"
69
68
  ],
70
69
  "before": [],
71
70
  "localHierarchy": [
@@ -97,7 +96,7 @@
97
96
  "level": 0,
98
97
  "bridge": "{ ...next(operator), marker: next(operator('minusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
99
98
  "isA": [
100
- "mathematicalOperator"
99
+ "mathematical_operator"
101
100
  ],
102
101
  "before": [],
103
102
  "localHierarchy": [
@@ -129,7 +128,7 @@
129
128
  "level": 0,
130
129
  "bridge": "{ ...next(operator), marker: next(operator('timesExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
131
130
  "isA": [
132
- "mathematicalOperator"
131
+ "mathematical_operator"
133
132
  ],
134
133
  "before": [
135
134
  [
@@ -170,7 +169,7 @@
170
169
  "level": 0,
171
170
  "bridge": "{ ...next(operator), marker: next(operator('divideByExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
172
171
  "isA": [
173
- "mathematicalOperator"
172
+ "mathematical_operator"
174
173
  ],
175
174
  "before": [
176
175
  [
@@ -212,263 +211,323 @@
212
211
  "hierarchy": [
213
212
  [
214
213
  "a",
215
- "articlePOS"
214
+ "articlePOS",
215
+ false
216
216
  ],
217
217
  [
218
218
  "all",
219
- "quantifier"
219
+ "quantifier",
220
+ false
220
221
  ],
221
222
  [
222
223
  "articlePOS",
223
- "articlePOS"
224
+ "articlePOS",
225
+ false
224
226
  ],
225
227
  [
226
228
  "between",
227
- "preposition"
229
+ "preposition",
230
+ false
228
231
  ],
229
232
  [
230
233
  "canBeDoQuestion",
231
- "canBeDoQuestion"
234
+ "canBeDoQuestion",
235
+ false
232
236
  ],
233
237
  [
234
238
  "canBeQuestion",
235
- "canBeQuestion"
239
+ "canBeQuestion",
240
+ false
236
241
  ],
237
242
  [
238
243
  "concept",
239
- "queryable"
244
+ "queryable",
245
+ false
240
246
  ],
241
247
  [
242
248
  "concept",
243
- "theAble"
249
+ "theAble",
250
+ false
244
251
  ],
245
252
  [
246
253
  "condition",
247
- "condition"
254
+ "condition",
255
+ false
248
256
  ],
249
257
  [
250
258
  "countable",
251
- "hierarchyAble"
259
+ "hierarchyAble",
260
+ false
261
+ ],
262
+ [
263
+ "doubleQuote",
264
+ "queryable",
265
+ false
252
266
  ],
253
267
  [
254
268
  "hasCountOfPieces",
255
- "countable"
269
+ "countable",
270
+ false
256
271
  ],
257
272
  [
258
273
  "have",
259
- "canBeDoQuestion"
274
+ "canBeDoQuestion",
275
+ false
260
276
  ],
261
277
  [
262
278
  "have",
263
- "canBeQuestion"
279
+ "canBeQuestion",
280
+ false
264
281
  ],
265
282
  [
266
283
  "hierarchyAble",
267
- "queryable"
284
+ "queryable",
285
+ false
268
286
  ],
269
287
  [
270
288
  "highest",
271
- "condition"
289
+ "condition",
290
+ false
272
291
  ],
273
292
  [
274
293
  "ifAble",
275
- "ifAble"
294
+ "ifAble",
295
+ false
276
296
  ],
277
297
  [
278
298
  "is",
279
- "canBeQuestion"
299
+ "canBeQuestion",
300
+ false
280
301
  ],
281
302
  [
282
303
  "is",
283
- "verby"
304
+ "verby",
305
+ false
284
306
  ],
285
307
  [
286
308
  "it",
287
- "pronoun"
309
+ "pronoun",
310
+ false
288
311
  ],
289
312
  [
290
313
  "it",
291
- "queryable"
314
+ "queryable",
315
+ false
292
316
  ],
293
317
  [
294
318
  "it",
295
- "thisitthat"
319
+ "thisitthat",
320
+ false
296
321
  ],
297
322
  [
298
323
  "it",
299
- "toAble"
324
+ "toAble",
325
+ false
300
326
  ],
301
327
  [
302
328
  "lowest",
303
- "condition"
329
+ "condition",
330
+ false
304
331
  ],
305
332
  [
306
333
  "modifies",
307
- "verby"
308
- ],
309
- [
310
- "notAble",
311
- "notAble"
334
+ "verby",
335
+ false
312
336
  ],
313
337
  [
314
338
  "noun",
315
- "theAble"
339
+ "theAble",
340
+ false
316
341
  ],
317
342
  [
318
343
  "number",
319
- "quantifier"
344
+ "quantifier",
345
+ false
320
346
  ],
321
347
  [
322
348
  "number",
323
- "queryable"
349
+ "queryable",
350
+ false
324
351
  ],
325
352
  [
326
353
  "object",
327
- "queryable"
354
+ "queryable",
355
+ false
328
356
  ],
329
357
  [
330
358
  "object",
331
- "theAble"
359
+ "theAble",
360
+ false
332
361
  ],
333
362
  [
334
363
  "orAble",
335
- "ifAble"
364
+ "ifAble",
365
+ false
336
366
  ],
337
367
  [
338
368
  "preposition",
339
- "preposition"
369
+ "preposition",
370
+ false
340
371
  ],
341
372
  [
342
373
  "pronoun",
343
- "pronoun"
374
+ "pronoun",
375
+ false
344
376
  ],
345
377
  [
346
378
  "property",
347
- "queryable"
379
+ "queryable",
380
+ false
348
381
  ],
349
382
  [
350
383
  "property",
351
- "theAble"
384
+ "theAble",
385
+ false
352
386
  ],
353
387
  [
354
388
  "property",
355
- "unknown"
389
+ "unknown",
390
+ false
356
391
  ],
357
392
  [
358
393
  "punctuation",
359
- "punctuation"
394
+ "punctuation",
395
+ false
360
396
  ],
361
397
  [
362
398
  "quantifier",
363
- "quantifier"
399
+ "quantifier",
400
+ false
364
401
  ],
365
402
  [
366
403
  "queryable",
367
- "queryable"
404
+ "queryable",
405
+ false
368
406
  ],
369
407
  [
370
408
  "questionMark",
371
- "punctuation"
409
+ "punctuation",
410
+ false
372
411
  ],
373
412
  [
374
413
  "readonly",
375
- "queryable"
414
+ "queryable",
415
+ false
376
416
  ],
377
417
  [
378
418
  "reason",
379
- "queryable"
419
+ "queryable",
420
+ false
380
421
  ],
381
422
  [
382
423
  "reason",
383
- "theAble"
424
+ "theAble",
425
+ false
384
426
  ],
385
427
  [
386
428
  "that",
387
- "thisitthat"
429
+ "thisitthat",
430
+ false
388
431
  ],
389
432
  [
390
433
  "the",
391
- "articlePOS"
434
+ "articlePOS",
435
+ false
392
436
  ],
393
437
  [
394
438
  "theAble",
395
- "theAble"
439
+ "theAble",
440
+ false
396
441
  ],
397
442
  [
398
443
  "this",
399
- "pronoun"
444
+ "pronoun",
445
+ false
400
446
  ],
401
447
  [
402
448
  "this",
403
- "queryable"
449
+ "queryable",
450
+ false
404
451
  ],
405
452
  [
406
453
  "this",
407
- "thisitthat"
454
+ "thisitthat",
455
+ false
408
456
  ],
409
457
  [
410
458
  "thisitthat",
411
- "queryable"
459
+ "queryable",
460
+ false
412
461
  ],
413
462
  [
414
463
  "to",
415
- "preposition"
464
+ "preposition",
465
+ false
416
466
  ],
417
467
  [
418
468
  "toAble",
419
- "toAble"
469
+ "toAble",
470
+ false
420
471
  ],
421
472
  [
422
473
  "type",
423
- "property"
474
+ "property",
475
+ false
424
476
  ],
425
477
  [
426
478
  "type",
427
- "whatAble"
428
- ],
429
- [
430
- "unknown",
431
- "hierarchyAble"
479
+ "whatAble",
480
+ false
432
481
  ],
433
482
  [
434
483
  "unknown",
435
- "notAble"
484
+ "hierarchyAble",
485
+ false
436
486
  ],
437
487
  [
438
488
  "unknown",
439
- "object"
489
+ "object",
490
+ false
440
491
  ],
441
492
  [
442
493
  "unknown",
443
- "queryable"
494
+ "queryable",
495
+ false
444
496
  ],
445
497
  [
446
498
  "unknown",
447
- "theAble"
499
+ "theAble",
500
+ false
448
501
  ],
449
502
  [
450
503
  "verby",
451
- "verby"
504
+ "verby",
505
+ false
452
506
  ],
453
507
  [
454
508
  "what",
455
- "object"
509
+ "object",
510
+ false
456
511
  ],
457
512
  [
458
513
  "what",
459
- "queryable"
514
+ "queryable",
515
+ false
460
516
  ],
461
517
  [
462
518
  "whatAble",
463
- "queryable"
519
+ "queryable",
520
+ false
464
521
  ],
465
522
  [
466
523
  "whose",
467
- "object"
524
+ "object",
525
+ false
468
526
  ],
469
527
  [
470
528
  "xfx",
471
- "queryable"
529
+ "queryable",
530
+ false
472
531
  ]
473
532
  ],
474
533
  "metadata": {
@@ -627,989 +686,12 @@
627
686
  "query": "mathematical modifies operator"
628
687
  }
629
688
  },
630
- {
631
- "hierarchy": [
632
- [
633
- "a",
634
- "articlePOS"
635
- ],
636
- [
637
- "adjective",
638
- "adjective"
639
- ],
640
- [
641
- "all",
642
- "quantifier"
643
- ],
644
- [
645
- "articlePOS",
646
- "articlePOS"
647
- ],
648
- [
649
- "between",
650
- "preposition"
651
- ],
652
- [
653
- "canBeDoQuestion",
654
- "canBeDoQuestion"
655
- ],
656
- [
657
- "canBeQuestion",
658
- "canBeQuestion"
659
- ],
660
- [
661
- "concept",
662
- "queryable"
663
- ],
664
- [
665
- "concept",
666
- "theAble"
667
- ],
668
- [
669
- "condition",
670
- "condition"
671
- ],
672
- [
673
- "countable",
674
- "hierarchyAble"
675
- ],
676
- [
677
- "hasCountOfPieces",
678
- "countable"
679
- ],
680
- [
681
- "have",
682
- "canBeDoQuestion"
683
- ],
684
- [
685
- "have",
686
- "canBeQuestion"
687
- ],
688
- [
689
- "hierarchyAble",
690
- "queryable"
691
- ],
692
- [
693
- "highest",
694
- "condition"
695
- ],
696
- [
697
- "ifAble",
698
- "ifAble"
699
- ],
700
- [
701
- "is",
702
- "canBeQuestion"
703
- ],
704
- [
705
- "is",
706
- "verby"
707
- ],
708
- [
709
- "isEdee",
710
- "isEdee"
711
- ],
712
- [
713
- "isEder",
714
- "isEder"
715
- ],
716
- [
717
- "it",
718
- "pronoun"
719
- ],
720
- [
721
- "it",
722
- "queryable"
723
- ],
724
- [
725
- "it",
726
- "thisitthat"
727
- ],
728
- [
729
- "it",
730
- "toAble"
731
- ],
732
- [
733
- "lowest",
734
- "condition"
735
- ],
736
- [
737
- "mathematical",
738
- "hierarchyAble"
739
- ],
740
- [
741
- "mathematical",
742
- "isEdee"
743
- ],
744
- [
745
- "mathematical",
746
- "isEder"
747
- ],
748
- [
749
- "mathematical",
750
- "object"
751
- ],
752
- [
753
- "mathematical",
754
- "operator_modifier"
755
- ],
756
- [
757
- "mathematical",
758
- "property"
759
- ],
760
- [
761
- "mathematical",
762
- "queryable"
763
- ],
764
- [
765
- "mathematical",
766
- "theAble"
767
- ],
768
- [
769
- "mathematical_operator",
770
- "adjective"
771
- ],
772
- [
773
- "mathematical_operator",
774
- "concept"
775
- ],
776
- [
777
- "mathematical_operator",
778
- "hierarchyAble"
779
- ],
780
- [
781
- "mathematical_operator",
782
- "isEdee"
783
- ],
784
- [
785
- "mathematical_operator",
786
- "isEder"
787
- ],
788
- [
789
- "mathematical_operator",
790
- "object"
791
- ],
792
- [
793
- "mathematical_operator",
794
- "operator"
795
- ],
796
- [
797
- "mathematical_operator",
798
- "property"
799
- ],
800
- [
801
- "mathematical_operator",
802
- "queryable"
803
- ],
804
- [
805
- "mathematical_operator",
806
- "theAble"
807
- ],
808
- [
809
- "modifies",
810
- "verby"
811
- ],
812
- [
813
- "notAble",
814
- "notAble"
815
- ],
816
- [
817
- "noun",
818
- "theAble"
819
- ],
820
- [
821
- "number",
822
- "quantifier"
823
- ],
824
- [
825
- "number",
826
- "queryable"
827
- ],
828
- [
829
- "object",
830
- "queryable"
831
- ],
832
- [
833
- "object",
834
- "theAble"
835
- ],
836
- [
837
- "operator",
838
- "concept"
839
- ],
840
- [
841
- "operator",
842
- "hierarchyAble"
843
- ],
844
- [
845
- "operator",
846
- "isEdee"
847
- ],
848
- [
849
- "operator",
850
- "isEder"
851
- ],
852
- [
853
- "operator",
854
- "object"
855
- ],
856
- [
857
- "operator",
858
- "property"
859
- ],
860
- [
861
- "operator",
862
- "queryable"
863
- ],
864
- [
865
- "operator",
866
- "theAble"
867
- ],
868
- [
869
- "operator_modifier",
870
- "operator_modifier"
871
- ],
872
- [
873
- "orAble",
874
- "ifAble"
875
- ],
876
- [
877
- "preposition",
878
- "preposition"
879
- ],
880
- [
881
- "pronoun",
882
- "pronoun"
883
- ],
884
- [
885
- "property",
886
- "queryable"
887
- ],
888
- [
889
- "property",
890
- "theAble"
891
- ],
892
- [
893
- "property",
894
- "unknown"
895
- ],
896
- [
897
- "punctuation",
898
- "punctuation"
899
- ],
900
- [
901
- "quantifier",
902
- "quantifier"
903
- ],
904
- [
905
- "queryable",
906
- "queryable"
907
- ],
908
- [
909
- "questionMark",
910
- "punctuation"
911
- ],
912
- [
913
- "readonly",
914
- "queryable"
915
- ],
916
- [
917
- "reason",
918
- "queryable"
919
- ],
920
- [
921
- "reason",
922
- "theAble"
923
- ],
924
- [
925
- "that",
926
- "thisitthat"
927
- ],
928
- [
929
- "the",
930
- "articlePOS"
931
- ],
932
- [
933
- "theAble",
934
- "theAble"
935
- ],
936
- [
937
- "this",
938
- "pronoun"
939
- ],
940
- [
941
- "this",
942
- "queryable"
943
- ],
944
- [
945
- "this",
946
- "thisitthat"
947
- ],
948
- [
949
- "thisitthat",
950
- "queryable"
951
- ],
952
- [
953
- "to",
954
- "preposition"
955
- ],
956
- [
957
- "toAble",
958
- "toAble"
959
- ],
960
- [
961
- "type",
962
- "property"
963
- ],
964
- [
965
- "type",
966
- "whatAble"
967
- ],
968
- [
969
- "unknown",
970
- "hierarchyAble"
971
- ],
972
- [
973
- "unknown",
974
- "notAble"
975
- ],
976
- [
977
- "unknown",
978
- "object"
979
- ],
980
- [
981
- "unknown",
982
- "queryable"
983
- ],
984
- [
985
- "unknown",
986
- "theAble"
987
- ],
988
- [
989
- "verby",
990
- "verby"
991
- ],
992
- [
993
- "what",
994
- "object"
995
- ],
996
- [
997
- "what",
998
- "queryable"
999
- ],
1000
- [
1001
- "whatAble",
1002
- "queryable"
1003
- ],
1004
- [
1005
- "whose",
1006
- "object"
1007
- ],
1008
- [
1009
- "xfx",
1010
- "queryable"
1011
- ]
1012
- ],
1013
- "metadata": {
1014
- "opChoices": [
1015
- {
1016
- "op": [
1017
- "unknown",
1018
- 0
1019
- ],
1020
- "ops": [
1021
- [
1022
- "unknown",
1023
- 0
1024
- ],
1025
- [
1026
- "unknown",
1027
- 0
1028
- ],
1029
- [
1030
- "unknown",
1031
- 0
1032
- ],
1033
- [
1034
- "unknown",
1035
- 0
1036
- ],
1037
- [
1038
- "is",
1039
- 0
1040
- ],
1041
- [
1042
- "mathematical",
1043
- 0
1044
- ],
1045
- [
1046
- "operator",
1047
- 0
1048
- ],
1049
- [
1050
- "mathematical_operator",
1051
- 0
1052
- ],
1053
- [
1054
- "list",
1055
- 0
1056
- ]
1057
- ],
1058
- "counter": 1
1059
- },
1060
- {
1061
- "op": [
1062
- "unknown",
1063
- 0
1064
- ],
1065
- "ops": [
1066
- [
1067
- "unknown",
1068
- 0
1069
- ],
1070
- [
1071
- "unknown",
1072
- 0
1073
- ],
1074
- [
1075
- "unknown",
1076
- 0
1077
- ],
1078
- [
1079
- "is",
1080
- 0
1081
- ],
1082
- [
1083
- "mathematical",
1084
- 0
1085
- ],
1086
- [
1087
- "operator",
1088
- 0
1089
- ],
1090
- [
1091
- "mathematical_operator",
1092
- 0
1093
- ],
1094
- [
1095
- "list",
1096
- 0
1097
- ]
1098
- ],
1099
- "counter": 2
1100
- },
1101
- {
1102
- "op": [
1103
- "unknown",
1104
- 0
1105
- ],
1106
- "ops": [
1107
- [
1108
- "unknown",
1109
- 0
1110
- ],
1111
- [
1112
- "unknown",
1113
- 0
1114
- ],
1115
- [
1116
- "is",
1117
- 0
1118
- ],
1119
- [
1120
- "mathematical",
1121
- 0
1122
- ],
1123
- [
1124
- "operator",
1125
- 0
1126
- ],
1127
- [
1128
- "mathematical_operator",
1129
- 0
1130
- ],
1131
- [
1132
- "list",
1133
- 0
1134
- ]
1135
- ],
1136
- "counter": 3
1137
- },
1138
- {
1139
- "op": [
1140
- "unknown",
1141
- 0
1142
- ],
1143
- "ops": [
1144
- [
1145
- "unknown",
1146
- 0
1147
- ],
1148
- [
1149
- "is",
1150
- 0
1151
- ],
1152
- [
1153
- "mathematical",
1154
- 0
1155
- ],
1156
- [
1157
- "operator",
1158
- 0
1159
- ],
1160
- [
1161
- "mathematical_operator",
1162
- 0
1163
- ],
1164
- [
1165
- "list",
1166
- 0
1167
- ]
1168
- ],
1169
- "counter": 4
1170
- },
1171
- {
1172
- "op": [
1173
- "list",
1174
- 0
1175
- ],
1176
- "ops": [
1177
- [
1178
- "is",
1179
- 0
1180
- ],
1181
- [
1182
- "mathematical",
1183
- 0
1184
- ],
1185
- [
1186
- "operator",
1187
- 0
1188
- ],
1189
- [
1190
- "mathematical_operator",
1191
- 0
1192
- ],
1193
- [
1194
- "list",
1195
- 0
1196
- ]
1197
- ],
1198
- "counter": 5
1199
- },
1200
- {
1201
- "op": [
1202
- "list",
1203
- 1
1204
- ],
1205
- "ops": [
1206
- [
1207
- "list",
1208
- 1
1209
- ],
1210
- [
1211
- "is",
1212
- 0
1213
- ],
1214
- [
1215
- "mathematical",
1216
- 0
1217
- ],
1218
- [
1219
- "operator",
1220
- 0
1221
- ],
1222
- [
1223
- "mathematical_operator",
1224
- 0
1225
- ],
1226
- [
1227
- "list",
1228
- 1
1229
- ]
1230
- ],
1231
- "counter": 6
1232
- },
1233
- {
1234
- "op": [
1235
- "list",
1236
- 1
1237
- ],
1238
- "ops": [
1239
- [
1240
- "is",
1241
- 0
1242
- ],
1243
- [
1244
- "mathematical",
1245
- 0
1246
- ],
1247
- [
1248
- "operator",
1249
- 0
1250
- ],
1251
- [
1252
- "mathematical_operator",
1253
- 0
1254
- ],
1255
- [
1256
- "list",
1257
- 1
1258
- ]
1259
- ],
1260
- "counter": 7
1261
- },
1262
- {
1263
- "op": [
1264
- "list",
1265
- 1
1266
- ],
1267
- "ops": [
1268
- [
1269
- "is",
1270
- 0
1271
- ],
1272
- [
1273
- "mathematical",
1274
- 0
1275
- ],
1276
- [
1277
- "operator",
1278
- 0
1279
- ],
1280
- [
1281
- "mathematical_operator",
1282
- 0
1283
- ],
1284
- [
1285
- "list",
1286
- 1
1287
- ]
1288
- ],
1289
- "counter": 8
1290
- },
1291
- {
1292
- "op": [
1293
- "mathematical_operator",
1294
- 0
1295
- ],
1296
- "ops": [
1297
- [
1298
- "is",
1299
- 0
1300
- ],
1301
- [
1302
- "mathematical",
1303
- 0
1304
- ],
1305
- [
1306
- "operator",
1307
- 0
1308
- ],
1309
- [
1310
- "mathematical_operator",
1311
- 0
1312
- ]
1313
- ],
1314
- "counter": 9
1315
- },
1316
- {
1317
- "op": [
1318
- "is",
1319
- 0
1320
- ],
1321
- "ops": [
1322
- [
1323
- "is",
1324
- 0
1325
- ]
1326
- ],
1327
- "counter": 10
1328
- },
1329
- {
1330
- "op": [
1331
- "is",
1332
- 1
1333
- ],
1334
- "ops": [
1335
- [
1336
- "is",
1337
- 1
1338
- ]
1339
- ],
1340
- "counter": 11
1341
- }
1342
- ]
1343
- },
1344
- "trace": "undefined",
1345
- "contexts": [
1346
- {
1347
- "number": "many",
1348
- "text": "* + / and - are mathematical operators",
1349
- "marker": "is",
1350
- "word": "are",
1351
- "range": {
1352
- "start": 0,
1353
- "end": 37
1354
- },
1355
- "one": {
1356
- "number": "many",
1357
- "marker": "list",
1358
- "listable": true,
1359
- "value": [
1360
- {
1361
- "marker": "unknown",
1362
- "value": "*",
1363
- "word": "*",
1364
- "text": "*",
1365
- "range": {
1366
- "start": 0,
1367
- "end": 0
1368
- },
1369
- "unknown": true,
1370
- "dead": true,
1371
- "level": 1
1372
- },
1373
- {
1374
- "marker": "unknown",
1375
- "value": "+",
1376
- "word": "+",
1377
- "text": "+",
1378
- "range": {
1379
- "start": 2,
1380
- "end": 2
1381
- },
1382
- "unknown": true,
1383
- "dead": true,
1384
- "level": 1
1385
- },
1386
- {
1387
- "marker": "unknown",
1388
- "value": "/",
1389
- "word": "/",
1390
- "text": "/",
1391
- "range": {
1392
- "start": 4,
1393
- "end": 4
1394
- },
1395
- "unknown": true,
1396
- "dead": true,
1397
- "level": 2
1398
- },
1399
- {
1400
- "marker": "unknown",
1401
- "value": "-",
1402
- "word": "-",
1403
- "text": "-",
1404
- "range": {
1405
- "start": 10,
1406
- "end": 10
1407
- },
1408
- "unknown": true,
1409
- "dead": true,
1410
- "level": 2
1411
- }
1412
- ],
1413
- "range": {
1414
- "start": 0,
1415
- "end": 37
1416
- },
1417
- "types": [
1418
- "list",
1419
- "unknown"
1420
- ],
1421
- "text": "* +",
1422
- "level": 1
1423
- },
1424
- "two": {
1425
- "value": "mathematical_operator",
1426
- "number": "many",
1427
- "text": "mathematical operators",
1428
- "marker": "mathematical_operator",
1429
- "word": "operators",
1430
- "range": {
1431
- "start": 16,
1432
- "end": 37
1433
- },
1434
- "types": [
1435
- "mathematical_operator",
1436
- "operator"
1437
- ],
1438
- "modifier_mathematical": {
1439
- "value": "mathematical",
1440
- "text": "mathematical",
1441
- "marker": "mathematical",
1442
- "word": "mathematical",
1443
- "range": {
1444
- "start": 16,
1445
- "end": 27
1446
- },
1447
- "types": [
1448
- "mathematical"
1449
- ],
1450
- "level": 0
1451
- },
1452
- "atomic": true,
1453
- "dead": true,
1454
- "modifiers": [
1455
- "modifier_mathematical"
1456
- ],
1457
- "level": 1,
1458
- "concept": true
1459
- },
1460
- "dead": true,
1461
- "level": 2,
1462
- "topLevel": true,
1463
- "touchedBy": [
1464
- "math#call2"
1465
- ]
1466
- }
1467
- ],
1468
- "generated": [
1469
- ""
1470
- ],
1471
- "paraphrases": [
1472
- "*, +, / and - are mathematical operators"
1473
- ],
1474
- "paraphrasesParenthesized": [],
1475
- "generatedParenthesized": [],
1476
- "responses": [
1477
- ""
1478
- ],
1479
- "associations": [
1480
- [
1481
- [
1482
- "is",
1483
- 0
1484
- ],
1485
- [
1486
- "list",
1487
- 0
1488
- ],
1489
- [
1490
- "mathematical",
1491
- 0
1492
- ],
1493
- [
1494
- "operator",
1495
- 0
1496
- ],
1497
- [
1498
- "unknown",
1499
- 0
1500
- ]
1501
- ],
1502
- [
1503
- [
1504
- "is",
1505
- 0
1506
- ],
1507
- [
1508
- "list",
1509
- 0
1510
- ],
1511
- [
1512
- "mathematical",
1513
- 0
1514
- ],
1515
- [
1516
- "operator",
1517
- 0
1518
- ],
1519
- [
1520
- "unknown",
1521
- 0
1522
- ],
1523
- [
1524
- "unknown",
1525
- 1
1526
- ]
1527
- ],
1528
- [
1529
- [
1530
- "is",
1531
- 0
1532
- ],
1533
- [
1534
- "list",
1535
- 0
1536
- ],
1537
- [
1538
- "mathematical",
1539
- 0
1540
- ],
1541
- [
1542
- "operator",
1543
- 0
1544
- ],
1545
- [
1546
- "unknown",
1547
- 1
1548
- ]
1549
- ],
1550
- [
1551
- [
1552
- "is",
1553
- 0
1554
- ],
1555
- [
1556
- "list",
1557
- 1
1558
- ]
1559
- ],
1560
- [
1561
- [
1562
- "is",
1563
- 0
1564
- ],
1565
- [
1566
- "list",
1567
- 1
1568
- ],
1569
- [
1570
- "mathematical",
1571
- 0
1572
- ],
1573
- [
1574
- "operator",
1575
- 0
1576
- ]
1577
- ],
1578
- [
1579
- [
1580
- "is",
1581
- 0
1582
- ],
1583
- [
1584
- "list",
1585
- 1
1586
- ],
1587
- [
1588
- "mathematical",
1589
- 0
1590
- ],
1591
- [
1592
- "operator",
1593
- 0
1594
- ],
1595
- [
1596
- "unknown",
1597
- 1
1598
- ]
1599
- ]
1600
- ],
1601
- "learned_contextual_priorities": [],
1602
- "query": "* + / and - are mathematical operators",
1603
- "key": {
1604
- "query": "* + / and - are mathematical operators"
1605
- }
1606
- },
1607
689
  {
1608
690
  "extraConfig": true,
1609
691
  "name": "math",
1610
692
  "operators": [
1611
693
  "([mathematicalExpression])",
1612
- "([mathematicalOperator])",
694
+ "([mathematical_operator])",
1613
695
  "(([number|]) [plusOperator] ([number|]))",
1614
696
  "(([number|]) [minusOperator] ([number|]))",
1615
697
  "(([number|]) [timesOperator] ([number|]))",
@@ -1636,7 +718,7 @@
1636
718
  ]
1637
719
  },
1638
720
  {
1639
- "id": "mathematicalOperator",
721
+ "id": "mathematical_operator",
1640
722
  "before": [
1641
723
  "verby"
1642
724
  ],
@@ -1668,7 +750,7 @@
1668
750
  "level": 0,
1669
751
  "bridge": "{ ...next(operator), marker: next(operator('plusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1670
752
  "isA": [
1671
- "mathematicalOperator"
753
+ "mathematical_operator"
1672
754
  ],
1673
755
  "before": [],
1674
756
  "localHierarchy": [
@@ -1697,7 +779,7 @@
1697
779
  "level": 0,
1698
780
  "bridge": "{ ...next(operator), marker: next(operator('minusExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1699
781
  "isA": [
1700
- "mathematicalOperator"
782
+ "mathematical_operator"
1701
783
  ],
1702
784
  "before": [],
1703
785
  "localHierarchy": [
@@ -1726,7 +808,7 @@
1726
808
  "level": 0,
1727
809
  "bridge": "{ ...next(operator), marker: next(operator('timesExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1728
810
  "isA": [
1729
- "mathematicalOperator"
811
+ "mathematical_operator"
1730
812
  ],
1731
813
  "before": [
1732
814
  [
@@ -1764,7 +846,7 @@
1764
846
  "level": 0,
1765
847
  "bridge": "{ ...next(operator), marker: next(operator('divideByExpression')), types: lub(append(['mathematicalExpression'], operator.types, before[0].types, after[0].types)), value: null, x: before[0], y: after[0], number: 'one', isResponse: true, evaluate: true }",
1766
848
  "isA": [
1767
- "mathematicalOperator"
849
+ "mathematical_operator"
1768
850
  ],
1769
851
  "before": [
1770
852
  [
@@ -1801,126 +883,6 @@
1801
883
  "fragments": [],
1802
884
  "semantics": [],
1803
885
  "associations": [
1804
- [
1805
- [
1806
- "is",
1807
- 0
1808
- ],
1809
- [
1810
- "list",
1811
- 0
1812
- ],
1813
- [
1814
- "mathematical",
1815
- 0
1816
- ],
1817
- [
1818
- "operator",
1819
- 0
1820
- ],
1821
- [
1822
- "unknown",
1823
- 0
1824
- ]
1825
- ],
1826
- [
1827
- [
1828
- "is",
1829
- 0
1830
- ],
1831
- [
1832
- "list",
1833
- 0
1834
- ],
1835
- [
1836
- "mathematical",
1837
- 0
1838
- ],
1839
- [
1840
- "operator",
1841
- 0
1842
- ],
1843
- [
1844
- "unknown",
1845
- 0
1846
- ],
1847
- [
1848
- "unknown",
1849
- 1
1850
- ]
1851
- ],
1852
- [
1853
- [
1854
- "is",
1855
- 0
1856
- ],
1857
- [
1858
- "list",
1859
- 0
1860
- ],
1861
- [
1862
- "mathematical",
1863
- 0
1864
- ],
1865
- [
1866
- "operator",
1867
- 0
1868
- ],
1869
- [
1870
- "unknown",
1871
- 1
1872
- ]
1873
- ],
1874
- [
1875
- [
1876
- "is",
1877
- 0
1878
- ],
1879
- [
1880
- "list",
1881
- 1
1882
- ]
1883
- ],
1884
- [
1885
- [
1886
- "is",
1887
- 0
1888
- ],
1889
- [
1890
- "list",
1891
- 1
1892
- ],
1893
- [
1894
- "mathematical",
1895
- 0
1896
- ],
1897
- [
1898
- "operator",
1899
- 0
1900
- ]
1901
- ],
1902
- [
1903
- [
1904
- "is",
1905
- 0
1906
- ],
1907
- [
1908
- "list",
1909
- 1
1910
- ],
1911
- [
1912
- "mathematical",
1913
- 0
1914
- ],
1915
- [
1916
- "operator",
1917
- 0
1918
- ],
1919
- [
1920
- "unknown",
1921
- 1
1922
- ]
1923
- ],
1924
886
  [
1925
887
  [
1926
888
  "modifies",