15.3.7 Find the lines each word names (pass 1)

Sparkling Red, White and Blue Sangria · url-l306|all · 8 drafts · 6 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

Goes through the steps in order and each step's words left to right. Every word that fits a line's trigger words is checked; it is skipped inside a section's opening words, after reserve or set aside, when the step leaves it out, after their or its, as a part word alone, as a section's name, or when the word next to it belongs to another line or a made thing.

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
  • Word 1 ("white wine") keeps both wine lines because "white" is in both names; word 6 keeps only line 6 because "sparkling", the closest word once the colour word "white" is left aside, belongs to line 6's name and not line 1's.
  • Word 5 ("and orange") is kept for line 5, the brandy or orange liqueur, since no orange fruit line exists.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsNaming words, pass 19skipped becausealready on (spread ... over it)—
differsNaming words, pass 19lines kept—8

Inputs

Naming words, pass 1every word whose singular is one of a line's trigger words, in step order (the words this sub step judges)
word #steptoken #wordsingularlines its word fits
114a.13winewine1, 6
214a.15strawberriesstrawberry2
314a.17blueberriesblueberry3
414a.19raspberriesraspberry4
514a.111orangeorange5
615.113winewine1, 6
715.115applesapple7
815.120iceice8
916.13iceice8
Steps as IS 15.3 reads them15.3.2's output: each step's text after the cleaning
steptext as read
14a.1Stir together white wine, strawberries, blueberries, raspberries and orange in a large pitcher.
14b.1Cover
14b.2refrigerate for 1 to 4 hours*, so that the flavors can meld.
15.1Once you’re ready to serve the sangria, stir in the sparkling white wine, apples and a handful of ice.
16.1Serve immediately over ice
16.2enjoy!
Each step's tokens15.3.2's output: every token, its kind (w word, n number, p mark), its start and end in the text as read, its word in lower case, and its singular
steptoken #kindstartendwordsingular
14a.10w04stirstir
14a.11w513togethertogether
14a.12w1419whitewhite
14a.13w2024winewine
14a.14p2425,,
14a.15w2638strawberriesstrawberry
14a.16p3839,,
14a.17w4051blueberriesblueberry
14a.18p5152,,
14a.19w5364raspberriesraspberry
14a.110w6568andand
14a.111w6975orangeorange
14a.112w7678inin
14a.113w7980aa
14a.114w8186largelarge
14a.115w8794pitcherpitcher
14a.116p9495..
14b.10w05covercover
14b.20w011refrigeraterefrigerate
14b.21w1215forfor
14b.22n161711
14b.23w1820toto
14b.24n212244
14b.25w2328hourshour
14b.26p2829**
14b.27p2930,,
14b.28w3133soso
14b.29w3438thatthat
14b.210w3942thethe
14b.211w4350flavorsflavor
14b.212w5154cancan
14b.213w5559meldmeld
14b.214p5960..
15.10w04onceonce
15.11w511you’reyou’re
15.12w1217readyready
15.13w1820toto
15.14w2126serveserve
15.15w2730thethe
15.16w3138sangriasangria
15.17p3839,,
15.18w4044stirstir
15.19w4547inin
15.110w4851thethe
15.111w5261sparklingsparkling
15.112w6267whitewhite
15.113w6872winewine
15.114p7273,,
15.115w7480applesapple
15.116w8184andand
15.117w8586aa
15.118w8794handfulhandful
15.119w9597ofof
15.120w98101iceice
15.121p101102..
16.10w05serveserve
16.11w617immediatelyimmediately
16.12w1822overover
16.13w2326iceice
16.20w05enjoyenjoy
16.21p56!!
Each line's starting state15.3.6's output (every other field of the state starts empty)
#ingredienttrigqwholenoneextrapor
1dry white winewhitewine, wine11, bottle———
2fresh strawberriesstrawberry116, pound———
3fresh blueberriesblueberry296, cup———
4fresh raspberriesraspberry148, cup———
5brandy or orange liqueur (such as Grand Marnier or Cointreau)cointreau, liqueur, orange, orangeliqueur1/224, cup———
6sparkling white wine (such as cava or champagne)whitewine, wine11, bottle———
7Granny Smith applesapple, smithapple44, ———
8iceice——yes——
Section marks15.3.4's output: a section's opening words name no line
stepsection headingopening words (name no line)ends at
14a.1———
14b.1———
14b.2———
15.1———
16.1———
16.2———
Main words15.3.4's output: how many lines share each main word
main wordlines
wine2
strawberry1
blueberry1
raspberry1
liqueur1
apple1
ice1
Each line's naming words15.3.3's output
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_partline
1dry white winedry white winewinewinewhitewine, winedrydry, white, winebottle, chilled, dry, white, wine———6
2fresh strawberriesfresh strawberriesstrawberrystrawberriesstrawberry—strawberryand, hulled, pound, sliced, strawberry———7
3fresh blueberriesfresh blueberriesblueberryblueberriesblueberry—blueberryblueberry, cup———8
4fresh raspberriesfresh raspberriesraspberryraspberriesraspberry—raspberrycup, raspberry———9
5brandy or orange liqueur (such as Grand Marnier or Cointreau)orange liqueurliqueurliqueurliqueur, orangeliqueurcointreau, orangeas, brandy, cointreau, grand, liqueur, marnier, orange, suchas, brandy, cointreau, cup, grand, liqueur, marnier, orange, such———10
6sparkling white wine (such as cava or champagne)sparkling white winewinewinewhitewine, winechampagne, sparklingas, cava, champagne, sparkling, such, white, wineas, bottle, cava, champagne, chilled, sparkling, such, white, wine———11
7Granny Smith applesgranny smith applesappleapplesapple, smithapplegranny, smithapple, granny, smithapple, cut, desired, granny, if, into, shape, smith, star———12
8iceiceiceiceice—iceice———13
Each step's sectionmade by build() before IS 15
stepsection heading
14a.1—
14b.1—
14b.2—
15.1—
16.1—
16.2—
Each line's headingmade by build() before IS 15 (by L1K line)
L1K lineheading
6—
7—
8—
9—
10—
11—
12—
13—
List wordsa step word standing for a section's lines (made by build())
stepsection it stands for
No rows.
Section headingsevery heading named above
section heading
No rows.

Script result

Naming words, pass 1
word #stepwordsingularlines its word fitsskipped becauselines kept
114a.1winewine1, 6—1, 6
214a.1strawberriesstrawberry2—2
314a.1blueberriesblueberry3—3
414a.1raspberriesraspberry4—4
514a.1orangeorange5—5
615.1winewine1, 6—6
715.1applesapple7—7
815.1iceice8—8
916.1iceice8already on (spread ... over it)—

Answer key

Naming words, pass 1
word #stepwordsingularlines its word fitsskipped becauselines kept
114a.1winewine1, 6—1, 6
214a.1strawberriesstrawberry2—2
314a.1blueberriesblueberry3—3
414a.1raspberriesraspberry4—4
514a.1orangeorange5—5
615.1winewine1, 6—6
715.1applesapple7—7
815.1iceice8—8
916.1iceice8—8