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.
The key agrees with the script on every keyed cell.
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.
| # | _line | _text | quantity | unit | ingredient | prep | optional | _part | _kind | _heading | _metric | _note | _container | _qv | _words_flags | _addon |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 7 | 1# pork | 1 | pound | pork | — | — | main | phrase | — | — | — | — | 1 | — | — |
| 2 | 7 | .25c tom yum paste | ¼ | cup | tom yum paste | — | — | main | phrase | — | — | — | — | 1/4 | — | — |
| 3 | 7 | 1 chopd shallot | 1 | — | shallot | chopped | — | main | phrase | — | — | — | — | 1 | [{"what": "leading word pair not in the key", "row": "shallot", "word": "chopped"}] | — |
| 4 | 7 | 2T oil | 2 | tablespoons | oil | — | — | main | phrase | — | — | — | — | 2 | — | — |
| 5 | 7 | 2T chopped cilantro | 2 | tablespoons | cilantro | chopped | — | main | phrase | — | — | — | — | 2 | — | — |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | pork | pork | pork | pork | pork | — | pork | pork, pound | no | yes | no |
| 2 | tom yum paste | tom yum paste | paste | paste | paste, yumpaste | tom, yum | paste, tom, yum | cup, paste, tom, yum | no | yes | no |
| 3 | shallot | shallot | shallot | shallot | shallot | — | shallot | chopped, shallot | no | yes | no |
| 4 | oil | oil | oil | oil | oil | — | oil | oil, tablespoon | no | yes | no |
| 5 | cilantro | cilantro | cilantro | cilantro | cilantro | — | cilantro | chopped, cilantro, tablespoon | no | yes | no |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | pork | pork | pork | pork | pork | — | pork | pork, pound | no | yes | no |
| 2 | tom yum paste | tom yum paste | paste | paste | paste, yumpaste | tom, yum | paste, tom, yum | cup, paste, tom, yum | no | yes | no |
| 3 | shallot | shallot | shallot | shallot | shallot | — | shallot | chopped, shallot | no | yes | no |
| 4 | oil | oil | oil | oil | oil | — | oil | oil, tablespoon | no | yes | no |
| 5 | cilantro | cilantro | cilantro | cilantro | cilantro | — | cilantro | chopped, cilantro, tablespoon | no | yes | no |