15.3.7 Find the lines each word names (pass 1)

Creamy Chickpea Spinach Masala with Tadka · photo-l01|1-34 · 24 drafts · 29 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.

3 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 ("the cardamom, coriander, and cumin seeds" at 29a.1) keeps all three seed lines: the list shares the head "seeds", as in R37.2's "the mustard, cumin, and coriander seeds", so "cumin" does not block lines 1 and 2.
  • Word 35 ("on top of the chickpea masala" at 34b.1) names the finished dish where the tadka goes, not a new portion of chickpeas, so it is skipped as already on.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsNaming words, pass 11lines kept31, 2, 3
differsNaming words, pass 135skipped because—already on (spread ... over it)
differsNaming words, pass 135lines kept16—

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
129a.19seedsseed1, 2, 3
230a.115oiloil4
330b.15cinnamoncinnamon5
430b.16stickstick5
531a.12onionsonion6
631a.17saltsalt7
731c.12garlicgarlic9
831c.14gingerginger10
931c.18turmericturmeric12
1031c.111tomatotomato14
1131c.112pastepaste13
1232a.12tomatoestomato14
1332a.15juicesjuice21
1432a.110saltsalt7
1532b.13tomatoestomato14
1632c.17milkmilk15
1732d.16milkmilk15
1832d.19chickpeaschickpea16
1932d.112butterbutter17
2032d.116sugarsugar18
2133a.12spinachspinach19
2233a.15masalamasala20
2333a.23spinachspinach19
2433b.12cinnamoncinnamon5
2533b.13stickstick5
2633c.24juicejuice21
2733c.26cilantrocilantro22
2833c.29mintmint23
2933c.34saltsalt7
3033c.36pepperpepper8, 11
3133d.15juicejuice21
3233d.17saltsalt7
3334a.16tadkatadka24
3434b.12tadkatadka24
3534b.17chickpeachickpea16
3634b.18masalamasala20
3734c.15tadkatadka24
Steps as IS 15.3 reads them15.3.2's output: each step's text after the cleaning
steptext as read
29a.1Roughly grind the cardamom, coriander, and cumin seeds in a mortar with a pestle or add to a spice grinder and pulse just a few times.
30a.1In a 12-inch (30 cm) deep sauté pan, heat the oil over medium-high heat.
30b.1Once hot, add the cinnamon stick
30b.2toss for 30 seconds.
30c.1Add the roughly crushed spices
30c.2cook for 1 minute, tossing frequently.
31a.1Add the onions with a pinch of salt
31a.2cook until they begin to get some color, 5 to 7 minutes.
31b.1Add a splash of water to prevent browning.
31c.1Add the garlic, ginger, serrano, turmeric, and tomato paste
31c.2cook for 90 seconds, stirring frequently.
32a.1Add the tomatoes and their juices and 1½ teaspoons salt.
32b.1Cook until the tomatoes start to break down and soften, 4 to 5 minutes.
32c.1Pour in a few spoonfuls of coconut milk, scraping up any browned bits with a spatula.
32d.1Add the rest of the coconut milk, the chickpeas, almond butter, and brown sugar.
32e.1Stir well
32e.2bring to a simmer.
32f.1Cover
32f.2simmer for 15 minutes, uncovering to stir occasionally.
33a.1Add the spinach and garam masala
33a.2simmer until the spinach wilts.
33b.1Discard the cinnamon stick.
33c.1Turn off the heat
33c.2stir in the lime juice, cilantro, and mint (if using)
33c.3season to taste with salt and pepper.
33d.1Taste, adding more lime juice or salt as needed.
34a.1Just before serving, prepare the tadka.
34b.1Pour the tadka on top of the chickpea masala.
34c.1If freezing leftovers, pour tadka only on top of the amount you plan to eat now.
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
29a.10w07roughlyroughly
29a.11w813grindgrind
29a.12w1417thethe
29a.13w1826cardamomcardamom
29a.14p2627,,
29a.15w2837coriandercoriander
29a.16p3738,,
29a.17w3942andand
29a.18w4348cumincumin
29a.19w4954seedsseed
29a.110w5557inin
29a.111w5859aa
29a.112w6066mortarmortar
29a.113w6771withwith
29a.114w7273aa
29a.115w7480pestlepestle
29a.116w8183oror
29a.117w8487addadd
29a.118w8890toto
29a.119w9192aa
29a.120w9398spicespice
29a.121w99106grindergrinder
29a.122w107110andand
29a.123w111116pulsepulse
29a.124w117121justjust
29a.125w122123aa
29a.126w124127fewfew
29a.127w128133timestime
29a.128p133134..
30a.10w02inin
30a.11w34aa
30a.12n571212
30a.13p78--
30a.14w812inchinch
30a.15p1314((
30a.16n14163030
30a.17w1719cmcm
30a.18p1920))
30a.19w2125deepdeep
30a.110w2631sautésauté
30a.111w3235panpan
30a.112p3536,,
30a.113w3741heatheat
30a.114w4245thethe
30a.115w4649oiloil
30a.116w5054overover
30a.117w5566medium-highmedium-high
30a.118w6771heatheat
30a.119p7172..
30b.10w04onceonce
30b.11w58hothot
30b.12p89,,
30b.13w1013addadd
30b.14w1417thethe
30b.15w1826cinnamoncinnamon
30b.16w2732stickstick
30b.20w04tosstoss
30b.21w58forfor
30b.22n9113030
30b.23w1219secondssecond
30b.24p1920..
30c.10w03addadd
30c.11w47thethe
30c.12w815roughlyroughly
30c.13w1623crushedcrushed
30c.14w2430spicesspice
30c.20w04cookcook
30c.21w58forfor
30c.22n91011
30c.23w1117minuteminute
30c.24p1718,,
30c.25w1926tossingtossing
30c.26w2737frequentlyfrequently
30c.27p3738..
31a.10w03addadd
31a.11w47thethe
31a.12w814onionsonion
31a.13w1519withwith
31a.14w2021aa
31a.15w2227pinchpinch
31a.16w2830ofof
31a.17w3135saltsalt
31a.20w04cookcook
31a.21w510untiluntil
31a.22w1115theythey
31a.23w1621beginbegin
31a.24w2224toto
31a.25w2528getget
31a.26w2933somesome
31a.27w3439colorcolor
31a.28p3940,,
31a.29n414255
31a.210w4345toto
31a.211n464777
31a.212w4855minutesminute
31a.213p5556..
31b.10w03addadd
31b.11w45aa
31b.12w612splashsplash
31b.13w1315ofof
31b.14w1621waterwater
31b.15w2224toto
31b.16w2532preventprevent
31b.17w3341browningbrowning
31b.18p4142..
31c.10w03addadd
31c.11w47thethe
31c.12w814garlicgarlic
31c.13p1415,,
31c.14w1622gingerginger
31c.15p2223,,
31c.16w2431serranoserrano
31c.17p3132,,
31c.18w3341turmericturmeric
31c.19p4142,,
31c.110w4346andand
31c.111w4753tomatotomato
31c.112w5459pastepaste
31c.20w04cookcook
31c.21w58forfor
31c.22n9119090
31c.23w1219secondssecond
31c.24p1920,,
31c.25w2129stirringstirring
31c.26w3040frequentlyfrequently
31c.27p4041..
32a.10w03addadd
32a.11w47thethe
32a.12w816tomatoestomato
32a.13w1720andand
32a.14w2126theirtheir
32a.15w2733juicesjuice
32a.16w3437andand
32a.17n383911
32a.18n3940½½
32a.19w4150teaspoonsteaspoon
32a.110w5155saltsalt
32a.111p5556..
32b.10w04cookcook
32b.11w510untiluntil
32b.12w1114thethe
32b.13w1523tomatoestomato
32b.14w2429startstart
32b.15w3032toto
32b.16w3338breakbreak
32b.17w3943downdown
32b.18w4447andand
32b.19w4854softensoften
32b.110p5455,,
32b.111n565744
32b.112w5860toto
32b.113n616255
32b.114w6370minutesminute
32b.115p7071..
32c.10w04pourpour
32c.11w57inin
32c.12w89aa
32c.13w1013fewfew
32c.14w1423spoonfulsspoonful
32c.15w2426ofof
32c.16w2734coconutcoconut
32c.17w3539milkmilk
32c.18p3940,,
32c.19w4149scrapingscraping
32c.110w5052upup
32c.111w5356anyany
32c.112w5764brownedbrowned
32c.113w6569bitsbit
32c.114w7074withwith
32c.115w7576aa
32c.116w7784spatulaspatula
32c.117p8485..
32d.10w03addadd
32d.11w47thethe
32d.12w812restrest
32d.13w1315ofof
32d.14w1619thethe
32d.15w2027coconutcoconut
32d.16w2832milkmilk
32d.17p3233,,
32d.18w3437thethe
32d.19w3847chickpeaschickpea
32d.110p4748,,
32d.111w4955almondalmond
32d.112w5662butterbutter
32d.113p6263,,
32d.114w6467andand
32d.115w6873brownbrown
32d.116w7479sugarsugar
32d.117p7980..
32e.10w04stirstir
32e.11w59wellwell
32e.20w05bringbring
32e.21w68toto
32e.22w910aa
32e.23w1117simmersimmer
32e.24p1718..
32f.10w05covercover
32f.20w06simmersimmer
32f.21w710forfor
32f.22n11131515
32f.23w1421minutesminute
32f.24p2122,,
32f.25w2333uncoveringuncovering
32f.26w3436toto
32f.27w3741stirstir
32f.28w4254occasionallyoccasionally
32f.29p5455..
33a.10w03addadd
33a.11w47thethe
33a.12w815spinachspinach
33a.13w1619andand
33a.14w2025garamgaram
33a.15w2632masalamasala
33a.20w06simmersimmer
33a.21w712untiluntil
33a.22w1316thethe
33a.23w1724spinachspinach
33a.24w2530wiltswilt
33a.25p3031..
33b.10w07discarddiscard
33b.11w811thethe
33b.12w1220cinnamoncinnamon
33b.13w2126stickstick
33b.14p2627..
33c.10w04turnturn
33c.11w58offoff
33c.12w912thethe
33c.13w1317heatheat
33c.20w04stirstir
33c.21w57inin
33c.22w811thethe
33c.23w1216limelime
33c.24w1722juicejuice
33c.25p2223,,
33c.26w2432cilantrocilantro
33c.27p3233,,
33c.28w3437andand
33c.29w3842mintmint
33c.210p4344((
33c.211w4446ifif
33c.212w4752usingusing
33c.213p5253))
33c.30w06seasonseason
33c.31w79toto
33c.32w1015tastetaste
33c.33w1620withwith
33c.34w2125saltsalt
33c.35w2629andand
33c.36w3036pepperpepper
33c.37p3637..
33d.10w05tastetaste
33d.11p56,,
33d.12w713addingadding
33d.13w1418moremore
33d.14w1923limelime
33d.15w2429juicejuice
33d.16w3032oror
33d.17w3337saltsalt
33d.18w3840asas
33d.19w4147neededneeded
33d.110p4748..
34a.10w04justjust
34a.11w511beforebefore
34a.12w1219servingserving
34a.13p1920,,
34a.14w2128prepareprepare
34a.15w2932thethe
34a.16w3338tadkatadka
34a.17p3839..
34b.10w04pourpour
34b.11w58thethe
34b.12w914tadkatadka
34b.13w1517onon
34b.14w1821toptop
34b.15w2224ofof
34b.16w2528thethe
34b.17w2937chickpeachickpea
34b.18w3844masalamasala
34b.19p4445..
34c.10w02ifif
34c.11w311freezingfreezing
34c.12w1221leftoversleftover
34c.13p2122,,
34c.14w2327pourpour
34c.15w2833tadkatadka
34c.16w3438onlyonly
34c.17w3941onon
34c.18w4245toptop
34c.19w4648ofof
34c.110w4952thethe
34c.111w5359amountamount
34c.112w6063youyou
34c.113w6468planplan
34c.114w6971toto
34c.115w7275eateat
34c.116w7679nownow
34c.117p7980..
Each line's starting state15.3.6's output (every other field of the state starts empty)
#ingredienttrigqwholenoneextrapor
1cardamom seeds (from 4 to 5 green cardamom pods)cardamomseed, seed1/41/4, teaspoon———
2coriander seedscorianderseed, seed22, teaspoon———
3cumin seedscuminseed, seed1½3/2, teaspoon———
4neutral-flavored oil of choiceneutral-flavoredoil, oil26, tablespoon———
5(2-inch) cinnamon stickcinnamon, cinnamonstick, stick11, ———
6large yellow or red oniononion, redonion11, ———
7kosher saltkoshersalt, salt——yes——
8black pepperblackpepper, pepper——yes——
9garlicgarlic66, clove———
10fresh gingerginger11, 2-inch piece———
11serrano peppers (1 for mild; 3 for spicy!)pepper, serranopepper33, ———
12ground turmericgroundturmeric, turmeric11, teaspoon———
13tomato pastepaste, tomatopaste26, tablespoon———
14Roma or plum tomatoesplumtomato, tomato116, pound———
15full-fat coconut milkcoconutmilk, milk13.581, fl oz———
16chickpeaschickpea3030, weight ounce———
17no-sugar-added creamy almond butteralmondbutter, butter26, tablespoon———
18organic brown sugar or coconut sugarbrownsugar, sugar11, teaspoon———
19baby spinachbabyspinach, spinach6288, cup———
20garam masalagarammasala, masala22, teaspoon———
21lime or lemon juice, plus more to tastejuice, lemonjuice1½3/2, teaspoon—yes—
22fresh cilantro leaves and tender stemscilantro, stem, tenderstem148, cup———
23fresh mint leavesleaf, mint, mintleave11, small handful———
24Tadka (recipe follows)tadka——yes——
Section marks15.3.4's output: a section's opening words name no line
stepsection headingopening words (name no line)ends at
29a.1———
30a.1———
30b.1———
30b.2———
30c.1———
30c.2———
31a.1———
31a.2———
31b.1———
31c.1———
31c.2———
32a.1———
32b.1———
32c.1———
32d.1———
32e.1———
32e.2———
32f.1———
32f.2———
33a.1———
33a.2———
33b.1———
33c.1———
33c.2———
33c.3———
33d.1———
34a.1———
34b.1———
34c.1———
Main words15.3.4's output: how many lines share each main word
main wordlines
seed3
oil1
stick1
onion1
salt1
pepper2
garlic1
ginger1
turmeric1
paste1
tomato1
milk1
chickpea1
butter1
sugar1
spinach1
masala1
juice1
stem1
leaf1
tadka1
Each line's naming words15.3.3's output
#ingredientname_trimmedheadhead_rawtrigfallbackvocabfullbare_nophraser120_partline
1cardamom seeds (from 4 to 5 green cardamom pods)cardamom seedsseedseedscardamomseed, seedcardamomcardamom, from, green, pod, seedcardamom, from, green, pod, seed, teaspoon———6
2coriander seedscoriander seedsseedseedscorianderseed, seedcoriandercoriander, seedcoriander, seed, teaspoon———7
3cumin seedscumin seedsseedseedscuminseed, seedcumincumin, seedcumin, seed, teaspoon———8
4neutral-flavored oil of choiceneutral-flavored oiloiloilneutral-flavoredoil, oil—choice, neutral-flavored, oilchoice, flavored, neutral, neutral-flavored, oil, tablespoon———9
5(2-inch) cinnamon stickcinnamon stickstickstickcinnamon, cinnamonstick, stick—cinnamon, inch, stickcinnamon, inch, stickyes——10
6large yellow or red onionred oniononiononiononion, redonion—onion, red, yellowdiced, finely, onion, red, yellow———11
7kosher saltkosher saltsaltsaltkoshersalt, salt—kosher, saltkosher, salt———12
8black pepperblack pepperpepperpepperblackpepper, pepper—black, pepperblack, freshly, ground, pepper———12
9garlicgarlicgarlicgarlicgarlic—garlicclove, garlic, minced———13
10fresh gingerfresh gingergingergingerginger—gingerginger, grated, inch, minced, or, piece———14
11serrano peppers (1 for mild; 3 for spicy!)serrano pepperspepperpepperspepper, serranopepperserranomild, pepper, serrano, spicydiced, mild, pepper, serrano, spicy———15
12ground turmericground turmericturmericturmericgroundturmeric, turmeric—ground, turmericground, teaspoon, turmeric———16
13tomato pastetomato pastepastepastepaste, tomatopastetomatopaste, tomatopaste, tablespoon, tomato———17
14Roma or plum tomatoesplum tomatoestomatotomatoesplumtomato, tomatoplumplum, roma, tomatochopped, finely, plum, pound, roma, tomato———18
15full-fat coconut milkfull-fat coconut milkmilkmilkcoconutmilk, milkcoconutcoconut, full-fat, milkcoconut, fat, fl, full, full-fat, milk, oz———19
16chickpeaschickpeaschickpeachickpeaschickpea—chickpeaand, chickpea, drained, ounce, rinsed, weight———20
17no-sugar-added creamy almond butterno-sugar-added creamy almond butterbutterbutteralmondbutter, butteralmond, creamyalmond, butter, creamy, no-sugar-addedadded, almond, butter, creamy, no, no-sugar-added, sugar, tablespoon———21
18organic brown sugar or coconut sugarorganic brown sugarsugarsugarbrownsugar, sugar—brown, coconut, organic, sugarbrown, coconut, organic, sugar, teaspoon———22
19baby spinachbaby spinachspinachspinachbabyspinach, spinach—baby, spinachbaby, chopped, cup, spinach———23
20garam masalagaram masalamasalamasalagarammasala, masalagaramgaram, masalagaram, masala, teaspoon———24
21lime or lemon juice, plus more to tastelemon juicejuicejuicejuice, lemonjuicelemonjuice, lemon, lime, more, tastefreshly, juice, lemon, lime, more, squeezed, taste, teaspoon———25
22fresh cilantro leaves and tender stemsfresh cilantro leaves and tender stemsstemstemscilantro, stem, tenderstemtendercilantro, leaf, stem, tenderchopped, cilantro, cup, leaf, stem, tenderyes——26
23fresh mint leavesfresh mint leavesleafleavesleaf, mint, mintleave—leaf, mintchopped, handful, leaf, mint, smallyes——27
24Tadka (recipe follows)tadkatadkatadkatadkafollowfollow, recipe, tadkafollow, recipe, tadka———28
Each step's sectionmade by build() before IS 15
stepsection heading
29a.1—
30a.1—
30b.1—
30b.2—
30c.1—
30c.2—
31a.1—
31a.2—
31b.1—
31c.1—
31c.2—
32a.1—
32b.1—
32c.1—
32d.1—
32e.1—
32e.2—
32f.1—
32f.2—
33a.1—
33a.2—
33b.1—
33c.1—
33c.2—
33c.3—
33d.1—
34a.1—
34b.1—
34c.1—
Each line's headingmade by build() before IS 15 (by L1K line)
L1K lineheading
6—
7—
8—
9—
10—
11—
12—
13—
14—
15—
16—
17—
18—
19—
20—
21—
22—
23—
24—
25—
26—
27—
28—
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
129a.1seedsseed1, 2, 3—3
230a.1oiloil4—4
330b.1cinnamoncinnamon5—5
430b.1stickstick5—5
531a.1onionsonion6—6
631a.1saltsalt7—7
731c.1garlicgarlic9—9
831c.1gingerginger10—10
931c.1turmericturmeric12—12
1031c.1tomatotomato14blocked: a word of another line's name, or a made thing, next to it—
1131c.1pastepaste13—13
1232a.1tomatoestomato14—14
1332a.1juicesjuice21after their / its—
1432a.1saltsalt7—7
1532b.1tomatoestomato14—14
1632c.1milkmilk15—15
1732d.1milkmilk15—15
1832d.1chickpeaschickpea16—16
1932d.1butterbutter17—17
2032d.1sugarsugar18—18
2133a.1spinachspinach19—19
2233a.1masalamasala20—20
2333a.2spinachspinach19—19
2433b.1cinnamoncinnamon5—5
2533b.1stickstick5—5
2633c.2juicejuice21—21
2733c.2cilantrocilantro22—22
2833c.2mintmint23—23
2933c.3saltsalt7—7
3033c.3pepperpepper8, 11—8, 11
3133d.1juicejuice21—21
3233d.1saltsalt7—7
3334a.1tadkatadka24—24
3434b.1tadkatadka24—24
3534b.1chickpeachickpea16—16
3634b.1masalamasala20blocked: a word of another line's name, or a made thing, next to it—
3734c.1tadkatadka24—24

Answer key

Naming words, pass 1
word #stepwordsingularlines its word fitsskipped becauselines kept
129a.1seedsseed1, 2, 3—1, 2, 3
230a.1oiloil4—4
330b.1cinnamoncinnamon5—5
430b.1stickstick5—5
531a.1onionsonion6—6
631a.1saltsalt7—7
731c.1garlicgarlic9—9
831c.1gingerginger10—10
931c.1turmericturmeric12—12
1031c.1tomatotomato14blocked: a word of another line's name, or a made thing, next to it—
1131c.1pastepaste13—13
1232a.1tomatoestomato14—14
1332a.1juicesjuice21after their / its—
1432a.1saltsalt7—7
1532b.1tomatoestomato14—14
1632c.1milkmilk15—15
1732d.1milkmilk15—15
1832d.1chickpeaschickpea16—16
1932d.1butterbutter17—17
2032d.1sugarsugar18—18
2133a.1spinachspinach19—19
2233a.1masalamasala20—20
2333a.2spinachspinach19—19
2433b.1cinnamoncinnamon5—5
2533b.1stickstick5—5
2633c.2juicejuice21—21
2733c.2cilantrocilantro22—22
2833c.2mintmint23—23
2933c.3saltsalt7—7
3033c.3pepperpepper8, 11—8, 11
3133d.1juicejuice21—21
3233d.1saltsalt7—7
3334a.1tadkatadka24—24
3434b.1tadkatadka24—24
3534b.1chickpeachickpea16already on (spread ... over it)—
3634b.1masalamasala20blocked: a word of another line's name, or a made thing, next to it—
3734c.1tadkatadka24—24