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
package/common/testing.js CHANGED
@@ -15,7 +15,6 @@ let configStruct = {
15
15
  id: 'testingEvaluate',
16
16
  generatorp: ({context, g}) => `${context.word} ${g(context.value)}`,
17
17
  semantic: ({context, e}) => {
18
- debugger
19
18
  context.evalue = e(context.value)
20
19
  context.isResponse = true
21
20
  },
@@ -25,7 +25,8 @@ let configStruct = {
25
25
  ...'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split("").map((letter) => { return { child: letter, parent: 'upper' } }),
26
26
  { child: 'letter', parent: 'alphanumeric' },
27
27
  { child: 'digit', parent: 'alphanumeric' },
28
- ...`~!@#$%^&*()_+-=[]{}\\|;:,<>/?'"`.split("").map((punctuation) => { return { child: punctuation, parent: 'punctuation' } }),
28
+ { child: '_', parent: 'alphanumeric' },
29
+ ...`~!@#$%^&*()+-=[]{}\\|;:,<>/?'"`.split("").map((punctuation) => { return { child: punctuation, parent: 'punctuation' } }),
29
30
  ],
30
31
  },
31
32
  };
@@ -1,2 +1,87 @@
1
1
  [
2
- ]
2
+ {
3
+ "associations": [
4
+ ],
5
+ "config": {
6
+ },
7
+ "contexts": [
8
+ {
9
+ "dead": true,
10
+ "level": 1,
11
+ "marker": "unknown",
12
+ "range": {
13
+ "end": 10,
14
+ "start": 0
15
+ },
16
+ "text": "hello_world",
17
+ "topLevel": true,
18
+ "unknown": true,
19
+ "value": "hello_world",
20
+ "word": "hello_world"
21
+ }
22
+ ],
23
+ "generatedParenthesized": [
24
+ ""
25
+ ],
26
+ "metadata": {
27
+ "opChoices": [
28
+ {
29
+ "counter": 1,
30
+ "op": [
31
+ "unknown",
32
+ 0
33
+ ],
34
+ "ops": [
35
+ [
36
+ "unknown",
37
+ 0
38
+ ]
39
+ ]
40
+ }
41
+ ]
42
+ },
43
+ "objects": {
44
+ "nameToUUID": {
45
+ "tokenize": "tokenize1"
46
+ },
47
+ "namespaced": {
48
+ "tokenize1": {
49
+ }
50
+ },
51
+ "processed": [
52
+ {
53
+ "context": {
54
+ "dead": true,
55
+ "level": 1,
56
+ "marker": "unknown",
57
+ "range": {
58
+ "end": 10,
59
+ "start": 0
60
+ },
61
+ "text": "hello_world",
62
+ "topLevel": true,
63
+ "unknown": true,
64
+ "value": "hello_world",
65
+ "word": "hello_world"
66
+ },
67
+ "generatedParenthesized": "",
68
+ "paraphrases": "",
69
+ "paraphrasesParenthesized": "()",
70
+ "responses": [
71
+ ""
72
+ ]
73
+ }
74
+ ]
75
+ },
76
+ "paraphrases": [
77
+ ""
78
+ ],
79
+ "paraphrasesParenthesized": [
80
+ "()"
81
+ ],
82
+ "query": "hello_world",
83
+ "responses": [
84
+ ""
85
+ ]
86
+ }
87
+ ]