15.3.7 Find the lines each word names (pass 1)

Kir Royale Cocktail · url-l265|all · 3 drafts · 4 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 2 "wine" in "a wine flute" is the glass, not the wine line: the next word "flute" is a container word, so it is skipped by reason 9.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsNaming words, pass 12skipped because—blocked: a word of another line's name, or a made thing, next to it
differsNaming words, pass 12lines kept2—

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
110.11chambordchambord1
210.14winewine2
311.15winewine2
Steps as IS 15.3 reads them15.3.2's output: each step's text after the cleaning
steptext as read
10.1Pour chambord into a wine flute.
11.1Top with prosecco or sparkling wine.
12.1Garnish
12.2serve.
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
10.10w04pourpour
10.11w513chambordchambord
10.12w1418intointo
10.13w1920aa
10.14w2125winewine
10.15w2631fluteflute
10.16p3132..
11.10w03toptop
11.11w48withwith
11.12w917proseccoprosecco
11.13w1820oror
11.14w2130sparklingsparkling
11.15w3135winewine
11.16p3536..
12.10w07garnishgarnish
12.20w05serveserve
12.21p56..
Each line's starting state15.3.6's output (every other field of the state starts empty)
#ingredienttrigqwholenoneextrapor
1chambordchambord16, fl oz———
2prosecco or sparkling winesparklingwine, wine530, fl oz———
3lemon twist for garnishlemon, lemontwist, twist——yes——
Section marks15.3.4's output: a section's opening words name no line
stepsection headingopening words (name no line)ends at
10.1———
11.1———
12.1———
12.2———
Main words15.3.4's output: how many lines share each main word
main wordlines
chambord1
wine1
twist1
Each line's naming words15.3.3's output
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_partline
1chambordchambordchambordchambordchambord—chambordchambord, fl, oz———7
2prosecco or sparkling winesparkling winewinewinesparklingwine, winesparklingprosecco, sparkling, winefl, oz, prosecco, sparkling, wine———8
3lemon twist for garnishlemon twisttwisttwistlemontwist, twistlemongarnish, lemon, twistgarnish, lemon, twist———9
Each step's sectionmade by build() before IS 15
stepsection heading
10.1—
11.1—
12.1—
12.2—
Each line's headingmade by build() before IS 15 (by L1K line)
L1K lineheading
7—
8—
9—
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
110.1chambordchambord1—1
210.1winewine2—2
311.1winewine2—2

Answer key

Naming words, pass 1
word #stepwordsingularlines its word fitsskipped becauselines kept
110.1chambordchambord1—1
210.1winewine2blocked: a word of another line's name, or a made thing, next to it—
311.1winewine2—2