15.3.2 Clean and cut each step

ALITCHA BIRSTEN (Lentil Stew) (ERITREA) · photo-img-9555|38 · 9 drafts · 7 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 91 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
  • In 38a.1 the whole leading title "ERITREA | ALITCHA BIRSTEN (Lentil Stew) |" is blanked, brackets included, though the job's definition names only title words and "|" marks.
  • No joining "for" (R94 rule 2) is added before the 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 them38a.1text as read Saute 6 garlic/5T oil ~brown. Saute 6 garlic with 5 tablespoons oil until brown.
differsSteps as IS 15.3 reads them38b.1text as read+2 peeled&sliced tomatoAdd 2 peeled and sliced tomato
differsSteps as IS 15.3 reads them38b.2text as readsimmr 5m.simmer 5 minutes.
differsSteps as IS 15.3 reads them38c.1text as read+1c lentils/1T minced ginger/salt and pepper simmr 2m.Add 1 cup lentils, 1 tablespoon minced ginger, and salt and pepper simmer 2 minutes.
differsSteps as IS 15.3 reads them38d.1text as read+2 minced chiles/4c water.Add 2 minced chiles and 4 cups water.
differsSteps as IS 15.3 reads them38e.2text as readsimmr 1h.simmer 1 hour.
differsEach step's tokens["38a.1", 3]kindpw
differsEach step's tokens["38a.1", 3]word/with
differsEach step's tokens["38a.1", 3]singular/with
differsEach step's tokens["38a.1", 5]wordttablespoons
differsEach step's tokens["38a.1", 5]singularttablespoon
differsEach step's tokens["38a.1", 7]kindpw
differsEach step's tokens["38a.1", 7]word~until
differsEach step's tokens["38a.1", 7]singular~until
differsEach step's tokens["38b.1", 0]kindpw
differsEach step's tokens["38b.1", 0]word+add
differsEach step's tokens["38b.1", 0]singular+add
differsEach step's tokens["38b.1", 3]kindpw
differsEach step's tokens["38b.1", 3]word&and
differsEach step's tokens["38b.1", 3]singular&and
differsEach step's tokens["38b.2", 0]wordsimmrsimmer
differsEach step's tokens["38b.2", 0]singularsimmrsimmer
differsEach step's tokens["38b.2", 2]wordmminutes
differsEach step's tokens["38b.2", 2]singularmminute
differsEach step's tokens["38c.1", 0]kindpw
differsEach step's tokens["38c.1", 0]word+add
differsEach step's tokens["38c.1", 0]singular+add
differsEach step's tokens["38c.1", 2]wordccup
differsEach step's tokens["38c.1", 2]singularccup
differsEach step's tokens["38c.1", 4]word/,
differsEach step's tokens["38c.1", 4]singular/,
differsEach step's tokens["38c.1", 6]wordttablespoon
differsEach step's tokens["38c.1", 6]singularttablespoon
differsEach step's tokens["38c.1", 9]word/,
differsEach step's tokens["38c.1", 9]singular/,
differsEach step's tokens["38c.1", "k10"]kind—w
differsEach step's tokens["38c.1", "k10"]word—and
differsEach step's tokens["38c.1", "k10"]singular—and
differsEach step's tokens["38c.1", 13]wordsimmrsimmer
differsEach step's tokens["38c.1", 13]singularsimmrsimmer
differsEach step's tokens["38c.1", 15]wordmminutes
differsEach step's tokens["38c.1", 15]singularmminute
differsEach step's tokens["38d.1", 0]kindpw
differsEach step's tokens["38d.1", 0]word+add
differsEach step's tokens["38d.1", 0]singular+add
differsEach step's tokens["38d.1", 4]kindpw
differsEach step's tokens["38d.1", 4]word/and
differsEach step's tokens["38d.1", 4]singular/and
differsEach step's tokens["38d.1", 6]wordccups
differsEach step's tokens["38d.1", 6]singularccup
differsEach step's tokens["38e.2", 0]wordsimmrsimmer
differsEach step's tokens["38e.2", 0]singularsimmrsimmer
differsEach step's tokens["38e.2", 2]wordhhour
differsEach step's tokens["38e.2", 2]singularhhour
position shift (the step's text differs)Each step's tokens["38a.1", 3]start5657
position shift (the step's text differs)Each step's tokens["38a.1", 3]end5761
position shift (the step's text differs)Each step's tokens["38a.1", 4]start5762
position shift (the step's text differs)Each step's tokens["38a.1", 4]end5863
position shift (the step's text differs)Each step's tokens["38a.1", 5]start5864
position shift (the step's text differs)Each step's tokens["38a.1", 5]end5975
position shift (the step's text differs)Each step's tokens["38a.1", 6]start6076
position shift (the step's text differs)Each step's tokens["38a.1", 6]end6379
position shift (the step's text differs)Each step's tokens["38a.1", 7]start6480
position shift (the step's text differs)Each step's tokens["38a.1", 7]end6585
position shift (the step's text differs)Each step's tokens["38a.1", 8]start6586
position shift (the step's text differs)Each step's tokens["38a.1", 8]end7091
position shift (the step's text differs)Each step's tokens["38a.1", 9]start7091
position shift (the step's text differs)Each step's tokens["38a.1", 9]end7192
position shift (the step's text differs)Each step's tokens["38b.1", 0]end13
position shift (the step's text differs)Each step's tokens["38b.1", 1]start14
position shift (the step's text differs)Each step's tokens["38b.1", 1]end25
position shift (the step's text differs)Each step's tokens["38b.1", 2]start36
position shift (the step's text differs)Each step's tokens["38b.1", 2]end912
position shift (the step's text differs)Each step's tokens["38b.1", 3]start913
position shift (the step's text differs)Each step's tokens["38b.1", 3]end1016
position shift (the step's text differs)Each step's tokens["38b.1", 4]start1017
position shift (the step's text differs)Each step's tokens["38b.1", 4]end1623
position shift (the step's text differs)Each step's tokens["38b.1", 5]start1724
position shift (the step's text differs)Each step's tokens["38b.1", 5]end2330
position shift (the step's text differs)Each step's tokens["38b.2", 0]end56
position shift (the step's text differs)Each step's tokens["38b.2", 1]start67
position shift (the step's text differs)Each step's tokens["38b.2", 1]end78
position shift (the step's text differs)Each step's tokens["38b.2", 2]start79
position shift (the step's text differs)Each step's tokens["38b.2", 2]end816
position shift (the step's text differs)Each step's tokens["38b.2", 3]start816
position shift (the step's text differs)Each step's tokens["38b.2", 3]end917
position shift (the step's text differs)Each step's tokens["38c.1", 0]end13
position shift (the step's text differs)Each step's tokens["38c.1", 1]start14
position shift (the step's text differs)Each step's tokens["38c.1", 1]end25
position shift (the step's text differs)Each step's tokens["38c.1", 2]start26
position shift (the step's text differs)Each step's tokens["38c.1", 2]end39
position shift (the step's text differs)Each step's tokens["38c.1", 3]start410
position shift (the step's text differs)Each step's tokens["38c.1", 3]end1117
position shift (the step's text differs)Each step's tokens["38c.1", 4]start1117
position shift (the step's text differs)Each step's tokens["38c.1", 4]end1218
position shift (the step's text differs)Each step's tokens["38c.1", 5]start1219
position shift (the step's text differs)Each step's tokens["38c.1", 5]end1320
position shift (the step's text differs)Each step's tokens["38c.1", 6]start1321
position shift (the step's text differs)Each step's tokens["38c.1", 6]end1431
position shift (the step's text differs)Each step's tokens["38c.1", 7]start1532
position shift (the step's text differs)Each step's tokens["38c.1", 7]end2138
position shift (the step's text differs)Each step's tokens["38c.1", 8]start2239
position shift (the step's text differs)Each step's tokens["38c.1", 8]end2845
position shift (the step's text differs)Each step's tokens["38c.1", 9]start2845
position shift (the step's text differs)Each step's tokens["38c.1", 9]end2946
position shift (the step's text differs)Each step's tokens["38c.1", "k10"]start—47
position shift (the step's text differs)Each step's tokens["38c.1", "k10"]end—50
position shift (the step's text differs)Each step's tokens["38c.1", 10]start2951
position shift (the step's text differs)Each step's tokens["38c.1", 10]end3355
position shift (the step's text differs)Each step's tokens["38c.1", 11]start3456
position shift (the step's text differs)Each step's tokens["38c.1", 11]end3759
position shift (the step's text differs)Each step's tokens["38c.1", 12]start3860
position shift (the step's text differs)Each step's tokens["38c.1", 12]end4466
position shift (the step's text differs)Each step's tokens["38c.1", 13]start4567
position shift (the step's text differs)Each step's tokens["38c.1", 13]end5073
position shift (the step's text differs)Each step's tokens["38c.1", 14]start5174
position shift (the step's text differs)Each step's tokens["38c.1", 14]end5275
position shift (the step's text differs)Each step's tokens["38c.1", 15]start5276
position shift (the step's text differs)Each step's tokens["38c.1", 15]end5383
position shift (the step's text differs)Each step's tokens["38c.1", 16]start5383
position shift (the step's text differs)Each step's tokens["38c.1", 16]end5484
position shift (the step's text differs)Each step's tokens["38d.1", 0]end13
position shift (the step's text differs)Each step's tokens["38d.1", 1]start14
position shift (the step's text differs)Each step's tokens["38d.1", 1]end25
position shift (the step's text differs)Each step's tokens["38d.1", 2]start36
position shift (the step's text differs)Each step's tokens["38d.1", 2]end912
position shift (the step's text differs)Each step's tokens["38d.1", 3]start1013
position shift (the step's text differs)Each step's tokens["38d.1", 3]end1619
position shift (the step's text differs)Each step's tokens["38d.1", 4]start1620
position shift (the step's text differs)Each step's tokens["38d.1", 4]end1723
position shift (the step's text differs)Each step's tokens["38d.1", 5]start1724
position shift (the step's text differs)Each step's tokens["38d.1", 5]end1825
position shift (the step's text differs)Each step's tokens["38d.1", 6]start1826
position shift (the step's text differs)Each step's tokens["38d.1", 6]end1930
position shift (the step's text differs)Each step's tokens["38d.1", 7]start2031
position shift (the step's text differs)Each step's tokens["38d.1", 7]end2536
position shift (the step's text differs)Each step's tokens["38d.1", 8]start2536
position shift (the step's text differs)Each step's tokens["38d.1", 8]end2637
position shift (the step's text differs)Each step's tokens["38e.2", 0]end56
position shift (the step's text differs)Each step's tokens["38e.2", 1]start67
position shift (the step's text differs)Each step's tokens["38e.2", 1]end78
position shift (the step's text differs)Each step's tokens["38e.2", 2]start79
position shift (the step's text differs)Each step's tokens["38e.2", 2]end813
position shift (the step's text differs)Each step's tokens["38e.2", 3]start813
position shift (the step's text differs)Each step's tokens["38e.2", 3]end914

Inputs

K1(s1) stepsevery step IS 15.3 receives, in order
stepL1K linetext
38a.138ERITREA | ALITCHA BIRSTEN (Lentil Stew) | Saute 6 garlc/5T oil ~brown.
38b.138+2 peeld&slicd tom
38b.238simmr 5m.
38c.138+1c lentils/1T mincd gingr/s&p simmr 2m.
38d.138+2 mincd chiles/4c h2o.
38e.138Cvr
38e.238simmr 1h.
Title words15.3.1's output
title word
alitcha
birsten
eritrea
lentil
stew

Script result

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
38a.1 Saute 6 garlic/5T oil ~brown.
38b.1+2 peeled&sliced tomato
38b.2simmr 5m.
38c.1+1c lentils/1T minced ginger/salt and pepper simmr 2m.
38d.1+2 minced chiles/4c water.
38e.1Cover
38e.2simmr 1h.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
38a.10w4247sautesaute
38a.11n484966
38a.12w5056garlicgarlic
38a.13p5657//
38a.14n575855
38a.15w5859tt
38a.16w6063oiloil
38a.17p6465~~
38a.18w6570brownbrown
38a.19p7071..
38b.10p01++
38b.11n1222
38b.12w39peeledpeeled
38b.13p910&&
38b.14w1016slicedsliced
38b.15w1723tomatotomato
38b.20w05simmrsimmr
38b.21n6755
38b.22w78mm
38b.23p89..
38c.10p01++
38c.11n1211
38c.12w23cc
38c.13w411lentilslentil
38c.14p1112//
38c.15n121311
38c.16w1314tt
38c.17w1521mincedminced
38c.18w2228gingerginger
38c.19p2829//
38c.1——————
38c.110w2933saltsalt
38c.111w3437andand
38c.112w3844pepperpepper
38c.113w4550simmrsimmr
38c.114n515222
38c.115w5253mm
38c.116p5354..
38d.10p01++
38d.11n1222
38d.12w39mincedminced
38d.13w1016chileschile
38d.14p1617//
38d.15n171844
38d.16w1819cc
38d.17w2025waterwater
38d.18p2526..
38e.10w05covercover
38e.20w05simmrsimmr
38e.21n6711
38e.22w78hh
38e.23p89..

Answer key

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
38a.1 Saute 6 garlic with 5 tablespoons oil until brown.
38b.1Add 2 peeled and sliced tomato
38b.2simmer 5 minutes.
38c.1Add 1 cup lentils, 1 tablespoon minced ginger, and salt and pepper simmer 2 minutes.
38d.1Add 2 minced chiles and 4 cups water.
38e.1Cover
38e.2simmer 1 hour.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
38a.10w4247sautesaute
38a.11n484966
38a.12w5056garlicgarlic
38a.13w5761withwith
38a.14n626355
38a.15w6475tablespoonstablespoon
38a.16w7679oiloil
38a.17w8085untiluntil
38a.18w8691brownbrown
38a.19p9192..
38b.10w03addadd
38b.11n4522
38b.12w612peeledpeeled
38b.13w1316andand
38b.14w1723slicedsliced
38b.15w2430tomatotomato
38b.20w06simmersimmer
38b.21n7855
38b.22w916minutesminute
38b.23p1617..
38c.10w03addadd
38c.11n4511
38c.12w69cupcup
38c.13w1017lentilslentil
38c.14p1718,,
38c.15n192011
38c.16w2131tablespoontablespoon
38c.17w3238mincedminced
38c.18w3945gingerginger
38c.19p4546,,
38c.110w4750andand
38c.111w5155saltsalt
38c.112w5659andand
38c.113w6066pepperpepper
38c.114w6773simmersimmer
38c.115n747522
38c.116w7683minutesminute
38c.117p8384..
38d.10w03addadd
38d.11n4522
38d.12w612mincedminced
38d.13w1319chileschile
38d.14w2023andand
38d.15n242544
38d.16w2630cupscup
38d.17w3136waterwater
38d.18p3637..
38e.10w05covercover
38e.20w06simmersimmer
38e.21n7811
38e.22w913hourhour
38e.23p1314..