Debian Codegraph @

mathmaps/en/rules/mathspeak_english_actions.json

raw
1 {
2 "domain": "mathspeak",
3 "locale": "en",
4 "modality": "speech",
5 "kind": "actions",
6 "rules": [
7 [
8 "Action",
9 "collapsed",
10 "[t] \"collapsed\"; [n] . (engine:modality=summary, grammar:?collapsed)"
11 ],
12 [
13 "Action",
14 "blank-cell-empty",
15 "[t] \"Blank\""
16 ],
17 [
18 "Action",
19 "blank-line-empty",
20 "[t] \"Blank\""
21 ],
22 [
23 "Action",
24 "font",
25 "[t] @font (grammar:localFont); [n] . (grammar:ignoreFont=@font)"
26 ],
27 [
28 "Action",
29 "german-font",
30 "[t] \"German\"; [n] . (grammar:ignoreFont=@font)"
31 ],
32 [
33 "Action",
34 "german-font-bold",
35 "[t] \"bold German\"; [n] . (grammar:ignoreFont=@font)"
36 ],
37 [
38 "Action",
39 "mixed-number",
40 "[n] children/*[1]; [t] \"and\"; [n] children/*[2]"
41 ],
42 [
43 "Action",
44 "number-with-chars",
45 "[t] \"Number\"; [m] CQFspaceoutNumber (grammar:protected)"
46 ],
47 [
48 "Action",
49 "number-with-chars-brief",
50 "[t] \"Num\"; [m] CQFspaceoutNumber (grammar:protected)"
51 ],
52 [
53 "Action",
54 "number-as-upper-word",
55 "[t] \"UpperWord\"; [t] CSFspaceoutText"
56 ],
57 [
58 "Action",
59 "number-baseline",
60 "[t] \"Baseline\"; [n] . (grammar:baseline)"
61 ],
62 [
63 "Action",
64 "number-baseline-brief",
65 "[t] \"Base\"; [n] . (grammar:baseline)"
66 ],
67 [
68 "Action",
69 "number-baseline-font",
70 "[t] \"Baseline\"; [t] @font; [n] . (grammar:ignoreFont=@font)"
71 ],
72 [
73 "Action",
74 "number-baseline-font-brief",
75 "[t] \"Base\"; [t] @font; [n] . (grammar:ignoreFont=@font)"
76 ],
77 [
78 "Action",
79 "negative-number",
80 "[t] \"negative\"; [n] children/*[1]"
81 ],
82 [
83 "Action",
84 "negative",
85 "[t] \"minus\"; [n] children/*[1]"
86 ],
87 [
88 "Action",
89 "division",
90 "[n] children/*[1]; [t] \"divided by\"; [n] children/*[2]"
91 ],
92 [
93 "Action",
94 "subtraction",
95 "[m] children/* (separator:\"minus\")"
96 ],
97 [
98 "Action",
99 "fences-neutral",
100 "[t] \"StartAbsoluteValue\"; [n] children/*[1]; [t] \"EndAbsoluteValue\""
101 ],
102 [
103 "Action",
104 "fences-neutral-sbrief",
105 "[t] \"AbsoluteValue\"; [n] children/*[1]; [t] \"EndAbsoluteValue\""
106 ],
107 [
108 "Action",
109 "fences-metric",
110 "[t] \"StartMetric\"; [n] children/*[1]; [t] \"EndMetric\""
111 ],
112 [
113 "Action",
114 "fences-metric-sbrief",
115 "[t] \"Metric\"; [n] children/*[1]; [t] \"EndMetric\""
116 ],
117 [
118 "Action",
119 "empty-set",
120 "[t] \"empty set\""
121 ],
122 [
123 "Action",
124 "fences-set",
125 "[t] \"StartSet\"; [n] children/*[1]; [t] \"EndSet\""
126 ],
127 [
128 "Action",
129 "fences-set-sbrief",
130 "[t] \"Set\"; [n] children/*[1]; [t] \"EndSet\""
131 ],
132 [
133 "Action",
134 "factorial",
135 "[t] \"factorial\""
136 ],
137 [
138 "Action",
139 "minus",
140 "[t] \"minus\""
141 ],
142 [
143 "Action",
144 "continued-fraction-outer",
145 "[t] \"ContinuedFraction\"; [n] children/*[1]; [t] \"Over\"; [n] children/*[2]"
146 ],
147 [
148 "Action",
149 "continued-fraction-outer-brief",
150 "[t] \"ContinuedFrac\"; [n] children/*[1]; [t] \"Over\"; [n] children/*[2]"
151 ],
152 [
153 "Action",
154 "continued-fraction-inner",
155 "[t] \"StartFraction\"; [n] children/*[1]; [t] \"Over\"; [n] children/*[2]"
156 ],
157 [
158 "Action",
159 "continued-fraction-inner-brief",
160 "[t] \"StartFrac\"; [n] children/*[1]; [t] \"Over\"; [n] children/*[2]"
161 ],
162 [
163 "Action",
164 "continued-fraction-inner-sbrief",
165 "[t] \"Frac\"; [n] children/*[1]; [t] \"Over\"; [n] children/*[2]"
166 ],
167 [
168 "Action",
169 "integral",
170 "[n] children/*[1]; [t] \"Subscript\"; [n] children/*[2]; [t] \"Superscript\"; [n] children/*[3]; [t] \"Baseline\""
171 ],
172 [
173 "Action",
174 "integral-brief",
175 "[n] children/*[1]; [t] \"Sub\"; [n] children/*[2]; [t] \"Sup\"; [n] children/*[3]; [t] \"Base\""
176 ],
177 [
178 "Action",
179 "square",
180 "[n] children/*[1]; [t] \"squared\" (span:children/*[2])"
181 ],
182 [
183 "Action",
184 "cube",
185 "[n] children/*[1]; [t] \"cubed\" (span:children/*[2])"
186 ],
187 [
188 "Action",
189 "prime",
190 "[n] children/*[1]; [n] children/*[2]"
191 ],
192 [
193 "Action",
194 "counted-prime",
195 "[t] count(children/*) (grammar:numbers2alpha); [t] \"prime\""
196 ],
197 [
198 "Action",
199 "counted-prime-multichar",
200 "[t] string-length(text()) (grammar:numbers2alpha); [t] \"prime\""
201 ],
202 [
203 "Action",
204 "overscore",
205 "[t] \"ModifyingAbove\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
206 ],
207 [
208 "Action",
209 "overscore-brief",
210 "[t] \"ModAbove\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
211 ],
212 [
213 "Action",
214 "double-overscore",
215 "[t] \"ModifyingAbove Above\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
216 ],
217 [
218 "Action",
219 "double-overscore-brief",
220 "[t] \"ModAbove Above\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
221 ],
222 [
223 "Action",
224 "underscore",
225 "[t] \"ModifyingBelow\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
226 ],
227 [
228 "Action",
229 "underscore-brief",
230 "[t] \"ModBelow\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
231 ],
232 [
233 "Action",
234 "double-underscore",
235 "[t] \"ModifyingBelow Below\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
236 ],
237 [
238 "Action",
239 "double-underscore-brief",
240 "[t] \"ModBelow Below\"; [n] children/*[1]; [t] \"With\"; [n] children/*[2]"
241 ],
242 [
243 "Action",
244 "overbar",
245 "[n] children/*[1]; [t] \"overbar\""
246 ],
247 [
248 "Action",
249 "underbar",
250 "[n] children/*[1]; [t] \"underbar\""
251 ],
252 [
253 "Action",
254 "overtilde",
255 "[n] children/*[1]; [t] \"overtilde\""
256 ],
257 [
258 "Action",
259 "undertilde",
260 "[n] children/*[1]; [t] \"undertilde\""
261 ],
262 [
263 "Action",
264 "matrix",
265 "[t] \"Start\"; [t] count(children/*); [t] \"By\"; [t] count(children/*[1]/children/*); [t] \"Matrix\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndMatrix\""
266 ],
267 [
268 "Action",
269 "matrix-sbrief",
270 "[t] count(children/*); [t] \"By\"; [t] count(children/*[1]/children/*); [t] \"Matrix\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndMatrix\""
271 ],
272 [
273 "Action",
274 "matrix-row",
275 "[m] children/* (ctxtFunc:CTFordinalCounter, context:\"Column\", pause:200)"
276 ],
277 [
278 "Action",
279 "row-with-label",
280 "[t] \"with Label\"; [n] content/*[1]; [t] \"EndLabel\" (pause:200); [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Column\")"
281 ],
282 [
283 "Action",
284 "row-with-label-brief",
285 "[t] \"Label\"; [n] content/*[1]; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Column\")"
286 ],
287 [
288 "Action",
289 "row-with-text-label",
290 "[t] \"Label\"; [t] CSFRemoveParens; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Column\")"
291 ],
292 [
293 "Action",
294 "empty-row",
295 "[t] \"Blank\""
296 ],
297 [
298 "Action",
299 "empty-cell",
300 "[t] \"Blank\" (pause:300)"
301 ],
302 [
303 "Action",
304 "determinant",
305 "[t] \"Start\"; [t] count(children/*); [t] \"By\"; [t] count(children/*[1]/children/*); [t] \"Determinant\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndDeterminant\""
306 ],
307 [
308 "Action",
309 "determinant-sbrief",
310 "[t] count(children/*); [t] \"By\"; [t] count(children/*[1]/children/*); [t] \"Determinant\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndDeterminant\""
311 ],
312 [
313 "Action",
314 "determinant-simple",
315 "[t] \"Start\"; [t] count(children/*); [t] \"By\"; [t] count(children/*[1]/children/*); [t] \"Determinant\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row\", grammar:simpleDet); [t] \"EndDeterminant\""
316 ],
317 [
318 "Action",
319 "determinant-simple-sbrief",
320 "[t] count(children/*); [t] \"By\"; [t] count(children/*[1]/children/*); [t] \"Determinant\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row\", grammar:simpleDet); [t] \"EndDeterminant\""
321 ],
322 [
323 "Action",
324 "layout",
325 "[t] \"StartLayout\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndLayout\""
326 ],
327 [
328 "Action",
329 "layout-sbrief",
330 "[t] \"Layout\"; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndLayout\""
331 ],
332 [
333 "Action",
334 "binomial",
335 "[t] \"StartBinomialOrMatrix\"; [n] children/*[1]/children/*[1]; [t] \"Choose\"; [n] children/*[2]/children/*[1]; [t] \"EndBinomialOrMatrix\""
336 ],
337 [
338 "Action",
339 "binomial-sbrief",
340 "[t] \"BinomialOrMatrix\"; [n] children/*[1]/children/*[1]; [t] \"Choose\"; [n] children/*[2]/children/*[1]; [t] \"EndBinomialOrMatrix\""
341 ],
342 [
343 "Action",
344 "cases",
345 "[t] \"StartLayout\"; [t] \"Enlarged\"; [n] content/*[1]; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndLayout\""
346 ],
347 [
348 "Action",
349 "cases-sbrief",
350 "[t] \"Layout\"; [t] \"Enlarged\"; [n] content/*[1]; [m] children/* (ctxtFunc:CTFordinalCounter, context:\"Row \"); [t] \"EndLayout\""
351 ],
352 [
353 "Action",
354 "line-with-label",
355 "[t] \"with Label\"; [n] content/*[1]; [t] \"EndLabel\" (pause:200); [m] children/*"
356 ],
357 [
358 "Action",
359 "line-with-label-brief",
360 "[t] \"Label\"; [n] content/*[1] (pause:200); [m] children/*"
361 ],
362 [
363 "Action",
364 "line-with-text-label",
365 "[t] \"Label\"; [t] CSFRemoveParens; [m] children/*"
366 ],
367 [
368 "Action",
369 "empty-line",
370 "[t] \"Blank\""
371 ],
372 [
373 "Action",
374 "empty-line-with-label",
375 "[t] \"with Label\"; [n] content/*[1]; [t] \"EndLabel\" (pause:200); [t] \"Blank\""
376 ],
377 [
378 "Action",
379 "empty-line-with-label-brief",
380 "[t] \"Label\"; [n] content/*[1] (pause:200); [t] \"Blank\""
381 ],
382 [
383 "Action",
384 "enclose",
385 "[t] \"StartEnclose\"; [t] @role (grammar:localEnclose); [n] children/*[1]; [t] \"EndEnclose\""
386 ],
387 [
388 "Action",
389 "leftbar",
390 "[t] \"vertical bar\"; [n] children/*[1]"
391 ],
392 [
393 "Action",
394 "rightbar",
395 "[n] children/*[1]; [t] \"vertical bar\""
396 ],
397 [
398 "Action",
399 "crossout",
400 "[t] \"CrossOut\"; [n] children/*[1]; [t] \"EndCrossOut\""
401 ],
402 [
403 "Action",
404 "cancel",
405 "[t] \"CrossOut\"; [n] children/*[1]/children/*[1]; [t] \"With\"; [n] children/*[2]; [t] \"EndCrossOut\""
406 ],
407 [
408 "Action",
409 "cancel-reverse",
410 "[t] \"CrossOut\"; [n] children/*[2]/children/*[1]; [t] \"With\"; [n] children/*[1]; [t] \"EndCrossOut\""
411 ],
412 [
413 "Action",
414 "multi-inference",
415 "[t] \"inference rule\"; [m] content/*; [t] \"with conclusion\"; [n] children/*[1]; [t] \"and\"; [t] count(children/*[2]/children/*); [t] \"premises\""
416 ],
417 [
418 "Action",
419 "inference",
420 "[t] \"inference rule\"; [m] content/*; [t] \"with conclusion\"; [n] children/*[1]; [t] \"and\"; [t] count(children/*[2]/children/*); [t] \"premise\""
421 ],
422 [
423 "Action",
424 "premise",
425 "[m] children/* (ctxtFunc:CTFordinalCounter, context:\"premise \")"
426 ],
427 [
428 "Action",
429 "conclusion",
430 "[n] children/*[1]"
431 ],
432 [
433 "Action",
434 "label",
435 "[t] \"label\"; [n] children/*[1]"
436 ],
437 [
438 "Action",
439 "axiom",
440 "[t] \"axiom\"; [m] children/*[1]"
441 ],
442 [
443 "Action",
444 "empty-axiom",
445 "[t] \"empty axiom\""
446 ]
447 ]
448 }