tpmkms_4wp 9.4.4 → 9.4.5-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/characters.js +0 -3
- package/common/crew.instance.json +72 -36
- package/common/dates.instance.json +2 -0
- package/common/dates.js +1 -0
- package/common/edible.instance.json +507 -1246
- package/common/fastfood.instance.json +727 -3480
- package/common/gdefaults.js +9 -1
- package/common/javascript.js +0 -5
- package/common/latin.instance.json +2 -0
- package/common/latin.js +78 -0
- package/common/latin.test.json +1331 -0
- package/common/percentages.js +1 -0
- package/common/properties.js +1 -1
- package/common/reminders.instance.json +1 -1
- package/common/reports.instance.json +2 -2
- package/common/reports.js +4 -1
- package/common/reports.test.json +5547 -4514
- package/common/scorekeeper.js +0 -5
- package/common/temperature.instance.json +0 -84
- package/common/time.js +0 -9
- package/common/tokenize.js +18 -2
- package/main.js +2 -0
- package/package.json +12 -2
package/common/scorekeeper.js
CHANGED
@@ -92,11 +92,6 @@ const config = {
|
|
92
92
|
words: {
|
93
93
|
"literals": {
|
94
94
|
"winning": [{"id": "winning", "initial": "{ modifiers: [] }" }],
|
95
|
-
/*
|
96
|
-
" ([0-9]+)": [{"id": "number", "initial": "{ value: int(group[0]) }" }],
|
97
|
-
"one": [{"id": "number", "initial": "{ value: 1 }" }],
|
98
|
-
"ten": [{"id": "number", "initial": "{ value: 10 }" }],
|
99
|
-
*/
|
100
95
|
}
|
101
96
|
},
|
102
97
|
priorities: [
|
@@ -7807,48 +7807,6 @@
|
|
7807
7807
|
0
|
7808
7808
|
]
|
7809
7809
|
],
|
7810
|
-
[
|
7811
|
-
[
|
7812
|
-
"celcius",
|
7813
|
-
0
|
7814
|
-
],
|
7815
|
-
[
|
7816
|
-
"divideByOperator",
|
7817
|
-
0
|
7818
|
-
],
|
7819
|
-
[
|
7820
|
-
"equals",
|
7821
|
-
0
|
7822
|
-
],
|
7823
|
-
[
|
7824
|
-
"fahrenheit",
|
7825
|
-
0
|
7826
|
-
],
|
7827
|
-
[
|
7828
|
-
"integer",
|
7829
|
-
0
|
7830
|
-
],
|
7831
|
-
[
|
7832
|
-
"leftParenthesis",
|
7833
|
-
0
|
7834
|
-
],
|
7835
|
-
[
|
7836
|
-
"minusOperator",
|
7837
|
-
0
|
7838
|
-
],
|
7839
|
-
[
|
7840
|
-
"plusOperator",
|
7841
|
-
0
|
7842
|
-
],
|
7843
|
-
[
|
7844
|
-
"rightParenthesis",
|
7845
|
-
0
|
7846
|
-
],
|
7847
|
-
[
|
7848
|
-
"timesOperator",
|
7849
|
-
0
|
7850
|
-
]
|
7851
|
-
],
|
7852
7810
|
[
|
7853
7811
|
[
|
7854
7812
|
"celcius",
|
@@ -9424,48 +9382,6 @@
|
|
9424
9382
|
0
|
9425
9383
|
]
|
9426
9384
|
],
|
9427
|
-
[
|
9428
|
-
[
|
9429
|
-
"celcius",
|
9430
|
-
0
|
9431
|
-
],
|
9432
|
-
[
|
9433
|
-
"divideByOperator",
|
9434
|
-
0
|
9435
|
-
],
|
9436
|
-
[
|
9437
|
-
"equals",
|
9438
|
-
0
|
9439
|
-
],
|
9440
|
-
[
|
9441
|
-
"fahrenheit",
|
9442
|
-
0
|
9443
|
-
],
|
9444
|
-
[
|
9445
|
-
"integer",
|
9446
|
-
0
|
9447
|
-
],
|
9448
|
-
[
|
9449
|
-
"leftParenthesis",
|
9450
|
-
0
|
9451
|
-
],
|
9452
|
-
[
|
9453
|
-
"minusOperator",
|
9454
|
-
0
|
9455
|
-
],
|
9456
|
-
[
|
9457
|
-
"plusOperator",
|
9458
|
-
0
|
9459
|
-
],
|
9460
|
-
[
|
9461
|
-
"rightParenthesis",
|
9462
|
-
0
|
9463
|
-
],
|
9464
|
-
[
|
9465
|
-
"timesOperator",
|
9466
|
-
0
|
9467
|
-
]
|
9468
|
-
],
|
9469
9385
|
[
|
9470
9386
|
[
|
9471
9387
|
"celcius",
|
package/common/time.js
CHANGED
@@ -116,17 +116,8 @@ const config = {
|
|
116
116
|
|
117
117
|
"words": {
|
118
118
|
"literals": {
|
119
|
-
// " ([0-9]+)": [{id: "count", "initial": "{ value: int(group[0]) }" }],
|
120
|
-
// " (1[0-2]|[1-9])": [{id: "hourUnits", "initial": "{ hour: int(group[0]) }" }],
|
121
119
|
"am": [{id: "ampm", "initial": "{ ampm: 'am', determined: true }" }],
|
122
120
|
"pm": [{id: "ampm", "initial": "{ ampm: 'pm', determined: true }" }],
|
123
|
-
//" (1[0-2]|[1-9]) ?pm": [{id: "count", "initial": "{ hour: int(group[0]), part: 'pm' }" }],
|
124
|
-
//" (1[0-2]|[1-9]) ?am": [{id: "count", "initial": "{ hour: int(group[0]), part: 'am' }" }],
|
125
|
-
/*
|
126
|
-
" hours?": [{id: "timeUnit", "initial": "{ units: 'hour' }" }],
|
127
|
-
" minutes?": [{id: "timeUnit", "initial": "{ units: 'hour' }" }],
|
128
|
-
" seconds?": [{id: "timeUnit", "initial": "{ units: 'seconds' }" }],
|
129
|
-
*/
|
130
121
|
}
|
131
122
|
},
|
132
123
|
|
package/common/tokenize.js
CHANGED
@@ -14,8 +14,24 @@ const config = {
|
|
14
14
|
],
|
15
15
|
words: {
|
16
16
|
patterns: [
|
17
|
-
{
|
18
|
-
|
17
|
+
{
|
18
|
+
pattern: [{ type: 'space' }, { repeat: true, is_space: true }],
|
19
|
+
defs: [ { remove: true } ]
|
20
|
+
},
|
21
|
+
{
|
22
|
+
pattern: [{ type: 'alphanumeric' }, { repeat: true }],
|
23
|
+
|
24
|
+
// left: 'before[0] is not word',
|
25
|
+
// right: 'after[0] is not word',
|
26
|
+
|
27
|
+
scale: 0.8,
|
28
|
+
check_spelling: true,
|
29
|
+
is_unknown: true,
|
30
|
+
allow_partial_matches: false,
|
31
|
+
defs: [
|
32
|
+
{ id: 'unknown', initial: "{ value: text, unknown: true }" }
|
33
|
+
]
|
34
|
+
},
|
19
35
|
],
|
20
36
|
hierarchy: [
|
21
37
|
{ child: ' ', parent: 'space' },
|
package/main.js
CHANGED
@@ -61,6 +61,7 @@ const crew = require('./common/crew')
|
|
61
61
|
const stgame = require('./common/stgame')
|
62
62
|
const kirk = require('./common/kirk')
|
63
63
|
const spock = require('./common/spock')
|
64
|
+
const latin = require('./common/latin')
|
64
65
|
|
65
66
|
module.exports = {
|
66
67
|
Config: tpm.Config,
|
@@ -126,4 +127,5 @@ module.exports = {
|
|
126
127
|
stgame,
|
127
128
|
kirk,
|
128
129
|
spock,
|
130
|
+
latin,
|
129
131
|
}
|
package/package.json
CHANGED
@@ -130,6 +130,13 @@
|
|
130
130
|
"kirk",
|
131
131
|
"spock"
|
132
132
|
]
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"name": "Latin",
|
136
|
+
"description": "sententias latinas machina intelligere",
|
137
|
+
"includes": [
|
138
|
+
"latin"
|
139
|
+
]
|
133
140
|
}
|
134
141
|
],
|
135
142
|
"keywords": [
|
@@ -228,6 +235,9 @@
|
|
228
235
|
"common/kirk.instance.json",
|
229
236
|
"common/kirk.js",
|
230
237
|
"common/kirk.test.json",
|
238
|
+
"common/latin.instance.json",
|
239
|
+
"common/latin.js",
|
240
|
+
"common/latin.test.json",
|
231
241
|
"common/length.instance.json",
|
232
242
|
"common/length.js",
|
233
243
|
"common/length.test.json",
|
@@ -341,8 +351,8 @@
|
|
341
351
|
"scriptjs": "^2.5.9",
|
342
352
|
"table": "^6.7.1",
|
343
353
|
"uuid": "^9.0.0",
|
344
|
-
"theprogrammablemind_4wp": "9.4.
|
354
|
+
"theprogrammablemind_4wp": "9.4.5-beta.0"
|
345
355
|
},
|
346
|
-
"version": "9.4.
|
356
|
+
"version": "9.4.5-beta.0",
|
347
357
|
"license": "UNLICENSED"
|
348
358
|
}
|