15.3.3 The words that name each line

POISSONS EN SAUCE AUX ARACHIDES (Fish in Groundnut Sauce) · photo-img-9556|16-18 · 6 drafts · 7 steps · IC script 439f18f9 (the Nov 30, 2026, 8:47 AM MST IS run) · traced answer equals the run's: yes · answer key: Opus 5.5

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.

Answer key's notes
  • #1 lists 'fish' as a trigger word, treating 'steak' as a cut word like 'thigh' whose food word comes before it.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsEach line's naming words1trigfishsteak, steakfish, fishsteak, steak
differsEach line's naming words1fallbackfish—

Inputs

Draftsone per printed ingredient line (#1, #2, ... in list order), every field, as IS 15.3 receives them
#_line_textquantityunitingredientprepoptional_part_kind_heading_metric_note_container_qv_words_flags_addon
1181.5# fish stks1.5poundsfish steaks——mainphrase————3/2——
2183t oil3teaspoonsoil——mainphrase————3——
3182c h2O2cupswater——mainphrase————2——
4183 onion3—onion——mainphrase————3——
5184 chopd toms4—tomatoeschopped—mainphrase————4——
618.25c pnut butter¼cuppeanut butter——mainphrase————1/4——

Script result

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1fish steaksfish steakssteaksteaksfishsteak, steakfishfish, steakfish, pound, steaknoyesno
2oiloiloiloiloil—oiloil, teaspoonnoyesno
3waterwaterwaterwaterwater—watercup, waternoyesno
4oniononiononiononiononion—oniononionnoyesno
5tomatoestomatoestomatotomatoestomato—tomatochopped, tomatonoyesno
6peanut butterpeanut butterbutterbutterbutter, peanutbutterpeanutbutter, peanutbutter, cup, peanutnoyesno

Answer key

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1fish steaksfish steakssteaksteaksfish, fishsteak, steak—fish, steakfish, pound, steaknoyesno
2oiloiloiloiloil—oiloil, teaspoonnoyesno
3waterwaterwaterwaterwater—watercup, waternoyesno
4oniononiononiononiononion—oniononionnoyesno
5tomatoestomatoestomatotomatoestomato—tomatochopped, tomatonoyesno
6peanut butterpeanut butterbutterbutterbutter, peanutbutterpeanutbutter, peanutbutter, cup, peanutnoyesno