File size: 1,041 Bytes
cf3c4b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
## Grammar for Templatic Generation Tasks dataset - Jan-08-2025
Special symbol meanings:
"::=" means "defined as"
"<xx>" means that xx is a non-terminal
"|" is used to separate production choices for a non-terminal
[ <abc> ] means that <abc> is optional
a literal tag is shown as an uppercase word: Q, A, etc.
<tgt> ::= <example> <cue>
<example> ::= Q <question> A <answer>
<cue> ::= Q <question> A
<question> ::= <con_delim seq>
<answer> ::= <con_delim seq>
<con_delim seq> ::= <constituent list> [ <delimiter> ]
<constituent list> ::= <constituent> [ <delimiter> <constituent list> ]
<delimiter> ::= <symbol> [ <delimiter> ]
<constituent> ::= <symbol> [ <constituent> ]
Additional constraints:
- no symbol can be repeated within the <question>, within the <answer>, or within the <cue>.
- symbols in the <constitents> of the <cue> cannot overlap with any symbols in the <constituents> of the <question>. |