-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathenglish.json
executable file
·428 lines (376 loc) · 35.2 KB
/
english.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
{
"ace-arguments": ["-r", "root_gen"],
"sortinfos": {
"e": {
"features": ["sf", "tense", "mood", "perf", "prog"],
"shortform": {
"sf": {"p": "prop", "q": "ques", "o": "prop-or-ques", "c": "comm"},
"tense": {"u": "untensed", "t": "tensed", "p": "pres", "a": "past", "f": "fut"},
"mood": {"i": "indicative", "s": "subjunctive"},
"prog": {"b": "bool"}
}
},
"x": {
"features": ["pers", "num", "gend", "ind", "pt"],
"shortform": {
"pers": {"o": "1-or-3"},
"num": {"s": "sg", "p": "pl"},
"gend": {"o": "m-or-f"},
"pt": {"s": "std", "z": "zero", "r": "refl"}
}
}
},
"attributes": {
"relation": {"key": "relation-attribute", "dmrs": "[attr]:pred e[ppi--] =1=> [type]:node <-- [quant]:default_q"},
"shape": {
"square": {"key": "square", "dmrs": "[attr,type]:_square_n_sw x? <-- [quant]:default_q"},
"rectangle": {"key": "rectangle", "dmrs": "[attr,type]:_rectangle_n_sw x? <-- [quant]:default_q"},
"triangle": {"key": "triangle", "dmrs": "[attr,type]:_triangle_n_sw x? <-- [quant]:default_q"},
"pentagon": {"key": "pentagon", "dmrs": "[attr,type]:_pentagon_n_sw x? <-- [quant]:default_q"},
"cross": {"key": "cross", "dmrs": "[attr,type]:_cross_n_sw x? <-- [quant]:default_q"},
"circle": {"key": "circle", "dmrs": "[attr,type]:_circle_n_sw x? <-- [quant]:default_q"},
"semicircle": {"key": "semicircle", "dmrs": "[attr,type]:_semicircle_n_sw x? <-- [quant]:default_q"},
"ellipse": {"key": "ellipse", "dmrs": "[attr,type]:_ellipse_n_sw x? <-- [quant]:default_q"}
},
"color": {
"red": {"key": "red", "dmrs": "[attr]:_red_a_sw e? =1=> [type]:node <-- [quant]:default_q"},
"green": {"key": "green", "dmrs": "[attr]:_green_a_sw e? =1=> [type]:node <-- [quant]:default_q"},
"blue": {"key": "blue", "dmrs": "[attr]:_blue_a_sw e? =1=> [type]:node <-- [quant]:default_q"},
"yellow": {"key": "yellow", "dmrs": "[attr]:_yellow_a_sw e? =1=> [type]:node <-- [quant]:default_q"},
"magenta": {"key": "magenta", "dmrs": "[attr]:_magenta_a_sw e? =1=> [type]:node <-- [quant]:default_q"},
"cyan": {"key": "cyan", "dmrs": "[attr]:_cyan_a_sw e? =1=> [type]:node <-- [quant]:default_q"},
"gray": {"key": "gray", "dmrs": "[attr]:_gray_a_sw e? =1=> [type]:node <-- [quant]:default_q"}
},
"shapes": {
"square,rectangle,triangle,pentagon,cross,semicircle": {"key": "angular", "dmrs": "[attr]:_angular_a_1 e? =1=> [type]:node <-- [quant]:default_q"},
"circle,semicircle,ellipse": {"key": "round", "dmrs": "[attr]:_round_a_1 e? =1=> [type]:node <-- [quant]:default_q"},
"square,triangle,pentagon,cross,circle": {"key": "symmetric", "dmrs": "[attr]:_symmetric_a_1 e? =1=> [type]:node <-- [quant]:default_q"},
"rectangle,semicircle,ellipse": {"key": "asymmetric", "dmrs": "[attr]:_asymmetric_a_1 e? =1=> [type]:node <-- [quant]:default_q"}
}
},
"type": {"key": "shape", "dmrs": "[type]:_shape_n_sw x?[pers=3] <-- [quant]:default_q"},
"selectors": {
"unique": {"key": "the", "dmrs": "[scope]:pred x?[num=s] <-- [quant]:_the_q"},
"x-two": {
"-1": {"key": "left", "dmrs": "[sel]:_left_a_2 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "right", "dmrs": "[sel]:_right_a_3 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
},
"x-max": {
"-1": {"key": "leftmost", "dmrs": "superl e? =1=> [sel]:_left_a_2 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "rightmost", "dmrs": "superl e? =1=> [sel]:_right_a_3 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
},
"y-two": {
"-1": {"key": "upper", "dmrs": "[sel]:_upper_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "lower", "dmrs": "[sel]:_lower_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
},
"y-max": {
"-1": {"key": "uppermost", "dmrs": "superl e? =1=> [sel]:_upper_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "lowermost", "dmrs": "superl e? =1=> [sel]:_lower_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
},
"proximity-two": {
"-1": {"key": "closer", "dmrs": "more_comp e? =1=> [sel]:_close_a_to e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q; :sel -2-> [comp]:node"},
"1": {"key": "farther", "dmrs": "more_comp e? =1=> [sel]:_far_a_from e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q; :sel -2-> [comp]:node"}
},
"proximity-max": {
"-1": {"key": "closest", "dmrs": "superl e? =1=> [sel]:_close_a_to e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q; :sel -2-> [comp]:node"},
"1": {"key": "farthest", "dmrs": "superl e? =1=> [sel]:_far_a_from e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q; :sel -2-> [comp]:node"}
},
"size-two": {
"-1": {"key": "smaller", "dmrs": "more_comp e? =1=> [sel]:_small_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "bigger", "dmrs": "more_comp e? =1=> [sel]:_big_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
},
"size-max": {
"-1": {"key": "smallest", "dmrs": "superl e? =1=> [sel]:_small_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "biggest", "dmrs": "superl e? =1=> [sel]:_big_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
},
"shade-two": {
"-1": {"key": "darker", "dmrs": "more_comp e? =1=> [sel]:_dark_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "lighter", "dmrs": "more_comp e? =1=> [sel]:_light_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
},
"shade-max": {
"-1": {"key": "darkest", "dmrs": "superl e? =1=> [sel]:_dark_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"},
"1": {"key": "lightest", "dmrs": "superl e? =1=> [sel]:_light_a_1 e? =1=> [scope]:pred x?[num=s] <-- [quant]:_the_q"}
}
},
"relations": {
"attribute": {"key": "attribute-relation", "dmrs": "[rel]:_be_v_id e? -2-> [type]:_shape_n_sw x?[pers=3]"},
"type": {"key": "type-relation", "dmrs": "[rel]:_be_v_id e? -2-> [type]:node"},
"unspecific": {
"1": {"key": "unspecific", "dmrs": "[rel]:_exist_v_1 e? <=1= _besides_p e? -2-> [ref]:node <-- [quant]:_a_q"}
},
"negation": {
"1": {"key": "neg-relation", "dmrs": "neg e? -1h-> [rel,ref]:node"}
},
"x-rel": {
"-1": {"key": "left_of", "dmrs": "[rel]:_to_p e? -2-> _left_n_of x?[num=sg] <-- _the_q; :_left_n_of -1-> [ref]:node <-- [quant]:_a_q"},
"1": {"key": "right_of", "dmrs": "[rel]:_to_p e? -2-> _right_n_of x?[num=sg] <-- _the_q; :_right_n_of -1-> [ref]:node <-- [quant]:_a_q"}
},
"y-rel": {
"-1": {"key": "above", "dmrs": "[rel]:_above_p e? -2-> [ref]:node <-- [quant]:_a_q"},
"1": {"key": "below", "dmrs": "[rel]:_below_p e? -2-> [ref]:node <-- [quant]:_a_q"}
},
"z-rel": {
"-1": {"key": "behind", "dmrs": "[rel]:_behind_p e? -2-> [ref]:node <-- [quant]:_a_q"},
"1": {"key": "front_of", "dmrs": "[rel]:_in+front+of_p e? -2-> [ref]:node <-- [quant]:_a_q"}
},
"proximity-rel": {
"-1": {"key": "closer_than", "dmrs": "[comp]:node <-2- [rel]:_close_a_to e? <=1= more_comp e? -2-> [ref]:node <-- [quant]:_a_q"},
"1": {"key": "farther_than", "dmrs": "[comp]:node <-2- [rel]:_far_a_from e? <=1= more_comp e? -2-> [ref]:node <-- [quant]:_a_q"}
},
"shape-rel": {
"-1": {"key": "different_shape", "dmrs": "[rel]:_be_v_id e? -2-> _shape_n_sw x?[num=sg] <=1= _different_a_than-from e? <=1= comp e? -2-> [ref]:node <-- [quant]:_a_q; :_shape_n_sw <-- default_q"},
"1": {"key": "same_shape", "dmrs": "[rel]:_be_v_id e? -2-> _shape_n_sw x?[num=sg] <=1= _same_a_as e? <=1= comp_equal e? -2-> [ref]:node <-- [quant]:_a_q; :_shape_n_sw <-- _the_q"}
},
"color-rel": {
"-1": {"key": "different_color", "dmrs": "[rel]:_be_v_id e? -2-> _color_n_1 x?[num=sg] <=1= _different_a_than-from e? <=1= comp e? -2-> [ref]:node <-- [quant]:_a_q; :_color_n_1 <-- _a_q"},
"1": {"key": "same_color", "dmrs": "[rel]:_be_v_id e? -2-> _color_n_1 x?[num=sg] <=1= _same_a_as e? <=1= comp_equal e? -2-> [ref]:node <-- [quant]:_a_q; :_color_n_1 <-- _the_q"}
},
"size-rel": {
"-1": {"key": "smaller_than", "dmrs": "[rel]:_small_a_1 e? <=1= more_comp e? -2-> [ref]:node <-- [quant]:_a_q"},
"1": {"key": "bigger_than", "dmrs": "[rel]:_big_a_1 e? <=1= more_comp e? -2-> [ref]:node <-- [quant]:_a_q"}
},
"shade-rel": {
"-1": {"key": "darker_than", "dmrs": "[rel]:_dark_a_1 e? <=1= more_comp e? -2-> [ref]:node <-- [quant]:_a_q"},
"1": {"key": "lighter_than", "dmrs": "[rel]:_light_a_1 e? <=1= more_comp e? -2-> [ref]:node <-- [quant]:_a_q"}
}
},
"existential": {
"type": {"key": "type-existential", "dmrs": "[quant]:_a_q --> [rstr]:pred x?[num=sg] <-1- [body]:node"},
"selector": {"key": "selector-existential", "dmrs": "[rstr]:pred x? <-1- [body]:node"}
},
"quantifiers": {
"count": {
"lt": {
"1": {"key": "less_than_one", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=sg] <=1= card(1) e? <=1= _less+than_x_deg e?; :rstr <-1- [body]:node"},
"2": {"key": "less_than_two", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(2) e? <=1= _less+than_x_deg e?; :rstr <-1- [body]:node"},
"3": {"key": "less_than_three", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(3) e? <=1= _less+than_x_deg e?; :rstr <-1- [body]:node"},
"4": {"key": "less_than_four", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(4) e? <=1= _less+than_x_deg e?; :rstr <-1- [body]:node"},
"5": {"key": "less_than_five", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(5) e? <=1= _less+than_x_deg e?; :rstr <-1- [body]:node"}
},
"leq": {
"1": {"key": "at_most_one", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=sg] <=1= card(1) e? <=1= _at+most_x_deg e?; :rstr <-1- [body]:node"},
"2": {"key": "at_most_two", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(2) e? <=1= _at+most_x_deg e?; :rstr <-1- [body]:node"},
"3": {"key": "at_most_three", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(3) e? <=1= _at+most_x_deg e?; :rstr <-1- [body]:node"},
"4": {"key": "at_most_four", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(4) e? <=1= _at+most_x_deg e?; :rstr <-1- [body]:node"},
"5": {"key": "at_most_five", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(5) e? <=1= _at+most_x_deg e?; :rstr <-1- [body]:node"}
},
"eq": {
"0": {"key": "exactly_zero", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(0) e? <=1= _exactly_x_deg e?; :rstr <-1- [body]:node"},
"1": {"key": "exactly_one", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=sg] <=1= card(1) e? <=1= _exactly_x_deg e?; :rstr <-1- [body]:node"},
"2": {"key": "exactly_two", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(2) e? <=1= _exactly_x_deg e?; :rstr <-1- [body]:node"},
"3": {"key": "exactly_three", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(3) e? <=1= _exactly_x_deg e?; :rstr <-1- [body]:node"},
"4": {"key": "exactly_four", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(4) e? <=1= _exactly_x_deg e?; :rstr <-1- [body]:node"},
"5": {"key": "exactly_five", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(5) e? <=1= _exactly_x_deg e?; :rstr <-1- [body]:node"}
},
"neq": {
"0": {"key": "not_zero", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(0) e? <=1= _not_x_deg e?; :rstr <-1- [body]:node"},
"1": {"key": "not_one", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=sg] <=1= card(1) e? <=1= _not_x_deg e?; :rstr <-1- [body]:node"},
"2": {"key": "not_two", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(2) e? <=1= _not_x_deg e?; :rstr <-1- [body]:node"},
"3": {"key": "not_three", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(3) e? <=1= _not_x_deg e?; :rstr <-1- [body]:node"},
"4": {"key": "not_four", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(4) e? <=1= _not_x_deg e?; :rstr <-1- [body]:node"},
"5": {"key": "not_five", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(5) e? <=1= _not_x_deg e?; :rstr <-1- [body]:node"}
},
"geq": {
"0": {"key": "at_least_zero", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(0) e? <=1= _at+least_x_deg e?; :rstr <-1- [body]:node"},
"1": {"key": "at_least_one", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=sg] <=1= card(1) e? <=1= _at+least_x_deg e?; :rstr <-1- [body]:node"},
"2": {"key": "at_least_two", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(2) e? <=1= _at+least_x_deg e?; :rstr <-1- [body]:node"},
"3": {"key": "at_least_three", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(3) e? <=1= _at+least_x_deg e?; :rstr <-1- [body]:node"},
"4": {"key": "at_least_four", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(4) e? <=1= _at+least_x_deg e?; :rstr <-1- [body]:node"},
"5": {"key": "at_least_five", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(5) e? <=1= _at+least_x_deg e?; :rstr <-1- [body]:node"}
},
"gt": {
"0": {"key": "more_than_zero", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(0) e? <=1= _more+than_x_deg e?; :rstr <-1- [body]:node"},
"1": {"key": "more_than_one", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=sg] <=1= card(1) e? <=1= _more+than_x_deg e?; :rstr <-1- [body]:node"},
"2": {"key": "more_than_two", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(2) e? <=1= _more+than_x_deg e?; :rstr <-1- [body]:node"},
"3": {"key": "more_than_three", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(3) e? <=1= _more+than_x_deg e?; :rstr <-1- [body]:node"},
"4": {"key": "more_than_four", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(4) e? <=1= _more+than_x_deg e?; :rstr <-1- [body]:node"},
"5": {"key": "more_than_five", "dmrs": "[quant]:udef_q --> [rstr]:pred x?[num=pl] <=1= card(5) e? <=1= _more+than_x_deg e?; :rstr <-1- [body]:node"}
}
},
"ratio": {
"lt": {
"0.25": {"key": "less_than_a_quarter", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=sg] <-1- [body]:node; _less+than_x_deg e? ==> _a_q --> :_quarter_n_of"},
"0.33": {"key": "less_than_a_third", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=sg] <-1- [body]:node; _less+than_x_deg e? ==> _a_q --> :_third_n_of"},
"0.5": {"key": "less_than_half", "dmrs": "_less+than_x_deg e? ==> _half_q --> part_of x?[pers=3,num=pl] -1-> [rstr]:pred x?[num=pl] <-- [quant]:_the_q; :part_of <-1- [body]:node"},
"0.67": {"key": "less_than_two_thirds", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_third_n_of <=1= card(2) e? <=1= _less+than_x_deg e?"},
"0.75": {"key": "less_than_three_quarters", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_quarter_n_of <=1= card(3) e? <=1= _less+than_x_deg e?"},
"1.0": {"key": "less_than_all", "dmrs": "_less+than_x_deg e? ==> [quant]:_all_q --> [rstr]:pred x?[num=pl] <-1- [body]:node"}
},
"leq": {
"0.25": {"key": "at_most_a_quarter", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=sg] <-1- [body]:node; _at+most_x_deg e? ==> _a_q --> :_quarter_n_of"},
"0.33": {"key": "at_most_a_third", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=sg] <-1- [body]:node; _at+most_x_deg e? ==> _a_q --> :_third_n_of"},
"0.5": {"key": "at_most_half", "dmrs": "_at+most_x_deg e? ==> _half_q --> part_of x?[pers=3,num=pl] -1-> [rstr]:pred x?[num=pl] <-- [quant]:_the_q; :part_of <-1- [body]:node"},
"0.67": {"key": "at_most_two_thirds", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_third_n_of <=1= card(2) e? <=1= _at+most_x_deg e?"},
"0.75": {"key": "at_most_three_quarters", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_quarter_n_of <=1= card(3) e? <=1= _at+most_x_deg e?"},
"1.0": {"key": "at_most_all", "dmrs": "_at+most_x_deg e? ==> [quant]:_all_q --> [rstr]:pred x?[num=pl] <-1- [body]:node"}
},
"eq": {
"0.0": {"key": "exactly_no", "dmrs": "_exactly_x_deg e? ==> [quant]:_no_q --> [rstr]:pred x?[num=sg] <-1- [body]:node"},
"0.25": {"key": "exactly_a_quarter", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=sg] <-1- [body]:node; _exactly_x_deg e? ==> _a_q --> :_quarter_n_of"},
"0.33": {"key": "exactly_a_third", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=sg] <-1- [body]:node; _exactly_x_deg e? ==> _a_q --> :_third_n_of"},
"0.5": {"key": "exactly_half", "dmrs": "_exactly_x_deg e? ==> _half_q --> part_of x?[pers=3,num=pl] -1-> [rstr]:pred x?[num=pl] <-- [quant]:_the_q; :part_of <-1- [body]:node"},
"0.67": {"key": "exactly_two_thirds", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_third_n_of <=1= card(2) e? <=1= _exactly_x_deg e?"},
"0.75": {"key": "exactly_three_quarters", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_quarter_n_of <=1= card(3) e? <=1= _exactly_x_deg e?"},
"1.0": {"key": "exactly_all", "dmrs": "_exactly_x_deg e? ==> [quant]:_all_q --> [rstr]:pred x?[num=pl] <-1- [body]:node"}
},
"neq": {
"0.0": {"key": "not_no", "dmrs": "_not_x_deg e? ==> [quant]:_no_q --> [rstr]:pred x?[num=sg] <-1- [body]:node"},
"0.25": {"key": "not_a_quarter", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=sg] <-1- [body]:node; _not_x_deg e? ==> _a_q --> :_quarter_n_of"},
"0.33": {"key": "not_a_third", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=sg] <-1- [body]:node; _not_x_deg e? ==> _a_q --> :_third_n_of"},
"0.5": {"key": "not_half", "dmrs": "_not_x_deg e? ==> _half_q --> part_of x?[pers=3,num=pl] -1-> [rstr]:pred x?[num=pl] <-- [quant]:_the_q; :part_of <-1- [body]:node"},
"0.67": {"key": "not_two_thirds", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_third_n_of <=1= card(2) e? <=1= _not_x_deg e?"},
"0.75": {"key": "not_three_quarters", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_quarter_n_of <=1= card(3) e? <=1= _not_x_deg e?"},
"1.0": {"key": "not_all", "dmrs": "_not_x_deg e? ==> [quant]:_all_q --> [rstr]:pred x?[num=pl] <-1- [body]:node"}
},
"geq": {
"0.0": {"key": "at_least_no", "dmrs": "_at+least_x_deg e? ==> [quant]:_no_q --> [rstr]:pred x?[num=sg] <-1- [body]:node"},
"0.25": {"key": "at_least_a_quarter", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=sg] <-1- [body]:node; _at+least_x_deg e? ==> _a_q --> :_quarter_n_of"},
"0.33": {"key": "at_least_a_third", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=sg] <-1- [body]:node; _at+least_x_deg e? ==> _a_q --> :_third_n_of"},
"0.5": {"key": "at_least_half", "dmrs": "_at+least_x_deg e? ==> _half_q --> part_of x?[pers=3,num=pl] -1-> [rstr]:pred x?[num=pl] <-- [quant]:_the_q; :part_of <-1- [body]:node"},
"0.67": {"key": "at_least_two_thirds", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_third_n_of <=1= card(2) e? <=1= _at+least_x_deg e?"},
"0.75": {"key": "at_least_three_quarters", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_quarter_n_of <=1= card(3) e? <=1= _at+least_x_deg e?"}
},
"gt": {
"0.0": {"key": "more_than_no", "dmrs": "_more+than_x_deg e? ==> [quant]:_no_q --> [rstr]:pred x?[num=sg] <-1- [body]:node"},
"0.25": {"key": "more_than_a_quarter", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=sg] <-1- [body]:node; _more+than_x_deg e? ==> _a_q --> :_quarter_n_of"},
"0.33": {"key": "more_than_a_third", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=sg] <-1- [body]:node; _more+than_x_deg e? ==> _a_q --> :_third_n_of"},
"0.5": {"key": "more_than_half", "dmrs": "_more+than_x_deg e? ==> _half_q --> part_of x?[pers=3,num=pl] -1-> [rstr]:pred x?[num=pl] <-- [quant]:_the_q; :part_of <-1- [body]:node"},
"0.67": {"key": "more_than_two_thirds", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _third_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_third_n_of <=1= card(2) e? <=1= _more+than_x_deg e?"},
"0.75": {"key": "more_than_three_quarters", "dmrs": "[quant]:_the_q --> [rstr]:pred x?[num=pl] <-1- _quarter_n_of x?[pers=3,num=pl] <-1- [body]:node; udef_q --> :_quarter_n_of <=1= card(3) e? <=1= _more+than_x_deg e?"}
}
}
},
"number-bounds": {
"2": {"key": "of_the_two", "dmrs": "[quant]:default_q --> [type]:part_of x?[pers=3] -1-> [scope]:pred x?[num=pl] <=1= card(2) e?; [tquant]:_the_q --> :scope"},
"3": {"key": "of_the_three", "dmrs": "[quant]:default_q --> [type]:part_of x?[pers=3] -1-> [scope]:pred x?[num=pl] <=1= card(3) e?; [tquant]:_the_q --> :scope"},
"4": {"key": "of_the_four", "dmrs": "[quant]:default_q --> [type]:part_of x?[pers=3] -1-> [scope]:pred x?[num=pl] <=1= card(4) e?; [tquant]:_the_q --> :scope"},
"5": {"key": "of_the_five", "dmrs": "[quant]:default_q --> [type]:part_of x?[pers=3] -1-> [scope]:pred x?[num=pl] <=1= card(5) e?; [tquant]:_the_q --> :scope"},
"6": {"key": "of_the_six", "dmrs": "[quant]:default_q --> [type]:part_of x?[pers=3] -1-> [scope]:pred x?[num=pl] <=1= card(6) e?; [tquant]:_the_q --> :scope"},
"7": {"key": "of_the_seven", "dmrs": "[quant]:default_q --> [type]:part_of x?[pers=3] -1-> [scope]:pred x?[num=pl] <=1= card(7) e?; [tquant]:_the_q --> :scope"},
"8": {"key": "of_the_eight", "dmrs": "[quant]:default_q --> [type]:part_of x?[pers=3] -1-> [scope]:pred x?[num=pl] <=1= card(8) e?; [tquant]:_the_q --> :scope"}
},
"comparative-quantifiers": {
"count": {
"eq": {
"-5": {"key": "five_less", "dmrs": "card(5) i =1=> more_comp e? =1=> little-few_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"-4": {"key": "four_less", "dmrs": "card(4) i =1=> more_comp e? =1=> little-few_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"-3": {"key": "three_less", "dmrs": "card(3) i =1=> more_comp e? =1=> little-few_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"-2": {"key": "two_less", "dmrs": "card(2) i =1=> more_comp e? =1=> little-few_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"-1": {"key": "one_less", "dmrs": "card(1) i =1=> more_comp e? =1=> one+less_a e? =1=> [rstr]:pred x?[num=sg] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"1": {"key": "one_more", "dmrs": "card(1) i =1=> more_comp e? =1=> one+more_a e? =1=> [rstr]:pred x?[num=sg] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"2": {"key": "two_more", "dmrs": "card(2) i =1=> more_comp e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"3": {"key": "three_more", "dmrs": "card(3) i =1=> more_comp e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"4": {"key": "four_more", "dmrs": "card(4) i =1=> more_comp e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"5": {"key": "five_more", "dmrs": "card(5) i =1=> more_comp e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :more_comp -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"}
}
},
"ratio": {
"lt": {
"0.5": {"key": "less_than_half", "dmrs": "_half_x_deg e? =1=> comp_equal e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-2- more_comp e? =1=> little-few_a e? =1=> generic_entity x?[pers=3,num=pl] <-- udef_q; :rstr <-- [rquant]:udef_q; :comp_equal -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :generic_entity <-1- [body]:node"},
"1.0": {"key": "less_than", "dmrs": "[rquant]:udef_q --> [rstr]:pred x?[num=pl] <=1= little-few_a e? <=1= more_comp e? -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"2.0": {"key": "less_than_twice", "dmrs": "_twice_x_deg e? =1=> comp_equal e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-2- more_comp e? =1=> little-few_a e? =1=> generic_entity x?[pers=3,num=pl] <-- udef_q; :rstr <-- [rquant]:udef_q; :comp_equal -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :generic_entity <-1- [body]:node"}
},
"eq": {
"0.5": {"key": "half_as_many", "dmrs": "_half_x_deg e? =1=> comp_equal e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :comp_equal -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"1.0": {"key": "as_many", "dmrs": "[rquant]:udef_q --> [rstr]:pred x?[num=pl] <=1= much-many_a e? <=1= comp_equal e? -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"2.0": {"key": "twice_as_many", "dmrs": "_twice_x_deg e? =1=> comp_equal e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-- [rquant]:udef_q; :comp_equal -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"}
},
"gt": {
"0.5": {"key": "more_than_half", "dmrs": "_half_x_deg e? =1=> comp_equal e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-2- more_comp e? =1=> much-many_a e? =1=> generic_entity x?[pers=3,num=pl] <-- udef_q; :rstr <-- [rquant]:udef_q; :comp_equal -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :generic_entity <-1- [body]:node"},
"1.0": {"key": "more_than", "dmrs": "[rquant]:udef_q --> [rstr]:pred x?[num=pl] <=1= much-many_a e? <=1= more_comp e? -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :rstr <-1- [body]:node"},
"2.0": {"key": "more_than_twice", "dmrs": "_twice_x_deg e? =1=> comp_equal e? =1=> much-many_a e? =1=> [rstr]:pred x?[num=pl] <-2- more_comp e? =1=> much-many_a e? =1=> generic_entity x?[pers=3,num=pl] <-- udef_q; :rstr <-- [rquant]:udef_q; :comp_equal -2-> [comp]:pred x?[num=pl] <-- [cquant]:udef_q; :generic_entity <-1- [body]:node"}
}
}
},
"propositions": {
"type": {"key": "type-proposition", "dmrs": "**[head]:_be_v_there e[ppi--] -1-> [type]:pred x? <-- [quant]:_a_q"},
"existential": {"key": "existential-proposition", "dmrs": "**[head,body]:pred e[ppi--]"},
"quantifier": {"key": "quantifier-proposition", "dmrs": "**[head,body]:pred e[ppi--]"},
"number-bound": {"key": "number-bound-proposition", "dmrs": "**[head,body]:pred e[ppi--]"},
"comparative-quantifier": {"key": "comparative-quantifier-proposition", "dmrs": "**[head,body]:pred e[ppi--]"},
"conjunction": {"key": "and", "dmrs": "[arg1]:node <=1= *[head]:_and_c e[ppi--] =2=> [arg2]:node"},
"disjunction": {"key": "or", "dmrs": "[arg1]:node <=1= *[head]:_or_c e[ppi--] =2=> [arg2]:node"},
"implication": {"key": "if", "dmrs": "[arg1]:node <-1h- *[head]:_if_x_then e[pui--] -2h-> [arg2]:node"},
"equivalence": {"key": "iff", "dmrs": "[arg1]:node <-1h- *[head]:_if+and+only+if_x_1 e[pui--] -2h-> [arg2]:node"}
},
"hierarchy": {
"_shape_n_sw": ["_square_n_sw", "_rectangle_n_sw", "_triangle_n_sw", "_pentagon_n_sw", "_cross_n_sw", "_circle_n_sw", "_semicircle_n_sw", "_ellipse_n_sw"],
"shape_n_only": ["_shape_n_sw"],
"noun_n": ["generic_entity", "part_of", "_quarter_n_of", "_third_n_of", "_shape_n_sw", "_square_n_sw", "_rectangle_n_sw", "_triangle_n_sw", "_pentagon_n_sw", "_cross_n_sw", "_circle_n_sw", "_semicircle_n_sw", "_ellipse_n_sw"],
"default_q": ["_a_q", "udef_q", "_no_q", "_the_q", "_all_q"],
"default_q_only": ["default_q"],
"fraction_n": ["_quarter_n_of", "_third_n_of"]
},
"post-processing": [
{
"key": "adjective-to-verb-index",
"search": "[subj]:noun_n x? <-1- **_be_v_id e[ppi--] -2-> shape_n_only x?[pers=3] <=1= [attr]:_?_a_sw e?; :shape_n_only <-- default_q",
"replace": "[subj]:noun_n x? <-1- **[attr]:_?_a_sw e[ppi--]",
"reverse": "[subj]:noun_n x? <-1- **_be_v_id e[ppi--] -2-> _shape_n_sw x?[pers=3] <=1= [attr]:_?_a_sw e?; :_shape_n_sw <-- default_q",
"match_top_index": true
},
{
"key": "adjective-to-verb-1eq",
"search": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> shape_n_only x?[pers=3] <=1= [attr]:_?_a_sw e?; :shape_n_only <-- default_q; :_be_v_id <=1= [head]:node",
"replace": "[subj]:noun_n x? <-1- [attr]:_?_a_sw e[ppi--] <=1= [head]:node",
"reverse": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> _shape_n_sw x?[pers=3] <=1= [attr]:_?_a_sw e?; :_shape_n_sw <-- default_q; :_be_v_id <=1= [head]:node"
},
{
"key": "adjective-to-verb-2eq",
"search": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> shape_n_only x?[pers=3] <=1= [attr]:_?_a_sw e?; :shape_n_only <-- default_q; :_be_v_id <=2= [head]:node",
"replace": "[subj]:noun_n x? <-1- [attr]:_?_a_sw e[ppi--] <=2= [head]:node",
"reverse": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> _shape_n_sw x?[pers=3] <=1= [attr]:_?_a_sw e?; :_shape_n_sw <-- default_q; :_be_v_id <=2= [head]:node"
},
{
"key": "adjective-to-verb-1h",
"search": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> shape_n_only x?[pers=3] <=1= [attr]:_?_a_sw e?; :shape_n_only <-- default_q; :_be_v_id <-1h- [head]:node",
"replace": "[subj]:noun_n x? <-1- [attr]:_?_a_sw e[ppi--] <-1h- [head]:node",
"reverse": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> _shape_n_sw x?[pers=3] <=1= [attr]:_?_a_sw e?; :_shape_n_sw <-- default_q; :_be_v_id <-1h- [head]:node"
},
{
"key": "adjective-to-verb-2h",
"search": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> shape_n_only x?[pers=3] <=1= [attr]:_?_a_sw e?; :shape_n_only <-- default_q; :_be_v_id <-2h- [head]:node",
"replace": "[subj]:noun_n x? <-1- [attr]:_?_a_sw e[ppi--] <-2h- [head]:node",
"reverse": "[subj]:noun_n x? <-1- _be_v_id e[ppi--] -2-> _shape_n_sw x?[pers=3] <=1= [attr]:_?_a_sw e?; :_shape_n_sw <-- default_q; :_be_v_id <-2h- [head]:node"
},
{
"key": "default-q-singular",
"search": "[subj]:noun_n x?[num=sg] <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x? <-- [quant]:default_q_only",
"replace": "[subj]:noun_n x?[num=sg] <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x?[num=sg] <-- [quant]:_a_q",
"reverse": "[subj]:noun_n x?[num=sg] <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x? <-- [quant]:default_q"
},
{
"key": "default-q-plural",
"search": "[subj]:noun_n x?[num=pl] <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x? <-- [quant]:default_q_only",
"replace": "[subj]:noun_n x?[num=pl] <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x?[num=pl] <-- [quant]:udef_q",
"reverse": "[subj]:noun_n x?[num=pl] <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x? <-- [quant]:default_q"
},
{
"key": "default-q-fraction",
"search": "[subj]:fraction_n x? <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x? <-- [quant]:default_q_only",
"replace": "[subj]:fraction_n x? <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x?[num=pl] <-- [quant]:udef_q",
"reverse": "[subj]:fraction_n x? <-1- [cop]:_be_v_id e? -2-> [obj]:noun_n x? <-- [quant]:default_q"
},
{
"key": "remove-partof-fraction",
"search": "[part]:fraction_n x? -1-> part_of x?[pers=3,num=pl] -1-> [type]:noun_n x? <=1= [num]:card(?) e?; :part_of <-- _the_q",
"replace": "[part]:fraction_n x? -1-> [type]:noun_n x? <=1= [num]:card(?) e?"
},
{
"key": "remove-partof-half",
"search": "[quant]:_half_q --> [part]:part_of x? -1-> part_of x?[pers=3,num=pl] -1-> [type]:noun_n x? <=1= [num]:card(?) e?; :part_of <-- _the_q",
"replace": "[quant]:_half_q --> [part]:part_of x? -1-> [type]:noun_n x? <=1= [num]:card(?) e?"
},
{
"key": "none-partof",
"search": "[part]:nomatch x?",
"replace": "[part]:part_of x",
"reverse": "[part]:part_of x?[pers=3,num=sg]"
},
{
"key": "deg-part-erg-fix",
"search": "[deg]:_?_x_deg e? =1=> [num]:card(?) e? =1=> [part]:part_of x? <-- [quant]:udef_q",
"replace": "[deg]:_?_x_deg e? ==> [quant]:udef_q --> [part]:part_of x? <=1= [num]:card(?) e?"
}
]
}