15.3.7 Find the lines each word names (pass 1)

photo-x077|all · photo-x077|all · 12 drafts · 16 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
115.13garlicgarlic1
215.16gingerginger2
315.22tomatoestomato5
415.25mushroomsmushroom3
5g1.23seedsseed4
6g1.42garlicgarlic1
7g1.45gingerginger2
8g1.49paprikapaprika7
9g2.12mushroomsmushroom3
10g2.15potatoespotato8
11g2.112waterwater9
12g2.36potatoespotato8
13g3.12tomatotomato5
14g3.13saucesauce6
15g3.17tomatoestomato5
16g4.13peaspea11
17g4.17pepperpepper10
18g4.22saltsalt12
19g4.37potatoespotato8
Steps as IS 15.3 reads them15.3.2's output: each step's text after the cleaning
steptext as read
15.1Finely chop the garlic and the ginger
15.2cut the tomatoes and the mushrooms into big chunks.
g1.1Heat a pan over medium heat
g1.2add the mustard seeds
g1.3let them pop for 30 seconds
g1.4add the garlic, the ginger and the sweet paprika
g1.5stir for 1 minute.
g2.1Add the mushrooms, the potatoes cut into small cubes and the water
g2.2cover
g2.3simmer for 10 minutes until the potatoes start to soften.
g3.1Add the tomato sauce and the cherry tomatoes
g3.2simmer uncovered for 5 minutes.
g4.1Add the frozen peas and the black pepper
g4.2season with salt to taste
g4.3cook for 3 more minutes until the potatoes are tender.
g5.1Serve hot.
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
15.10w06finelyfinely
15.11w711chopchop
15.12w1215thethe
15.13w1622garlicgarlic
15.14w2326andand
15.15w2730thethe
15.16w3137gingerginger
15.20w03cutcut
15.21w47thethe
15.22w816tomatoestomato
15.23w1720andand
15.24w2124thethe
15.25w2534mushroomsmushroom
15.26w3539intointo
15.27w4043bigbig
15.28w4450chunkschunk
15.29p5051..
g1.10w04heatheat
g1.11w56aa
g1.12w710panpan
g1.13w1115overover
g1.14w1622mediummedium
g1.15w2327heatheat
g1.20w03addadd
g1.21w47thethe
g1.22w815mustardmustard
g1.23w1621seedsseed
g1.30w03letlet
g1.31w48themthem
g1.32w912poppop
g1.33w1316forfor
g1.34n17193030
g1.35w2027secondssecond
g1.40w03addadd
g1.41w47thethe
g1.42w814garlicgarlic
g1.43p1415,,
g1.44w1619thethe
g1.45w2026gingerginger
g1.46w2730andand
g1.47w3134thethe
g1.48w3540sweetsweet
g1.49w4148paprikapaprika
g1.50w04stirstir
g1.51w58forfor
g1.52n91011
g1.53w1117minuteminute
g1.54p1718..
g2.10w03addadd
g2.11w47thethe
g2.12w817mushroomsmushroom
g2.13p1718,,
g2.14w1922thethe
g2.15w2331potatoespotato
g2.16w3235cutcut
g2.17w3640intointo
g2.18w4146smallsmall
g2.19w4752cubescube
g2.110w5356andand
g2.111w5760thethe
g2.112w6166waterwater
g2.20w05covercover
g2.30w06simmersimmer
g2.31w710forfor
g2.32n11131010
g2.33w1421minutesminute
g2.34w2227untiluntil
g2.35w2831thethe
g2.36w3240potatoespotato
g2.37w4146startstart
g2.38w4749toto
g2.39w5056softensoften
g2.310p5657..
g3.10w03addadd
g3.11w47thethe
g3.12w814tomatotomato
g3.13w1520saucesauce
g3.14w2124andand
g3.15w2528thethe
g3.16w2935cherrycherry
g3.17w3644tomatoestomato
g3.20w06simmersimmer
g3.21w716uncovereduncovered
g3.22w1720forfor
g3.23n212255
g3.24w2330minutesminute
g3.25p3031..
g4.10w03addadd
g4.11w47thethe
g4.12w814frozenfrozen
g4.13w1519peaspea
g4.14w2023andand
g4.15w2427thethe
g4.16w2833blackblack
g4.17w3440pepperpepper
g4.20w06seasonseason
g4.21w711withwith
g4.22w1216saltsalt
g4.23w1719toto
g4.24w2025tastetaste
g4.30w04cookcook
g4.31w58forfor
g4.32n91033
g4.33w1115moremore
g4.34w1623minutesminute
g4.35w2429untiluntil
g4.36w3033thethe
g4.37w3442potatoespotato
g4.38w4346areare
g4.39w4753tendertender
g4.310p5354..
g5.10w05serveserve
g5.11w69hothot
g5.12p910..
Each line's starting state15.3.6's output (every other field of the state starts empty)
#ingredienttrigqwholenoneextrapor
1garlicgarlic22, clove———
2gingerginger11, slice———
3mushroomsmushroom77, weight ounce———
4mustard seedsmustardseed, seed½1/2, teaspoon———
5cherry tomatoescherrytomato, tomato88, ———
6tomato sauce (5 weight ounces)sauce, tomatosauce¾36, cup———
7sweet paprikapaprika, sweetpaprika13, tablespoon———
8potatoespotato10.521/2, weight ounce———
9waterwater148, cup———
10black pepperblackpepper, pepper11, pinch———
11frozen peasfrozenpea, pea½24, cup———
12salt (to taste)salt——yes——
Section marks15.3.4's output: a section's opening words name no line
stepsection headingopening words (name no line)ends at
15.1———
15.2———
g1.1———
g1.2———
g1.3———
g1.4———
g1.5———
g2.1———
g2.2———
g2.3———
g3.1———
g3.2———
g4.1———
g4.2———
g4.3———
g5.1———
Main words15.3.4's output: how many lines share each main word
main wordlines
garlic1
ginger1
mushroom1
seed1
tomato1
sauce1
paprika1
potato1
water1
pepper1
pea1
salt1
Each line's naming words15.3.3's output
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_partline
1garlicgarlicgarlicgarlicgarlic—garlicclove, garlic———2
2gingergingergingergingerginger—gingerginger, slice———3
3mushroomsmushroomsmushroommushroomsmushroom—mushroommushroom, ounce, weight———4
4mustard seedsmustard seedsseedseedsmustardseed, seedmustardmustard, seedmustard, seed, tsp———5
5cherry tomatoescherry tomatoestomatotomatoescherrytomato, tomatocherrycherry, tomatocherry, tomato———6
6tomato sauce (5 weight ounces)tomato saucesaucesaucesauce, tomatosaucetomatoounce, sauce, tomato, weightcup, ounce, sauce, tomato, weight———7
7sweet paprikasweet paprikapaprikapaprikapaprika, sweetpaprika—paprika, sweetpaprika, sweet, tbsp———8
8potatoespotatoespotatopotatoespotato—potatoounce, potato, weight———9
9waterwaterwaterwaterwater—watercup, water———10
10black pepperblack pepperpepperpepperblackpepper, pepper—black, pepperblack, pepper, pinch———11
11frozen peasfrozen peaspeapeasfrozenpea, pea—frozen, peacup, frozen, pea———12
12salt (to taste)saltsaltsaltsalttastesalt, tastesalt, taste———13
Each step's sectionmade by build() before IS 15
stepsection heading
15.1—
15.2—
g1.1—
g1.2—
g1.3—
g1.4—
g1.5—
g2.1—
g2.2—
g2.3—
g3.1—
g3.2—
g4.1—
g4.2—
g4.3—
g5.1—
Each line's headingmade by build() before IS 15 (by L1K line)
L1K lineheading
2—
3—
4—
5—
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
115.1garlicgarlic1—1
215.1gingerginger2—2
315.2tomatoestomato5—5
415.2mushroomsmushroom3—3
5g1.2seedsseed4—4
6g1.4garlicgarlic1—1
7g1.4gingerginger2—2
8g1.4paprikapaprika7—7
9g2.1mushroomsmushroom3—3
10g2.1potatoespotato8—8
11g2.1waterwater9—9
12g2.3potatoespotato8—8
13g3.1tomatotomato5blocked: a word of another line's name, or a made thing, next to it—
14g3.1saucesauce6—6
15g3.1tomatoestomato5—5
16g4.1peaspea11—11
17g4.1pepperpepper10—10
18g4.2saltsalt12—12
19g4.3potatoespotato8—8

Answer key

Naming words, pass 1
word #stepwordsingularlines its word fitsskipped becauselines kept
115.1garlicgarlic1—1
215.1gingerginger2—2
315.2tomatoestomato5—5
415.2mushroomsmushroom3—3
5g1.2seedsseed4—4
6g1.4garlicgarlic1—1
7g1.4gingerginger2—2
8g1.4paprikapaprika7—7
9g2.1mushroomsmushroom3—3
10g2.1potatoespotato8—8
11g2.1waterwater9—9
12g2.3potatoespotato8—8
13g3.1tomatotomato5blocked: a word of another line's name, or a made thing, next to it—
14g3.1saucesauce6—6
15g3.1tomatoestomato5—5
16g4.1peaspea11—11
17g4.1pepperpepper10—10
18g4.2saltsalt12—12
19g4.3potatoespotato8—8