15.3.2 Clean and cut each step

LAMB STEW WITH OKRA (Lahm Lhalou) (ALBANIA) · photo-img-9554|6 · 9 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

Reads every step's text. A step that starts with Weigh or Measure is emptied; s&p becomes salt and pepper; a swap in brackets ('(or other oil)'), 'instead of ...' and 'substitute ... for ...' are blanked. Then the text is cut into tokens (words, numbers and punctuation); each token keeps its kind, its start and end positions in the text as read, its word in lower case, and its singular form.

54 keyed cells differ, and 85 more differ only in reason, word-list convention or position.

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
  • The leading collection title in 6a.1 includes the bracketed title words "(Lahm Lhalou)", so the whole title through the last "|" (46 characters) is blanked.
  • No joining "for" (R94 rule 2) is added before times, since this sub step adds no words a step does not print.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsSteps as IS 15.3 reads them6a.1text as read Grill or roast 1# lamb chunks. Grill or roast 1 pound lamb chunks.
differsSteps as IS 15.3 reads them6b.1text as readSaute 1# okra/2T oil 5m.Saute 1 pound okra with 2 tablespoons oil 5 minutes.
differsSteps as IS 15.3 reads them6c.1text as read+1c diced green pepper&celery/4 garlic/salt and pepperAdd 1 cup each diced green pepper and celery, 4 garlic, and salt and pepper
differsSteps as IS 15.3 reads them6c.2text as readcook 10m.cook 10 minutes.
differsSteps as IS 15.3 reads them6d.1text as read+.5c water/lamb chunks.Add ½ cup water and lamb chunks.
differsSteps as IS 15.3 reads them6e.1text as readSimmr 30m.Simmer 30 minutes.
differsEach step's tokens["6a.1", 4]kindpw
differsEach step's tokens["6a.1", 4]word#pound
differsEach step's tokens["6a.1", 4]singular#pound
differsEach step's tokens["6b.1", 2]kindpw
differsEach step's tokens["6b.1", 2]word#pound
differsEach step's tokens["6b.1", 2]singular#pound
differsEach step's tokens["6b.1", 4]kindpw
differsEach step's tokens["6b.1", 4]word/with
differsEach step's tokens["6b.1", 4]singular/with
differsEach step's tokens["6b.1", 6]wordttablespoons
differsEach step's tokens["6b.1", 6]singularttablespoon
differsEach step's tokens["6b.1", 9]wordmminutes
differsEach step's tokens["6b.1", 9]singularmminute
differsEach step's tokens["6c.1", 0]kindpw
differsEach step's tokens["6c.1", 0]word+add
differsEach step's tokens["6c.1", 0]singular+add
differsEach step's tokens["6c.1", 2]wordccup
differsEach step's tokens["6c.1", 2]singularccup
differsEach step's tokens["6c.1", "k3"]kind—w
differsEach step's tokens["6c.1", "k3"]word—each
differsEach step's tokens["6c.1", "k3"]singular—each
differsEach step's tokens["6c.1", 6]kindpw
differsEach step's tokens["6c.1", 6]word&and
differsEach step's tokens["6c.1", 6]singular&and
differsEach step's tokens["6c.1", 8]word/,
differsEach step's tokens["6c.1", 8]singular/,
differsEach step's tokens["6c.1", 11]word/,
differsEach step's tokens["6c.1", 11]singular/,
differsEach step's tokens["6c.1", "k13"]kind—w
differsEach step's tokens["6c.1", "k13"]word—and
differsEach step's tokens["6c.1", "k13"]singular—and
differsEach step's tokens["6c.2", 2]wordmminutes
differsEach step's tokens["6c.2", 2]singularmminute
differsEach step's tokens["6d.1", 0]kindpw
differsEach step's tokens["6d.1", 0]word+add
differsEach step's tokens["6d.1", 0]singular+add
differsEach step's tokens["6d.1", 1]kindpn
differsEach step's tokens["6d.1", 1]word.5½
differsEach step's tokens["6d.1", 1]singular.5½
differsEach step's tokens["6d.1", 2]wordccup
differsEach step's tokens["6d.1", 2]singularccup
differsEach step's tokens["6d.1", 4]kindpw
differsEach step's tokens["6d.1", 4]word/and
differsEach step's tokens["6d.1", 4]singular/and
differsEach step's tokens["6e.1", 0]wordsimmrsimmer
differsEach step's tokens["6e.1", 0]singularsimmrsimmer
differsEach step's tokens["6e.1", 2]wordmminutes
differsEach step's tokens["6e.1", 2]singularmminute
position shift (the step's text differs)Each step's tokens["6a.1", 4]start6263
position shift (the step's text differs)Each step's tokens["6a.1", 4]end6368
position shift (the step's text differs)Each step's tokens["6a.1", 5]start6469
position shift (the step's text differs)Each step's tokens["6a.1", 5]end6873
position shift (the step's text differs)Each step's tokens["6a.1", 6]start6974
position shift (the step's text differs)Each step's tokens["6a.1", 6]end7580
position shift (the step's text differs)Each step's tokens["6a.1", 7]start7580
position shift (the step's text differs)Each step's tokens["6a.1", 7]end7681
position shift (the step's text differs)Each step's tokens["6b.1", 2]start78
position shift (the step's text differs)Each step's tokens["6b.1", 2]end813
position shift (the step's text differs)Each step's tokens["6b.1", 3]start914
position shift (the step's text differs)Each step's tokens["6b.1", 3]end1318
position shift (the step's text differs)Each step's tokens["6b.1", 4]start1319
position shift (the step's text differs)Each step's tokens["6b.1", 4]end1423
position shift (the step's text differs)Each step's tokens["6b.1", 5]start1424
position shift (the step's text differs)Each step's tokens["6b.1", 5]end1525
position shift (the step's text differs)Each step's tokens["6b.1", 6]start1526
position shift (the step's text differs)Each step's tokens["6b.1", 6]end1637
position shift (the step's text differs)Each step's tokens["6b.1", 7]start1738
position shift (the step's text differs)Each step's tokens["6b.1", 7]end2041
position shift (the step's text differs)Each step's tokens["6b.1", 8]start2142
position shift (the step's text differs)Each step's tokens["6b.1", 8]end2243
position shift (the step's text differs)Each step's tokens["6b.1", 9]start2244
position shift (the step's text differs)Each step's tokens["6b.1", 9]end2351
position shift (the step's text differs)Each step's tokens["6b.1", 10]start2351
position shift (the step's text differs)Each step's tokens["6b.1", 10]end2452
position shift (the step's text differs)Each step's tokens["6c.1", 0]end13
position shift (the step's text differs)Each step's tokens["6c.1", 1]start14
position shift (the step's text differs)Each step's tokens["6c.1", 1]end25
position shift (the step's text differs)Each step's tokens["6c.1", 2]start26
position shift (the step's text differs)Each step's tokens["6c.1", 2]end39
position shift (the step's text differs)Each step's tokens["6c.1", "k3"]start—10
position shift (the step's text differs)Each step's tokens["6c.1", "k3"]end—14
position shift (the step's text differs)Each step's tokens["6c.1", 3]start415
position shift (the step's text differs)Each step's tokens["6c.1", 3]end920
position shift (the step's text differs)Each step's tokens["6c.1", 4]start1021
position shift (the step's text differs)Each step's tokens["6c.1", 4]end1526
position shift (the step's text differs)Each step's tokens["6c.1", 5]start1627
position shift (the step's text differs)Each step's tokens["6c.1", 5]end2233
position shift (the step's text differs)Each step's tokens["6c.1", 6]start2234
position shift (the step's text differs)Each step's tokens["6c.1", 6]end2337
position shift (the step's text differs)Each step's tokens["6c.1", 7]start2338
position shift (the step's text differs)Each step's tokens["6c.1", 7]end2944
position shift (the step's text differs)Each step's tokens["6c.1", 8]start2944
position shift (the step's text differs)Each step's tokens["6c.1", 8]end3045
position shift (the step's text differs)Each step's tokens["6c.1", 9]start3046
position shift (the step's text differs)Each step's tokens["6c.1", 9]end3147
position shift (the step's text differs)Each step's tokens["6c.1", 10]start3248
position shift (the step's text differs)Each step's tokens["6c.1", 10]end3854
position shift (the step's text differs)Each step's tokens["6c.1", 11]start3854
position shift (the step's text differs)Each step's tokens["6c.1", 11]end3955
position shift (the step's text differs)Each step's tokens["6c.1", "k13"]start—56
position shift (the step's text differs)Each step's tokens["6c.1", "k13"]end—59
position shift (the step's text differs)Each step's tokens["6c.1", 12]start3960
position shift (the step's text differs)Each step's tokens["6c.1", 12]end4364
position shift (the step's text differs)Each step's tokens["6c.1", 13]start4465
position shift (the step's text differs)Each step's tokens["6c.1", 13]end4768
position shift (the step's text differs)Each step's tokens["6c.1", 14]start4869
position shift (the step's text differs)Each step's tokens["6c.1", 14]end5475
position shift (the step's text differs)Each step's tokens["6c.2", 2]start78
position shift (the step's text differs)Each step's tokens["6c.2", 2]end815
position shift (the step's text differs)Each step's tokens["6c.2", 3]start815
position shift (the step's text differs)Each step's tokens["6c.2", 3]end916
position shift (the step's text differs)Each step's tokens["6d.1", 0]end13
position shift (the step's text differs)Each step's tokens["6d.1", 1]start14
position shift (the step's text differs)Each step's tokens["6d.1", 1]end35
position shift (the step's text differs)Each step's tokens["6d.1", 2]start36
position shift (the step's text differs)Each step's tokens["6d.1", 2]end49
position shift (the step's text differs)Each step's tokens["6d.1", 3]start510
position shift (the step's text differs)Each step's tokens["6d.1", 3]end1015
position shift (the step's text differs)Each step's tokens["6d.1", 4]start1016
position shift (the step's text differs)Each step's tokens["6d.1", 4]end1119
position shift (the step's text differs)Each step's tokens["6d.1", 5]start1120
position shift (the step's text differs)Each step's tokens["6d.1", 5]end1524
position shift (the step's text differs)Each step's tokens["6d.1", 6]start1625
position shift (the step's text differs)Each step's tokens["6d.1", 6]end2231
position shift (the step's text differs)Each step's tokens["6d.1", 7]start2231
position shift (the step's text differs)Each step's tokens["6d.1", 7]end2332
position shift (the step's text differs)Each step's tokens["6e.1", 0]end56
position shift (the step's text differs)Each step's tokens["6e.1", 1]start67
position shift (the step's text differs)Each step's tokens["6e.1", 1]end89
position shift (the step's text differs)Each step's tokens["6e.1", 2]start810
position shift (the step's text differs)Each step's tokens["6e.1", 2]end917
position shift (the step's text differs)Each step's tokens["6e.1", 3]start917
position shift (the step's text differs)Each step's tokens["6e.1", 3]end1018

Inputs

K1(s1) stepsevery step IS 15.3 receives, in order
stepL1K linetext
6a.16ALBANIA | LAMB STEW WITH OKRA (Lahm Lhalou) | Grill or roast 1# lamb chunks.
6b.16Saute 1# okra/2T oil 5m.
6c.16+1c diced grn pepper&celery/4garlc/s&p
6c.26cook 10m.
6d.16+.5c h2o/lamb chunks.
6e.16Simmr 30m.
Title words15.3.1's output
title word
albania
lahm
lamb
lhalou
okra
stew
with

Script result

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
6a.1 Grill or roast 1# lamb chunks.
6b.1Saute 1# okra/2T oil 5m.
6c.1+1c diced green pepper&celery/4 garlic/salt and pepper
6c.2cook 10m.
6d.1+.5c water/lamb chunks.
6e.1Simmr 30m.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
6a.10w4651grillgrill
6a.11w5254oror
6a.12w5560roastroast
6a.13n616211
6a.14p6263##
6a.15w6468lamblamb
6a.16w6975chunkschunk
6a.17p7576..
6b.10w05sautesaute
6b.11n6711
6b.12p78##
6b.13w913okraokra
6b.14p1314//
6b.15n141522
6b.16w1516tt
6b.17w1720oiloil
6b.18n212255
6b.19w2223mm
6b.110p2324..
6c.10p01++
6c.11n1211
6c.12w23cc
6c.1——————
6c.13w49diceddiced
6c.14w1015greengreen
6c.15w1622pepperpepper
6c.16p2223&&
6c.17w2329celerycelery
6c.18p2930//
6c.19n303144
6c.110w3238garlicgarlic
6c.111p3839//
6c.1——————
6c.112w3943saltsalt
6c.113w4447andand
6c.114w4854pepperpepper
6c.20w04cookcook
6c.21n571010
6c.22w78mm
6c.23p89..
6d.10p01++
6d.11p13.5.5
6d.12w34cc
6d.13w510waterwater
6d.14p1011//
6d.15w1115lamblamb
6d.16w1622chunkschunk
6d.17p2223..
6e.10w05simmrsimmr
6e.11n683030
6e.12w89mm
6e.13p910..

Answer key

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
6a.1 Grill or roast 1 pound lamb chunks.
6b.1Saute 1 pound okra with 2 tablespoons oil 5 minutes.
6c.1Add 1 cup each diced green pepper and celery, 4 garlic, and salt and pepper
6c.2cook 10 minutes.
6d.1Add ½ cup water and lamb chunks.
6e.1Simmer 30 minutes.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
6a.10w4651grillgrill
6a.11w5254oror
6a.12w5560roastroast
6a.13n616211
6a.14w6368poundpound
6a.15w6973lamblamb
6a.16w7480chunkschunk
6a.17p8081..
6b.10w05sautesaute
6b.11n6711
6b.12w813poundpound
6b.13w1418okraokra
6b.14w1923withwith
6b.15n242522
6b.16w2637tablespoonstablespoon
6b.17w3841oiloil
6b.18n424355
6b.19w4451minutesminute
6b.110p5152..
6c.10w03addadd
6c.11n4511
6c.12w69cupcup
6c.13w1014eacheach
6c.14w1520diceddiced
6c.15w2126greengreen
6c.16w2733pepperpepper
6c.17w3437andand
6c.18w3844celerycelery
6c.19p4445,,
6c.110n464744
6c.111w4854garlicgarlic
6c.112p5455,,
6c.113w5659andand
6c.114w6064saltsalt
6c.115w6568andand
6c.116w6975pepperpepper
6c.20w04cookcook
6c.21n571010
6c.22w815minutesminute
6c.23p1516..
6d.10w03addadd
6d.11n45½½
6d.12w69cupcup
6d.13w1015waterwater
6d.14w1619andand
6d.15w2024lamblamb
6d.16w2531chunkschunk
6d.17p3132..
6e.10w06simmersimmer
6e.11n793030
6e.12w1017minutesminute
6e.13p1718..