15.3.3 The words that name each line

Marshmallow Kiss Cookies · url-l282|all · 12 drafts · 21 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.

4 keyed cells differ, and 6 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
  • #1 keeps the possessive as one word ('hershey's'); if 15.3.2 strips the apostrophe its words would read 'hershey' and 'hersheykiss' instead.
  • #2's main word 'sprinkle' is also the verb 'sprinkle', so a step's verb can fit it; it is still the line's main word.
  • #11 lists 'vanilla' as a trigger word because steps call vanilla extract 'the vanilla' (R34.6's own example).
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsEach line's naming words1fallbackhershey'hershey's
differsEach line's naming words1vocabhershey', kisshershey's, kiss
differsEach line's naming words1fullhershey', kisshershey's, kiss
differsEach line's naming words6fallbackbaking—
word-list conventionEach line's naming words4trigmarshmallowlargemarshmallow, marshmallow
word-list conventionEach line's naming words4vocabmarshmallowlarge, marshmallow
word-list conventionEach line's naming words4fullmarshmallowlarge, marshmallow
word-list conventionEach line's naming words10trigeggegg, largeegg
word-list conventionEach line's naming words10vocabeggegg, large
word-list conventionEach line's naming words10fulleggegg, large

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
1724 hershey's kiss24—hershey's kiss——mainitem————24——
28½ cup sprinkles (80 g)½cupsprinkles——mainitem—[[80.0, "g"]]——1/2——
39water——water——mainitem———————
41024 large marshmallows24—large marshmallows——mainitem————24——
5112 cups flour (250 g)2cupsflour——mainitem—[[250.0, "g"]]——2——
612½ teaspoon baking soda½teaspoonbaking soda——mainitem————1/2——
713½ teaspoon salt½teaspoonsalt——mainitem————1/2——
814½ cup butter (115 g), softened½cupbuttersoftened—mainitem—[[115.0, "g"]]——1/2——
9151 cup sugar (200 g)1cupsugar——mainitem—[[200.0, "g"]]——1——
10161 large egg1—large egg——mainitem————1——
11171 teaspoon vanilla extract1teaspoonvanilla extract——mainitem————1——
1218½ cup milk (120 mL)½cupmilk——mainitem—[[120.0, "mL"]]——1/2——

Script result

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1hershey's kisshershey's kisskisskisshershey'skiss, kisshershey'hershey', kisshershey', kissnonono
2sprinklessprinklessprinklesprinklessprinkle—sprinklecup, sprinklenonono
3waterwaterwaterwaterwater—waterwaternonono
4large marshmallowslarge marshmallowsmarshmallowmarshmallowsmarshmallow—marshmallowmarshmallownonono
5flourflourflourflourflour—flourcup, flournonono
6baking sodabaking sodasodasodabakingsoda, sodabakingbaking, sodabaking, soda, teaspoonnonono
7saltsaltsaltsaltsalt—saltsalt, teaspoonnonono
8butterbutterbutterbutterbutter—butterbutter, cup, softenednonono
9sugarsugarsugarsugarsugar—sugarcup, sugarnonono
10large egglarge eggeggeggegg—eggeggnonono
11vanilla extractvanilla extractextractextractextract, vanilla, vanillaextract—extract, vanillaextract, teaspoon, vanillanonono
12milkmilkmilkmilkmilk—milkcup, milknonono

Answer key

Each line's naming words
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_part
1hershey's kisshershey's kisskisskisshershey'skiss, kisshershey'shershey's, kisshershey's, kissnonono
2sprinklessprinklessprinklesprinklessprinkle—sprinklecup, sprinklenonono
3waterwaterwaterwaterwater—waterwaternonono
4large marshmallowslarge marshmallowsmarshmallowmarshmallowslargemarshmallow, marshmallow—large, marshmallowlarge, marshmallownonono
5flourflourflourflourflour—flourcup, flournonono
6baking sodabaking sodasodasodabakingsoda, soda—baking, sodabaking, soda, teaspoonnonono
7saltsaltsaltsaltsalt—saltsalt, teaspoonnonono
8butterbutterbutterbutterbutter—butterbutter, cup, softenednonono
9sugarsugarsugarsugarsugar—sugarcup, sugarnonono
10large egglarge eggeggeggegg, largeegg—egg, largeegg, largenonono
11vanilla extractvanilla extractextractextractextract, vanilla, vanillaextract—extract, vanillaextract, teaspoon, vanillanonono
12milkmilkmilkmilkmilk—milkcup, milknonono