For every draft, works out which words can name it: the name is trimmed (brackets, usage words such as 'for garnish' or 'to taste' cut); its last word, singular, is the main word; a few more trigger words are added; the name's other food words are backups; and the name, prep and unit words are kept for breaking ties.
2 keyed cells differ.
Left: the complete tables this sub step reads (the key was given exactly these). Middle: the script's output. Right: the answer key's output, row for row. Yellow, bold = a keyed cell where they differ; light = they differ only in the reason label (same effect), in a word the script's word lists leave out on purpose, or in a token position after the step's text already differs. Columns never highlighted are context the key does not answer.
| kind | table | row | column | script | answer key |
|---|---|---|---|---|---|
| differs | Each line's naming words | 6 | trig | filet, fishfilet | filet, fish, fishfilet |
| differs | Each line's naming words | 6 | fallback | fish | — |
| # | _line | _text | quantity | unit | ingredient | prep | optional | _part | _kind | _heading | _metric | _note | _container | _qv | _words_flags | _addon |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 17 | 1 onion | 1 | — | onion | — | — | main | phrase | — | — | — | — | 1 | — | — |
| 2 | 17 | 1 garlc | 1 | — | garlic | — | — | main | phrase | — | — | — | — | 1 | — | — |
| 3 | 17 | 4T oil | 4 | tablespoons | oil | — | — | main | phrase | — | — | — | — | 4 | — | — |
| 4 | 17 | .5t chili powdr | ½ | teaspoon | chili powder | — | — | main | phrase | — | — | — | — | 1/2 | — | — |
| 5 | 17 | 1t tumeric | 1 | teaspoon | tumeric | — | — | main | phrase | — | — | — | — | 1 | — | — |
| 6 | 17 | 1# fish filet | 1 | pound | fish filet | — | — | main | phrase | — | — | — | — | 1 | — | — |
| 7 | 17 | 3 chopd grn chile | 3 | — | green chile | chopped | — | main | phrase | — | — | — | — | 3 | [{"what": "leading word pair not in the key", "row": "green chile", "word": "chopped"}] | — |
| 8 | 17 | 1 chopd tom | 1 | — | tomato | chopped | — | main | phrase | — | — | — | — | 1 | — | — |
| 9 | 17 | h2o to cvr | — | — | water | — | — | main | phrase | — | — | — | — | — | — | — |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | onion | onion | onion | onion | onion | — | onion | onion | no | yes | no |
| 2 | garlic | garlic | garlic | garlic | garlic | — | garlic | garlic | no | yes | no |
| 3 | oil | oil | oil | oil | oil | — | oil | oil, tablespoon | no | yes | no |
| 4 | chili powder | chili powder | powder | powder | chilipowder, powder | chili | chili, powder | chili, powder, teaspoon | no | yes | no |
| 5 | tumeric | tumeric | tumeric | tumeric | tumeric | — | tumeric | teaspoon, tumeric | no | yes | no |
| 6 | fish filet | fish filet | filet | filet | filet, fishfilet | fish | filet, fish | filet, fish, pound | no | yes | no |
| 7 | green chile | green chile | chile | chile | chile, greenchile | — | chile, green | chile, chopped, green | no | yes | no |
| 8 | tomato | tomato | tomato | tomato | tomato | — | tomato | chopped, tomato | no | yes | no |
| 9 | water | water | water | water | water | — | water | water | no | yes | no |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | onion | onion | onion | onion | onion | — | onion | onion | no | yes | no |
| 2 | garlic | garlic | garlic | garlic | garlic | — | garlic | garlic | no | yes | no |
| 3 | oil | oil | oil | oil | oil | — | oil | oil, tablespoon | no | yes | no |
| 4 | chili powder | chili powder | powder | powder | chilipowder, powder | chili | chili, powder | chili, powder, teaspoon | no | yes | no |
| 5 | tumeric | tumeric | tumeric | tumeric | tumeric | — | tumeric | teaspoon, tumeric | no | yes | no |
| 6 | fish filet | fish filet | filet | filet | filet, fish, fishfilet | — | filet, fish | filet, fish, pound | no | yes | no |
| 7 | green chile | green chile | chile | chile | chile, greenchile | — | chile, green | chile, chopped, green | no | yes | no |
| 8 | tomato | tomato | tomato | tomato | tomato | — | tomato | chopped, tomato | no | yes | no |
| 9 | water | water | water | water | water | — | water | water | no | yes | no |