15.3.3 The words that name each line

photo-x011|all · photo-x011|all · 8 drafts · 8 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
  • #4's Ingredient cell 'vinegar, 6TBL' holds a second amount that looks like it belongs in the amount, not the name; it is kept as one name word '6tbl'.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsEach line's naming words4vocabtbl, vinegar6tbl, vinegar
differsEach line's naming words4fulltbl, vinegar6tbl, tbl, vinegar

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
12Chili – 1/2 TBL1/2TBLChili——mainitem————1/2——
23Salt – 1/6 Table spoon1/6TablespoonSalt——mainitem————1/6——
34Garlic – 2 cloves2clovesgarlic——mainitem————2——
45Vinegar – 4 TBL Spoons 6TBL4TBLvinegar, 6TBL——mainitem————4——
56Toasted almonds – 1/4 cup1/4cupToasted almonds——mainitem————1/4[{"what": "leading word pair not in the key", "row": "Toasted almonds", "word": "toasted"}]—
67Olive Oil – 2 cup2cupOlive Oil——mainitem————2——
78Mustard – 1/2 cup1/2cupMustard——mainitem————1/2——
89Walnuts – 1/4 cup1/4cupWalnuts——mainitem————1/4——

Script result

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1Chilichilichilichilichili—chilichili, tblnonono
2Saltsaltsaltsaltsalt—saltsalt, tablespoonnonono
3garlicgarlicgarlicgarlicgarlic—garlicclove, garlicnonono
4vinegar, 6TBLvinegarvinegarvinegarvinegar—tbl, vinegartbl, vinegarnonono
5Toasted almondstoasted almondsalmondalmondsalmond, toastedalmond—almond, toastedalmond, cup, toastednonono
6Olive Oilolive oiloiloiloil, oliveoiloliveoil, olivecup, oil, olivenonono
7Mustardmustardmustardmustardmustard—mustardcup, mustardnonono
8Walnutswalnutswalnutwalnutswalnut—walnutcup, walnutnonono

Answer key

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1Chilichilichilichilichili—chilichili, tblnonono
2Saltsaltsaltsaltsalt—saltsalt, tablespoonnonono
3garlicgarlicgarlicgarlicgarlic—garlicclove, garlicnonono
4vinegar, 6TBLvinegarvinegarvinegarvinegar—6tbl, vinegar6tbl, tbl, vinegarnonono
5Toasted almondstoasted almondsalmondalmondsalmond, toastedalmond—almond, toastedalmond, cup, toastednonono
6Olive Oilolive oiloiloiloil, oliveoiloliveoil, olivecup, oil, olivenonono
7Mustardmustardmustardmustardmustard—mustardcup, mustardnonono
8Walnutswalnutswalnutwalnutswalnut—walnutcup, walnutnonono