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 | 5 | trig | juice, limejuice | juice, lime, limejuice |
| differs | Each line's naming words | 5 | fallback | lime | — |
| # | _line | _text | quantity | unit | ingredient | prep | optional | _part | _kind | _heading | _metric | _note | _container | _qv | _words_flags | _addon |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 47 | 15 shrimp | 15 | — | shrimp | — | — | main | phrase | — | — | — | — | 15 | — | — |
| 2 | 47 | 2T oyster sauce | 2 | tablespoons | oyster sauce | — | — | main | phrase | — | — | — | — | 2 | — | — |
| 3 | 47 | 1T soya | 1 | tablespoon | soya | — | — | main | phrase | — | — | — | — | 1 | — | — |
| 4 | 47 | 1T fish sauce | 1 | tablespoon | fish sauce | — | — | main | phrase | — | — | — | — | 1 | — | — |
| 5 | 47 | 2T limjuice | 2 | tablespoons | lime juice | — | — | main | phrase | — | — | — | — | 2 | — | — |
| 6 | 47 | 1 chopd rd chile | 1 | — | red chile | chopped | — | main | phrase | — | — | — | — | 1 | [{"what": "leading word pair not in the key", "row": "red chile", "word": "chopped"}] | — |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | shrimp | shrimp | shrimp | shrimp | shrimp | — | shrimp | shrimp | no | yes | no |
| 2 | oyster sauce | oyster sauce | sauce | sauce | oystersauce, sauce | oyster | oyster, sauce | oyster, sauce, tablespoon | no | yes | no |
| 3 | soya | soya | soya | soya | soya | — | soya | soya, tablespoon | no | yes | no |
| 4 | fish sauce | fish sauce | sauce | sauce | fishsauce, sauce | fish | fish, sauce | fish, sauce, tablespoon | no | yes | no |
| 5 | lime juice | lime juice | juice | juice | juice, limejuice | lime | juice, lime | juice, lime, tablespoon | no | yes | no |
| 6 | red chile | red chile | chile | chile | chile, redchile | — | chile, red | chile, chopped, red | no | yes | no |
| # | ingredient | name_trimmed | head | head_raw | trig | fallback | vocab | full | bare_no | phrase | r120_part |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | shrimp | shrimp | shrimp | shrimp | shrimp | — | shrimp | shrimp | no | yes | no |
| 2 | oyster sauce | oyster sauce | sauce | sauce | oystersauce, sauce | oyster | oyster, sauce | oyster, sauce, tablespoon | no | yes | no |
| 3 | soya | soya | soya | soya | soya | — | soya | soya, tablespoon | no | yes | no |
| 4 | fish sauce | fish sauce | sauce | sauce | fishsauce, sauce | fish | fish, sauce | fish, sauce, tablespoon | no | yes | no |
| 5 | lime juice | lime juice | juice | juice | juice, lime, limejuice | — | juice, lime | juice, lime, tablespoon | no | yes | no |
| 6 | red chile | red chile | chile | chile | chile, redchile | — | chile, red | chile, chopped, red | no | yes | no |