15.3.2 Clean and cut each step

ROJOES A CAMINHO (Pork Stew with Cumin, Lemon & Cilantro) (PORTUGAL) · photo-img-9558|18 · 10 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 82 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
  • Step 18a.1's whole printed title, brackets and comma included (66 characters), is blanked as the collection title, though the title words list holds no bracket or comma marks.
  • The "for" that R94 rule 2 puts before a time is not added in 18b.1, since this sub step reads only the shorthand and adds no words.
Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsSteps as IS 15.3 reads them18a.1text as read Brwn 2# cubed pork/2T oil Brown 2 pounds cubed pork with 2 tablespoons oil
differsSteps as IS 15.3 reads them18a.2text as read+ .5c white wine/1.5t cumin/1 garlic/salt and pepper.Add ½ cup white wine, 1.5 teaspoons cumin, 1 garlic, and salt and pepper.
differsSteps as IS 15.3 reads them18b.1text as readSimmr 25m.Simmer 25 minutes.
differsSteps as IS 15.3 reads them18c.1text as read+ .25c white wine/1 sliced lemon.Add ¼ cup white wine and 1 sliced lemon.
differsSteps as IS 15.3 reads them18d.1text as readSimmr ~thickSimmer until thick
differsEach step's tokens["18a.1", 0]wordbrwnbrown
differsEach step's tokens["18a.1", 0]singularbrwnbrown
differsEach step's tokens["18a.1", 2]kindpw
differsEach step's tokens["18a.1", 2]word#pounds
differsEach step's tokens["18a.1", 2]singular#pound
differsEach step's tokens["18a.1", 5]kindpw
differsEach step's tokens["18a.1", 5]word/with
differsEach step's tokens["18a.1", 5]singular/with
differsEach step's tokens["18a.1", 7]wordttablespoons
differsEach step's tokens["18a.1", 7]singularttablespoon
differsEach step's tokens["18a.2", 0]kindpw
differsEach step's tokens["18a.2", 0]word+add
differsEach step's tokens["18a.2", 0]singular+add
differsEach step's tokens["18a.2", 1]kindpn
differsEach step's tokens["18a.2", 1]word.5½
differsEach step's tokens["18a.2", 1]singular.5½
differsEach step's tokens["18a.2", 2]wordccup
differsEach step's tokens["18a.2", 2]singularccup
differsEach step's tokens["18a.2", 5]word/,
differsEach step's tokens["18a.2", 5]singular/,
differsEach step's tokens["18a.2", 7]wordtteaspoons
differsEach step's tokens["18a.2", 7]singulartteaspoon
differsEach step's tokens["18a.2", 9]word/,
differsEach step's tokens["18a.2", 9]singular/,
differsEach step's tokens["18a.2", 12]word/,
differsEach step's tokens["18a.2", 12]singular/,
differsEach step's tokens["18a.2", "k13"]kind—w
differsEach step's tokens["18a.2", "k13"]word—and
differsEach step's tokens["18a.2", "k13"]singular—and
differsEach step's tokens["18b.1", 0]wordsimmrsimmer
differsEach step's tokens["18b.1", 0]singularsimmrsimmer
differsEach step's tokens["18b.1", 2]wordmminutes
differsEach step's tokens["18b.1", 2]singularmminute
differsEach step's tokens["18c.1", 0]kindpw
differsEach step's tokens["18c.1", 0]word+add
differsEach step's tokens["18c.1", 0]singular+add
differsEach step's tokens["18c.1", 1]kindpn
differsEach step's tokens["18c.1", 1]word.25¼
differsEach step's tokens["18c.1", 1]singular.25¼
differsEach step's tokens["18c.1", 2]wordccup
differsEach step's tokens["18c.1", 2]singularccup
differsEach step's tokens["18c.1", 5]kindpw
differsEach step's tokens["18c.1", 5]word/and
differsEach step's tokens["18c.1", 5]singular/and
differsEach step's tokens["18d.1", 0]wordsimmrsimmer
differsEach step's tokens["18d.1", 0]singularsimmrsimmer
differsEach step's tokens["18d.1", 1]kindpw
differsEach step's tokens["18d.1", 1]word~until
differsEach step's tokens["18d.1", 1]singular~until
position shift (the step's text differs)Each step's tokens["18a.1", 0]end7172
position shift (the step's text differs)Each step's tokens["18a.1", 1]start7273
position shift (the step's text differs)Each step's tokens["18a.1", 1]end7374
position shift (the step's text differs)Each step's tokens["18a.1", 2]start7375
position shift (the step's text differs)Each step's tokens["18a.1", 2]end7481
position shift (the step's text differs)Each step's tokens["18a.1", 3]start7582
position shift (the step's text differs)Each step's tokens["18a.1", 3]end8087
position shift (the step's text differs)Each step's tokens["18a.1", 4]start8188
position shift (the step's text differs)Each step's tokens["18a.1", 4]end8592
position shift (the step's text differs)Each step's tokens["18a.1", 5]start8593
position shift (the step's text differs)Each step's tokens["18a.1", 5]end8697
position shift (the step's text differs)Each step's tokens["18a.1", 6]start8698
position shift (the step's text differs)Each step's tokens["18a.1", 6]end8799
position shift (the step's text differs)Each step's tokens["18a.1", 7]start87100
position shift (the step's text differs)Each step's tokens["18a.1", 7]end88111
position shift (the step's text differs)Each step's tokens["18a.1", 8]start89112
position shift (the step's text differs)Each step's tokens["18a.1", 8]end92115
position shift (the step's text differs)Each step's tokens["18a.2", 0]end13
position shift (the step's text differs)Each step's tokens["18a.2", 1]start24
position shift (the step's text differs)Each step's tokens["18a.2", 1]end45
position shift (the step's text differs)Each step's tokens["18a.2", 2]start46
position shift (the step's text differs)Each step's tokens["18a.2", 2]end59
position shift (the step's text differs)Each step's tokens["18a.2", 3]start610
position shift (the step's text differs)Each step's tokens["18a.2", 3]end1115
position shift (the step's text differs)Each step's tokens["18a.2", 4]start1216
position shift (the step's text differs)Each step's tokens["18a.2", 4]end1620
position shift (the step's text differs)Each step's tokens["18a.2", 5]start1620
position shift (the step's text differs)Each step's tokens["18a.2", 5]end1721
position shift (the step's text differs)Each step's tokens["18a.2", 6]start1722
position shift (the step's text differs)Each step's tokens["18a.2", 6]end2025
position shift (the step's text differs)Each step's tokens["18a.2", 7]start2026
position shift (the step's text differs)Each step's tokens["18a.2", 7]end2135
position shift (the step's text differs)Each step's tokens["18a.2", 8]start2236
position shift (the step's text differs)Each step's tokens["18a.2", 8]end2741
position shift (the step's text differs)Each step's tokens["18a.2", 9]start2741
position shift (the step's text differs)Each step's tokens["18a.2", 9]end2842
position shift (the step's text differs)Each step's tokens["18a.2", 10]start2843
position shift (the step's text differs)Each step's tokens["18a.2", 10]end2944
position shift (the step's text differs)Each step's tokens["18a.2", 11]start3045
position shift (the step's text differs)Each step's tokens["18a.2", 11]end3651
position shift (the step's text differs)Each step's tokens["18a.2", 12]start3651
position shift (the step's text differs)Each step's tokens["18a.2", 12]end3752
position shift (the step's text differs)Each step's tokens["18a.2", "k13"]start—53
position shift (the step's text differs)Each step's tokens["18a.2", "k13"]end—56
position shift (the step's text differs)Each step's tokens["18a.2", 13]start3757
position shift (the step's text differs)Each step's tokens["18a.2", 13]end4161
position shift (the step's text differs)Each step's tokens["18a.2", 14]start4262
position shift (the step's text differs)Each step's tokens["18a.2", 14]end4565
position shift (the step's text differs)Each step's tokens["18a.2", 15]start4666
position shift (the step's text differs)Each step's tokens["18a.2", 15]end5272
position shift (the step's text differs)Each step's tokens["18a.2", 16]start5272
position shift (the step's text differs)Each step's tokens["18a.2", 16]end5373
position shift (the step's text differs)Each step's tokens["18b.1", 0]end56
position shift (the step's text differs)Each step's tokens["18b.1", 1]start67
position shift (the step's text differs)Each step's tokens["18b.1", 1]end89
position shift (the step's text differs)Each step's tokens["18b.1", 2]start810
position shift (the step's text differs)Each step's tokens["18b.1", 2]end917
position shift (the step's text differs)Each step's tokens["18b.1", 3]start917
position shift (the step's text differs)Each step's tokens["18b.1", 3]end1018
position shift (the step's text differs)Each step's tokens["18c.1", 0]end13
position shift (the step's text differs)Each step's tokens["18c.1", 1]start24
position shift (the step's text differs)Each step's tokens["18c.1", 2]start56
position shift (the step's text differs)Each step's tokens["18c.1", 2]end69
position shift (the step's text differs)Each step's tokens["18c.1", 3]start710
position shift (the step's text differs)Each step's tokens["18c.1", 3]end1215
position shift (the step's text differs)Each step's tokens["18c.1", 4]start1316
position shift (the step's text differs)Each step's tokens["18c.1", 4]end1720
position shift (the step's text differs)Each step's tokens["18c.1", 5]start1721
position shift (the step's text differs)Each step's tokens["18c.1", 5]end1824
position shift (the step's text differs)Each step's tokens["18c.1", 6]start1825
position shift (the step's text differs)Each step's tokens["18c.1", 6]end1926
position shift (the step's text differs)Each step's tokens["18c.1", 7]start2027
position shift (the step's text differs)Each step's tokens["18c.1", 7]end2633
position shift (the step's text differs)Each step's tokens["18c.1", 8]start2734
position shift (the step's text differs)Each step's tokens["18c.1", 8]end3239
position shift (the step's text differs)Each step's tokens["18c.1", 9]start3239
position shift (the step's text differs)Each step's tokens["18c.1", 9]end3340
position shift (the step's text differs)Each step's tokens["18d.1", 0]end56
position shift (the step's text differs)Each step's tokens["18d.1", 1]start67
position shift (the step's text differs)Each step's tokens["18d.1", 1]end712
position shift (the step's text differs)Each step's tokens["18d.1", 2]start713
position shift (the step's text differs)Each step's tokens["18d.1", 2]end1218

Inputs

K1(s1) stepsevery step IS 15.3 receives, in order
stepL1K linetext
18a.118PORTUGAL ROJOES A CAMINHO (Pork Stew with Cumin, Lemon & Cilantro) Brwn 2# cubed pork/2T oil
18a.218+ .5c wt wine/1.5t cumin/1 garlc/s&p.
18b.118Simmr 25m.
18c.118+ .25c wt wine/1 sliced lemon.
18d.118Simmr ~thick
18d.218garnish cilantro.
Title words15.3.1's output
title word
&
a
caminho
cilantro
cumin
lemon
pork
portugal
rojoes
stew
with

Script result

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
18a.1 Brwn 2# cubed pork/2T oil
18a.2+ .5c white wine/1.5t cumin/1 garlic/salt and pepper.
18b.1Simmr 25m.
18c.1+ .25c white wine/1 sliced lemon.
18d.1Simmr ~thick
18d.2garnish cilantro.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
18a.10w6771brwnbrwn
18a.11n727322
18a.12p7374##
18a.13w7580cubedcubed
18a.14w8185porkpork
18a.15p8586//
18a.16n868722
18a.17w8788tt
18a.18w8992oiloil
18a.20p01++
18a.21p24.5.5
18a.22w45cc
18a.23w611whitewhite
18a.24w1216winewine
18a.25p1617//
18a.26n17201.51.5
18a.27w2021tt
18a.28w2227cumincumin
18a.29p2728//
18a.210n282911
18a.211w3036garlicgarlic
18a.212p3637//
18a.2——————
18a.213w3741saltsalt
18a.214w4245andand
18a.215w4652pepperpepper
18a.216p5253..
18b.10w05simmrsimmr
18b.11n682525
18b.12w89mm
18b.13p910..
18c.10p01++
18c.11p25.25.25
18c.12w56cc
18c.13w712whitewhite
18c.14w1317winewine
18c.15p1718//
18c.16n181911
18c.17w2026slicedsliced
18c.18w2732lemonlemon
18c.19p3233..
18d.10w05simmrsimmr
18d.11p67~~
18d.12w712thickthick
18d.20w07garnishgarnish
18d.21w816cilantrocilantro
18d.22p1617..

Answer key

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
18a.1 Brown 2 pounds cubed pork with 2 tablespoons oil
18a.2Add ½ cup white wine, 1.5 teaspoons cumin, 1 garlic, and salt and pepper.
18b.1Simmer 25 minutes.
18c.1Add ¼ cup white wine and 1 sliced lemon.
18d.1Simmer until thick
18d.2garnish cilantro.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
18a.10w6772brownbrown
18a.11n737422
18a.12w7581poundspound
18a.13w8287cubedcubed
18a.14w8892porkpork
18a.15w9397withwith
18a.16n989922
18a.17w100111tablespoonstablespoon
18a.18w112115oiloil
18a.20w03addadd
18a.21n45½½
18a.22w69cupcup
18a.23w1015whitewhite
18a.24w1620winewine
18a.25p2021,,
18a.26n22251.51.5
18a.27w2635teaspoonsteaspoon
18a.28w3641cumincumin
18a.29p4142,,
18a.210n434411
18a.211w4551garlicgarlic
18a.212p5152,,
18a.213w5356andand
18a.214w5761saltsalt
18a.215w6265andand
18a.216w6672pepperpepper
18a.217p7273..
18b.10w06simmersimmer
18b.11n792525
18b.12w1017minutesminute
18b.13p1718..
18c.10w03addadd
18c.11n45¼¼
18c.12w69cupcup
18c.13w1015whitewhite
18c.14w1620winewine
18c.15w2124andand
18c.16n252611
18c.17w2733slicedsliced
18c.18w3439lemonlemon
18c.19p3940..
18d.10w06simmersimmer
18d.11w712untiluntil
18d.12w1318thickthick
18d.20w07garnishgarnish
18d.21w816cilantrocilantro
18d.22p1617..