15.3.3 The words that name each line

photo-x202|all · photo-x202|all · 17 drafts · 36 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.

8 keyed cells differ, and 7 more differ only in reason, word-list convention or position.

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
  • Line 8's name has two "or"s; the item carrying the noun is taken as "stale sourdough loaf" (as "roma or plum tomatoes" gives "plum tomatoes" and "honey or agave" gives "honey"), so "boule" is only in vocab and full.
  • Line 8's "sourdough" is a trigger because a step can call the bread "the sourdough" alone; unsure.
  • Line 16's "pepper" is put in fallback, not trig, because "pepper" alone in a step means black pepper, not red pepper flakes; "flakes" is taken as a product form, so bare_no is false.
  • Line 17's "maple" is put in fallback rather than trig, since steps seldom call maple syrup "maple" alone; unsure.
  • Bracket notes on lines 8, 10, 12 and 16 give no fallback word, and their numbers (12, the 1 of "1-inch", the ¾- of "¾- to 1-inch") are left out as not words; "each", "about", "before" and "for" are treated as stop words.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsEach line's naming words8trigloaf, sourdoughloafloaf, sourdough, sourdoughloaf
differsEach line's naming words8fallbacksourdough—
differsEach line's naming words8fullboule, chopped, day, day-old, inch, ingredient, into, loaf, note, old, ounce, piece, see, sourdough, stale, to, weight1-inch, boule, chopped, day, day-old, inch, ingredient, loaf, note, old, ounce, piece, see, sourdough, stale, weight
differsEach line's naming words10fallbackvegan—
differsEach line's naming words12fallbackmedium-large—
differsEach line's naming words12vocabbefore, each, leek, medium-large, ounce, trimming, weightleek, medium-large, ounce, trimming, weight
differsEach line's naming words12fullbefore, each, large, leek, medium, medium-large, ounce, trimming, weightlarge, leek, medium, medium-large, ounce, trimming, weight
differsEach line's naming words17fallbackmaple, puremaple
word-list conventionEach line's naming words2vocabonion, yellowmedium, onion, yellow
word-list conventionEach line's naming words2fullonion, quartered, yellowmedium, onion, quartered, yellow
word-list conventionEach line's naming words4vocabrosemary, spriglarge, rosemary, sprig
word-list conventionEach line's naming words4fullrosemary, spriglarge, rosemary, sprig
word-list conventionEach line's naming words11trigchivechive, freshchive
word-list conventionEach line's naming words11vocabchivechive, fresh
word-list conventionEach line's naming words11fullchive, chopped, finely, tablespoonchive, chopped, finely, fresh, tablespoon

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_ounce_or_printed
1102 cups (480 ml) full-fat oat milk2cupsfull-fat oat milk——mainitem—[[480.0, "ml"]]——2————
2111 medium yellow onion, quartered1—medium yellow onionquartered—mainitem————1————
3126 to 8 thyme sprigs8—thyme sprigs——mainitem————8————
4131 large rosemary sprig1—large rosemary sprig——mainitem————1————
5141 bay leaf1—bay leaf——mainitem————1————
615Kosher salt and freshly ground black pepper——kosher salt——mainitem—————————
715Kosher salt and freshly ground black pepper——black pepperfreshly ground—mainitem—————————
81610 ounces (285 g) day-old or stale sourdough loaf or boule, chopped into ¾- to 1-inch (2 to 2.5 cm) pieces (see Ingredient Notes)10weight ouncesday-old or stale sourdough loaf or boule (see Ingredient Notes)chopped into ¾- to 1-inch pieces—mainitem—[[285.0, "g"]]——10——yes—
9171½ tablespoons extra-virgin olive oil1½tablespoonsextra-virgin olive oil——mainitem————3/2————
1018¼ cup (78 g) vegan parmesan (optional but recommended; see Ingredient Notes)¼cupvegan parmesan (see Ingredient Notes)—yesmainitem—[[78.0, "g"]]——1/4————
11192 to 3 tablespoons finely chopped fresh chives (or scallions)3tablespoonsfresh chivesfinely chopped—mainitem————3———fresh chives (or scallions)
12212 medium-large leeks (each about 12 ounces/340 g before trimming)2—medium-large leeks (each about 12 weight ounces before trimming)——mainitemCaramelized Leeks[[340.0, "g"]]——2————
1322¼ cup (56 g) extra-virgin olive oil¼cupextra-virgin olive oil——mainitemCaramelized Leeks[[56.0, "g"]]——1/4————
14234 garlic cloves, minced4clovesgarlicminced—mainitemCaramelized Leeks———4————
1524Kosher salt——kosher salt——mainitemCaramelized Leeks————————
1625¼ to ½ teaspoon red pepper flakes (⅛ teaspoon for a kick)½teaspoonred pepper flakes (⅛ teaspoon for a kick)——mainitemCaramelized Leeks———1/2————
17262 tablespoons pure maple syrup2tablespoonspure maple syrup——mainitemCaramelized Leeks———2————

Script result

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1full-fat oat milkfull-fat oat milkmilkmilkmilk, oatmilkoatfull-fat, milk, oatcup, fat, full, full-fat, milk, oatnonono
2medium yellow onionmedium yellow oniononiononiononion, yellowonion—onion, yellowonion, quartered, yellownonono
3thyme sprigsthyme sprigssprigsprigssprig, thyme, thymesprig—sprig, thymesprig, thymeyesnono
4large rosemary spriglarge rosemary sprigsprigsprigrosemary, rosemarysprig, sprig—rosemary, sprigrosemary, sprigyesnono
5bay leafbay leafleafleafbay, bayleaf, leaf—bay, leafbay, leafyesnono
6kosher saltkosher saltsaltsaltkoshersalt, salt—kosher, saltkosher, saltnonono
7black pepperblack pepperpepperpepperblackpepper, pepper—black, pepperblack, freshly, ground, peppernonono
8day-old or stale sourdough loaf or boule (see Ingredient Notes)stale sourdough loafloafloafloaf, sourdoughloafsourdoughboule, day-old, ingredient, loaf, note, see, sourdough, staleboule, chopped, day, day-old, inch, ingredient, into, loaf, note, old, ounce, piece, see, sourdough, stale, to, weightnonono
9extra-virgin olive oilextra-virgin olive oiloiloiloil, oliveoiloliveextra-virgin, oil, oliveextra, extra-virgin, oil, olive, tablespoon, virginnonono
10vegan parmesan (see Ingredient Notes)vegan parmesanparmesanparmesanparmesan, veganparmesanveganingredient, note, parmesan, see, vegancup, ingredient, note, parmesan, see, vegannonono
11fresh chivesfresh chiveschivechiveschive—chivechive, chopped, finely, tablespoonnonono
12medium-large leeks (each about 12 weight ounces before trimming)medium-large leeksleekleeksleek, medium-largeleekmedium-largebefore, each, leek, medium-large, ounce, trimming, weightbefore, each, large, leek, medium, medium-large, ounce, trimming, weightnonono
13extra-virgin olive oilextra-virgin olive oiloiloiloil, oliveoiloliveextra-virgin, oil, olivecup, extra, extra-virgin, oil, olive, virginnonono
14garlicgarlicgarlicgarlicgarlic—garlicclove, garlic, mincednonono
15kosher saltkosher saltsaltsaltkoshersalt, salt—kosher, saltkosher, saltnonono
16red pepper flakes (⅛ teaspoon for a kick)red pepper flakesflakeflakesflake, pepperflakepepperflake, kick, pepper, red, teaspoonflake, kick, pepper, red, teaspoonnonono
17pure maple syruppure maple syrupsyrupsyrupmaplesyrup, syrupmaple, puremaple, pure, syrupmaple, pure, syrup, tablespoonnonono

Answer key

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1full-fat oat milkfull-fat oat milkmilkmilkmilk, oatmilkoatfull-fat, milk, oatcup, fat, full, full-fat, milk, oatnonono
2medium yellow onionmedium yellow oniononiononiononion, yellowonion—medium, onion, yellowmedium, onion, quartered, yellownonono
3thyme sprigsthyme sprigssprigsprigssprig, thyme, thymesprig—sprig, thymesprig, thymeyesnono
4large rosemary spriglarge rosemary sprigsprigsprigrosemary, rosemarysprig, sprig—large, rosemary, spriglarge, rosemary, sprigyesnono
5bay leafbay leafleafleafbay, bayleaf, leaf—bay, leafbay, leafyesnono
6kosher saltkosher saltsaltsaltkoshersalt, salt—kosher, saltkosher, saltnonono
7black pepperblack pepperpepperpepperblackpepper, pepper—black, pepperblack, freshly, ground, peppernonono
8day-old or stale sourdough loaf or boule (see Ingredient Notes)stale sourdough loafloafloafloaf, sourdough, sourdoughloaf—boule, day-old, ingredient, loaf, note, see, sourdough, stale1-inch, boule, chopped, day, day-old, inch, ingredient, loaf, note, old, ounce, piece, see, sourdough, stale, weightnonono
9extra-virgin olive oilextra-virgin olive oiloiloiloil, oliveoiloliveextra-virgin, oil, oliveextra, extra-virgin, oil, olive, tablespoon, virginnonono
10vegan parmesan (see Ingredient Notes)vegan parmesanparmesanparmesanparmesan, veganparmesan—ingredient, note, parmesan, see, vegancup, ingredient, note, parmesan, see, vegannonono
11fresh chivesfresh chiveschivechiveschive, freshchive—chive, freshchive, chopped, finely, fresh, tablespoonnonono
12medium-large leeks (each about 12 weight ounces before trimming)medium-large leeksleekleeksleek, medium-largeleek—leek, medium-large, ounce, trimming, weightlarge, leek, medium, medium-large, ounce, trimming, weightnonono
13extra-virgin olive oilextra-virgin olive oiloiloiloil, oliveoiloliveextra-virgin, oil, olivecup, extra, extra-virgin, oil, olive, virginnonono
14garlicgarlicgarlicgarlicgarlic—garlicclove, garlic, mincednonono
15kosher saltkosher saltsaltsaltkoshersalt, salt—kosher, saltkosher, saltnonono
16red pepper flakes (⅛ teaspoon for a kick)red pepper flakesflakeflakesflake, pepperflakepepperflake, kick, pepper, red, teaspoonflake, kick, pepper, red, teaspoonnonono
17pure maple syruppure maple syrupsyrupsyrupmaplesyrup, syrupmaplemaple, pure, syrupmaple, pure, syrup, tablespoonnonono