15.3.7 Find the lines each word names (pass 1)

Cabbage Mixture · url-l076|extraction-cabbage-mixture · 2 drafts · 1 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.

The key agrees with the script on every keyed cell.

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.

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
121.11cabbagecabbage1
221.13mayonnaisemayonnaise2
Steps as IS 15.3 reads them15.3.2's output: each step's text after the cleaning
steptext as read
21.1Mix cabbage and mayonnaise in a medium bowl.
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
21.10w03mixmix
21.11w411cabbagecabbage
21.12w1215andand
21.13w1626mayonnaisemayonnaise
21.14w2729inin
21.15w3031aa
21.16w3238mediummedium
21.17w3943bowlbowl
21.18p4344..
Each line's starting state15.3.6's output (every other field of the state starts empty)
#ingredienttrigqwholenoneextrapor
1cabbagecabbage1 ½72, cup———
2vegan mayonnaisemayonnaise, veganmayonnaise26, tablespoon———
Section marks15.3.4's output: a section's opening words name no line
stepsection headingopening words (name no line)ends at
21.1———
Main words15.3.4's output: how many lines share each main word
main wordlines
cabbage1
mayonnaise1
Each line's naming words15.3.3's output
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_partline
1cabbagecabbagecabbagecabbagecabbage—cabbagecabbage, cup, sliced, thinly, very———14
2vegan mayonnaisevegan mayonnaisemayonnaisemayonnaisemayonnaise, veganmayonnaiseveganmayonnaise, veganmayonnaise, tablespoon, vegan———15
Each step's sectionmade by build() before IS 15
stepsection heading
21.1—
Each line's headingmade by build() before IS 15 (by L1K line)
L1K lineheading
14—
15—
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
121.1cabbagecabbage1—1
221.1mayonnaisemayonnaise2—2

Answer key

Naming words, pass 1
word #stepwordsingularlines its word fitsskipped becauselines kept
121.1cabbagecabbage1—1
221.1mayonnaisemayonnaise2—2