ekms 8.0.0-beta.0 → 8.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/common/animals.instance.json +103 -113
- package/common/characters.js +0 -1
- package/common/colors.instance.json +22304 -0
- package/common/colors.js +71 -0
- package/common/colors.test.json +4860 -0
- package/common/concept.js +2 -2
- package/common/crew.instance.json +4142 -3545
- package/common/crew.js +4 -2
- package/common/dialogues.js +34 -7
- package/common/dialogues.test.json +1053 -33
- package/common/dimension.instance.json +20 -30
- package/common/dimension.test.json +289 -312
- package/common/edible.instance.json +216 -156
- package/common/emotions.instance.json +64 -0
- package/common/fastfood.instance.json +1011 -386
- package/common/fastfood.js +1 -1
- package/common/fastfood.test.json +7941 -3647
- package/common/formulas.instance.json +4 -0
- package/common/formulas.test.json +1027 -955
- package/common/help.test.json +14 -10
- package/common/helpers/concept.js +29 -9
- package/common/helpers/dialogues.js +17 -1
- package/common/helpers/formulas.js +0 -14
- package/common/helpers/meta.js +0 -1
- package/common/helpers/properties.js +6 -13
- package/common/kirk.instance.json +4 -0
- package/common/length.instance.json +93 -63
- package/common/math.instance.json +26 -47
- package/common/meta.js +0 -2
- package/common/ordering.instance.json +76 -0
- package/common/people.instance.json +35 -60
- package/common/pipboy.instance.json +215 -229
- package/common/pokemon.instance.json +131 -82
- package/common/pressure.instance.json +38 -48
- package/common/properties.instance.json +4 -0
- package/common/properties.js +7 -7
- package/common/properties.test.json +17605 -4030
- package/common/punctuation.js +8 -0
- package/common/punctuation.test.json +233 -5
- package/common/reports.instance.json +12 -4
- package/common/reports.js +0 -2
- package/common/sizeable.js +7 -2
- package/common/spock.instance.json +4 -0
- package/common/stm.js +16 -5
- package/common/temperature.instance.json +45 -59
- package/common/testing.js +0 -1
- package/common/tokenize.js +2 -1
- package/common/tokenize.test.json +86 -1
- package/common/ui.instance.json +4 -0
- package/common/ui.js +0 -1
- package/common/weight.instance.json +62 -11
- package/common/weight.test.json +242 -238
- package/main.js +2 -0
- package/package.json +6 -2
package/common/punctuation.js
CHANGED
@@ -9,6 +9,7 @@ let configStruct = {
|
|
9
9
|
"([leftParenthesis|] (phrase) ([rightParenthesis|]))",
|
10
10
|
"((before) [comma|])", // comma applies if before is dead
|
11
11
|
"([colon|])",
|
12
|
+
"([doubleQuote|] (!doubleQuote/*)* (doubleQuote/*))",
|
12
13
|
],
|
13
14
|
bridges: [
|
14
15
|
{
|
@@ -30,6 +31,13 @@ let configStruct = {
|
|
30
31
|
words: [{ word: ")", value: ')', depth: '-' }],
|
31
32
|
},
|
32
33
|
{ id: "colon", words: [':'], },
|
34
|
+
{
|
35
|
+
id: "doubleQuote",
|
36
|
+
level: 0,
|
37
|
+
bridge: "{ ...next(operator), quote: 'double' }",
|
38
|
+
generatorp: ({context}) => context.text,
|
39
|
+
words: [{ word: '"', depth: '+' }],
|
40
|
+
},
|
33
41
|
],
|
34
42
|
|
35
43
|
generators: [
|
@@ -9,6 +9,34 @@
|
|
9
9
|
[
|
10
10
|
"rightParenthesis",
|
11
11
|
0
|
12
|
+
],
|
13
|
+
[
|
14
|
+
"unknown",
|
15
|
+
0
|
16
|
+
]
|
17
|
+
],
|
18
|
+
[
|
19
|
+
[
|
20
|
+
"leftParenthesis",
|
21
|
+
0
|
22
|
+
],
|
23
|
+
[
|
24
|
+
"rightParenthesis",
|
25
|
+
0
|
26
|
+
],
|
27
|
+
[
|
28
|
+
"unknown",
|
29
|
+
1
|
30
|
+
]
|
31
|
+
],
|
32
|
+
[
|
33
|
+
[
|
34
|
+
"leftParenthesis",
|
35
|
+
0
|
36
|
+
],
|
37
|
+
[
|
38
|
+
"unknown",
|
39
|
+
1
|
12
40
|
]
|
13
41
|
]
|
14
42
|
],
|
@@ -16,6 +44,8 @@
|
|
16
44
|
},
|
17
45
|
"contexts": [
|
18
46
|
{
|
47
|
+
"dead": true,
|
48
|
+
"level": 1,
|
19
49
|
"marker": "unknown",
|
20
50
|
"parenthesis": "(",
|
21
51
|
"range": {
|
@@ -24,6 +54,7 @@
|
|
24
54
|
},
|
25
55
|
"text": "(a)",
|
26
56
|
"topLevel": true,
|
57
|
+
"unknown": true,
|
27
58
|
"value": "a",
|
28
59
|
"word": "a"
|
29
60
|
}
|
@@ -35,6 +66,19 @@
|
|
35
66
|
"opChoices": [
|
36
67
|
{
|
37
68
|
"counter": 1,
|
69
|
+
"op": [
|
70
|
+
"unknown",
|
71
|
+
0
|
72
|
+
],
|
73
|
+
"ops": [
|
74
|
+
[
|
75
|
+
"unknown",
|
76
|
+
0
|
77
|
+
]
|
78
|
+
]
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"counter": 2,
|
38
82
|
"op": [
|
39
83
|
"rightParenthesis",
|
40
84
|
0
|
@@ -51,7 +95,7 @@
|
|
51
95
|
]
|
52
96
|
},
|
53
97
|
{
|
54
|
-
"counter":
|
98
|
+
"counter": 3,
|
55
99
|
"op": [
|
56
100
|
"leftParenthesis",
|
57
101
|
0
|
@@ -68,17 +112,22 @@
|
|
68
112
|
"objects": {
|
69
113
|
"nameToUUID": {
|
70
114
|
"gdefaults": "gdefaults2",
|
71
|
-
"punctuation": "punctuation1"
|
115
|
+
"punctuation": "punctuation1",
|
116
|
+
"tokenize": "tokenize2"
|
72
117
|
},
|
73
118
|
"namespaced": {
|
74
119
|
"gdefaults2": {
|
75
120
|
},
|
76
121
|
"punctuation1": {
|
122
|
+
},
|
123
|
+
"tokenize2": {
|
77
124
|
}
|
78
125
|
},
|
79
126
|
"processed": [
|
80
127
|
{
|
81
128
|
"context": {
|
129
|
+
"dead": true,
|
130
|
+
"level": 1,
|
82
131
|
"marker": "unknown",
|
83
132
|
"parenthesis": "(",
|
84
133
|
"range": {
|
@@ -87,6 +136,7 @@
|
|
87
136
|
},
|
88
137
|
"text": "(a)",
|
89
138
|
"topLevel": true,
|
139
|
+
"unknown": true,
|
90
140
|
"value": "a",
|
91
141
|
"word": "a"
|
92
142
|
},
|
@@ -126,7 +176,7 @@
|
|
126
176
|
},
|
127
177
|
"text": ":",
|
128
178
|
"topLevel": true,
|
129
|
-
"value": "
|
179
|
+
"value": "colon",
|
130
180
|
"word": ":"
|
131
181
|
}
|
132
182
|
],
|
@@ -153,12 +203,15 @@
|
|
153
203
|
"objects": {
|
154
204
|
"nameToUUID": {
|
155
205
|
"gdefaults": "gdefaults2",
|
156
|
-
"punctuation": "punctuation1"
|
206
|
+
"punctuation": "punctuation1",
|
207
|
+
"tokenize": "tokenize2"
|
157
208
|
},
|
158
209
|
"namespaced": {
|
159
210
|
"gdefaults2": {
|
160
211
|
},
|
161
212
|
"punctuation1": {
|
213
|
+
},
|
214
|
+
"tokenize2": {
|
162
215
|
}
|
163
216
|
},
|
164
217
|
"processed": [
|
@@ -173,7 +226,7 @@
|
|
173
226
|
},
|
174
227
|
"text": ":",
|
175
228
|
"topLevel": true,
|
176
|
-
"value": "
|
229
|
+
"value": "colon",
|
177
230
|
"word": ":"
|
178
231
|
},
|
179
232
|
"generatedParenthesized": "",
|
@@ -195,5 +248,180 @@
|
|
195
248
|
"responses": [
|
196
249
|
""
|
197
250
|
]
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"associations": [
|
254
|
+
[
|
255
|
+
[
|
256
|
+
"doubleQuote",
|
257
|
+
0
|
258
|
+
],
|
259
|
+
[
|
260
|
+
"unknown",
|
261
|
+
0
|
262
|
+
]
|
263
|
+
],
|
264
|
+
[
|
265
|
+
[
|
266
|
+
"doubleQuote",
|
267
|
+
0
|
268
|
+
],
|
269
|
+
[
|
270
|
+
"unknown",
|
271
|
+
0
|
272
|
+
],
|
273
|
+
[
|
274
|
+
"unknown",
|
275
|
+
1
|
276
|
+
]
|
277
|
+
],
|
278
|
+
[
|
279
|
+
[
|
280
|
+
"doubleQuote",
|
281
|
+
0
|
282
|
+
],
|
283
|
+
[
|
284
|
+
"unknown",
|
285
|
+
1
|
286
|
+
]
|
287
|
+
]
|
288
|
+
],
|
289
|
+
"config": {
|
290
|
+
},
|
291
|
+
"contexts": [
|
292
|
+
{
|
293
|
+
"dead": true,
|
294
|
+
"depth": "+",
|
295
|
+
"level": 1,
|
296
|
+
"marker": "doubleQuote",
|
297
|
+
"quote": "double",
|
298
|
+
"range": {
|
299
|
+
"end": 7,
|
300
|
+
"start": 0
|
301
|
+
},
|
302
|
+
"text": "\"hi man\"",
|
303
|
+
"topLevel": true,
|
304
|
+
"word": "\""
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"generatedParenthesized": [
|
308
|
+
""
|
309
|
+
],
|
310
|
+
"metadata": {
|
311
|
+
"opChoices": [
|
312
|
+
{
|
313
|
+
"counter": 1,
|
314
|
+
"op": [
|
315
|
+
"unknown",
|
316
|
+
0
|
317
|
+
],
|
318
|
+
"ops": [
|
319
|
+
[
|
320
|
+
"doubleQuote",
|
321
|
+
0
|
322
|
+
],
|
323
|
+
[
|
324
|
+
"doubleQuote",
|
325
|
+
0
|
326
|
+
],
|
327
|
+
[
|
328
|
+
"unknown",
|
329
|
+
0
|
330
|
+
],
|
331
|
+
[
|
332
|
+
"unknown",
|
333
|
+
0
|
334
|
+
]
|
335
|
+
]
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"counter": 2,
|
339
|
+
"op": [
|
340
|
+
"unknown",
|
341
|
+
0
|
342
|
+
],
|
343
|
+
"ops": [
|
344
|
+
[
|
345
|
+
"doubleQuote",
|
346
|
+
0
|
347
|
+
],
|
348
|
+
[
|
349
|
+
"doubleQuote",
|
350
|
+
0
|
351
|
+
],
|
352
|
+
[
|
353
|
+
"unknown",
|
354
|
+
0
|
355
|
+
]
|
356
|
+
]
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"counter": 3,
|
360
|
+
"op": [
|
361
|
+
"doubleQuote",
|
362
|
+
0
|
363
|
+
],
|
364
|
+
"ops": [
|
365
|
+
[
|
366
|
+
"doubleQuote",
|
367
|
+
0
|
368
|
+
],
|
369
|
+
[
|
370
|
+
"doubleQuote",
|
371
|
+
0
|
372
|
+
]
|
373
|
+
]
|
374
|
+
}
|
375
|
+
]
|
376
|
+
},
|
377
|
+
"objects": {
|
378
|
+
"nameToUUID": {
|
379
|
+
"gdefaults": "gdefaults2",
|
380
|
+
"punctuation": "punctuation1",
|
381
|
+
"tokenize": "tokenize2"
|
382
|
+
},
|
383
|
+
"namespaced": {
|
384
|
+
"gdefaults2": {
|
385
|
+
},
|
386
|
+
"punctuation1": {
|
387
|
+
},
|
388
|
+
"tokenize2": {
|
389
|
+
}
|
390
|
+
},
|
391
|
+
"processed": [
|
392
|
+
{
|
393
|
+
"context": {
|
394
|
+
"dead": true,
|
395
|
+
"depth": "+",
|
396
|
+
"level": 1,
|
397
|
+
"marker": "doubleQuote",
|
398
|
+
"quote": "double",
|
399
|
+
"range": {
|
400
|
+
"end": 7,
|
401
|
+
"start": 0
|
402
|
+
},
|
403
|
+
"text": "\"hi man\"",
|
404
|
+
"topLevel": true,
|
405
|
+
"word": "\""
|
406
|
+
},
|
407
|
+
"generatedParenthesized": "",
|
408
|
+
"paraphrases": "\"hi man\"",
|
409
|
+
"paraphrasesParenthesized": "(\"hi man\")",
|
410
|
+
"responses": [
|
411
|
+
""
|
412
|
+
]
|
413
|
+
}
|
414
|
+
]
|
415
|
+
},
|
416
|
+
"paraphrases": [
|
417
|
+
"\"hi man\""
|
418
|
+
],
|
419
|
+
"paraphrasesParenthesized": [
|
420
|
+
"(\"hi man\")"
|
421
|
+
],
|
422
|
+
"query": "\"hi man\"",
|
423
|
+
"responses": [
|
424
|
+
""
|
425
|
+
]
|
198
426
|
}
|
199
427
|
]
|