15.3.2 Clean and cut each step

POISSONS EN SAUCE AUX ARACHIDES (Fish in Groundnut Sauce) · photo-img-9556|16-18 · 6 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.

50 keyed cells differ, and 76 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.

Differencesevery keyed cell where the script and the key differ; real differences first
kindtablerowcolumnscriptanswer key
differsSteps as IS 15.3 reads them18a.1text as readBrwn 1.5# fish steaks/3t oilBrown 1.5 pounds fish steaks with 3 teaspoons oil
differsSteps as IS 15.3 reads them18b.1text as read+ 2c water/3 onion/4 chopped tomatoesAdd 2 cups water, 3 onion, and 4 chopped tomatoes
differsSteps as IS 15.3 reads them18b.2text as readsimmr 20m.simmer 20 minutes.
differsSteps as IS 15.3 reads them18c.1text as readStir in .25c peanut butter/1c liquid whisked.Stir in ¼ cup peanut butter and 1 cup liquid whisked.
differsSteps as IS 15.3 reads them18d.1text as read+fishAdd fish
differsSteps as IS 15.3 reads them18d.2text as readsimmr ~done.simmer until done.
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]wordtteaspoons
differsEach step's tokens["18a.1", 7]singulartteaspoon
differsEach step's tokens["18b.1", 0]kindpw
differsEach step's tokens["18b.1", 0]word+add
differsEach step's tokens["18b.1", 0]singular+add
differsEach step's tokens["18b.1", 2]wordccups
differsEach step's tokens["18b.1", 2]singularccup
differsEach step's tokens["18b.1", 4]word/,
differsEach step's tokens["18b.1", 4]singular/,
differsEach step's tokens["18b.1", 7]word/,
differsEach step's tokens["18b.1", 7]singular/,
differsEach step's tokens["18b.1", "k8"]kind—w
differsEach step's tokens["18b.1", "k8"]word—and
differsEach step's tokens["18b.1", "k8"]singular—and
differsEach step's tokens["18b.2", 0]wordsimmrsimmer
differsEach step's tokens["18b.2", 0]singularsimmrsimmer
differsEach step's tokens["18b.2", 2]wordmminutes
differsEach step's tokens["18b.2", 2]singularmminute
differsEach step's tokens["18c.1", 2]kindpn
differsEach step's tokens["18c.1", 2]word.25¼
differsEach step's tokens["18c.1", 2]singular.25¼
differsEach step's tokens["18c.1", 3]wordccup
differsEach step's tokens["18c.1", 3]singularccup
differsEach step's tokens["18c.1", 6]kindpw
differsEach step's tokens["18c.1", 6]word/and
differsEach step's tokens["18c.1", 6]singular/and
differsEach step's tokens["18c.1", 8]wordccup
differsEach step's tokens["18c.1", 8]singularccup
differsEach step's tokens["18d.1", 0]kindpw
differsEach step's tokens["18d.1", 0]word+add
differsEach step's tokens["18d.1", 0]singular+add
differsEach step's tokens["18d.2", 0]wordsimmrsimmer
differsEach step's tokens["18d.2", 0]singularsimmrsimmer
differsEach step's tokens["18d.2", 1]kindpw
differsEach step's tokens["18d.2", 1]word~until
differsEach step's tokens["18d.2", 1]singular~until
position shift (the step's text differs)Each step's tokens["18a.1", 0]end45
position shift (the step's text differs)Each step's tokens["18a.1", 1]start56
position shift (the step's text differs)Each step's tokens["18a.1", 1]end89
position shift (the step's text differs)Each step's tokens["18a.1", 2]start810
position shift (the step's text differs)Each step's tokens["18a.1", 2]end916
position shift (the step's text differs)Each step's tokens["18a.1", 3]start1017
position shift (the step's text differs)Each step's tokens["18a.1", 3]end1421
position shift (the step's text differs)Each step's tokens["18a.1", 4]start1522
position shift (the step's text differs)Each step's tokens["18a.1", 4]end2128
position shift (the step's text differs)Each step's tokens["18a.1", 5]start2129
position shift (the step's text differs)Each step's tokens["18a.1", 5]end2233
position shift (the step's text differs)Each step's tokens["18a.1", 6]start2234
position shift (the step's text differs)Each step's tokens["18a.1", 6]end2335
position shift (the step's text differs)Each step's tokens["18a.1", 7]start2336
position shift (the step's text differs)Each step's tokens["18a.1", 7]end2445
position shift (the step's text differs)Each step's tokens["18a.1", 8]start2546
position shift (the step's text differs)Each step's tokens["18a.1", 8]end2849
position shift (the step's text differs)Each step's tokens["18b.1", 0]end13
position shift (the step's text differs)Each step's tokens["18b.1", 1]start24
position shift (the step's text differs)Each step's tokens["18b.1", 1]end35
position shift (the step's text differs)Each step's tokens["18b.1", 2]start36
position shift (the step's text differs)Each step's tokens["18b.1", 2]end410
position shift (the step's text differs)Each step's tokens["18b.1", 3]start511
position shift (the step's text differs)Each step's tokens["18b.1", 3]end1016
position shift (the step's text differs)Each step's tokens["18b.1", 4]start1016
position shift (the step's text differs)Each step's tokens["18b.1", 4]end1117
position shift (the step's text differs)Each step's tokens["18b.1", 5]start1118
position shift (the step's text differs)Each step's tokens["18b.1", 5]end1219
position shift (the step's text differs)Each step's tokens["18b.1", 6]start1320
position shift (the step's text differs)Each step's tokens["18b.1", 6]end1825
position shift (the step's text differs)Each step's tokens["18b.1", 7]start1825
position shift (the step's text differs)Each step's tokens["18b.1", 7]end1926
position shift (the step's text differs)Each step's tokens["18b.1", "k8"]start—27
position shift (the step's text differs)Each step's tokens["18b.1", "k8"]end—30
position shift (the step's text differs)Each step's tokens["18b.1", 8]start1931
position shift (the step's text differs)Each step's tokens["18b.1", 8]end2032
position shift (the step's text differs)Each step's tokens["18b.1", 9]start2133
position shift (the step's text differs)Each step's tokens["18b.1", 9]end2840
position shift (the step's text differs)Each step's tokens["18b.1", 10]start2941
position shift (the step's text differs)Each step's tokens["18b.1", 10]end3749
position shift (the step's text differs)Each step's tokens["18b.2", 0]end56
position shift (the step's text differs)Each step's tokens["18b.2", 1]start67
position shift (the step's text differs)Each step's tokens["18b.2", 1]end89
position shift (the step's text differs)Each step's tokens["18b.2", 2]start810
position shift (the step's text differs)Each step's tokens["18b.2", 2]end917
position shift (the step's text differs)Each step's tokens["18b.2", 3]start917
position shift (the step's text differs)Each step's tokens["18b.2", 3]end1018
position shift (the step's text differs)Each step's tokens["18c.1", 2]end119
position shift (the step's text differs)Each step's tokens["18c.1", 3]start1110
position shift (the step's text differs)Each step's tokens["18c.1", 3]end1213
position shift (the step's text differs)Each step's tokens["18c.1", 4]start1314
position shift (the step's text differs)Each step's tokens["18c.1", 4]end1920
position shift (the step's text differs)Each step's tokens["18c.1", 5]start2021
position shift (the step's text differs)Each step's tokens["18c.1", 5]end2627
position shift (the step's text differs)Each step's tokens["18c.1", 6]start2628
position shift (the step's text differs)Each step's tokens["18c.1", 6]end2731
position shift (the step's text differs)Each step's tokens["18c.1", 7]start2732
position shift (the step's text differs)Each step's tokens["18c.1", 7]end2833
position shift (the step's text differs)Each step's tokens["18c.1", 8]start2834
position shift (the step's text differs)Each step's tokens["18c.1", 8]end2937
position shift (the step's text differs)Each step's tokens["18c.1", 9]start3038
position shift (the step's text differs)Each step's tokens["18c.1", 9]end3644
position shift (the step's text differs)Each step's tokens["18c.1", 10]start3745
position shift (the step's text differs)Each step's tokens["18c.1", 10]end4452
position shift (the step's text differs)Each step's tokens["18c.1", 11]start4452
position shift (the step's text differs)Each step's tokens["18c.1", 11]end4553
position shift (the step's text differs)Each step's tokens["18d.1", 0]end13
position shift (the step's text differs)Each step's tokens["18d.1", 1]start14
position shift (the step's text differs)Each step's tokens["18d.1", 1]end58
position shift (the step's text differs)Each step's tokens["18d.2", 0]end56
position shift (the step's text differs)Each step's tokens["18d.2", 1]start67
position shift (the step's text differs)Each step's tokens["18d.2", 1]end712
position shift (the step's text differs)Each step's tokens["18d.2", 2]start713
position shift (the step's text differs)Each step's tokens["18d.2", 2]end1117
position shift (the step's text differs)Each step's tokens["18d.2", 3]start1117
position shift (the step's text differs)Each step's tokens["18d.2", 3]end1218

Inputs

K1(s1) stepsevery step IS 15.3 receives, in order
stepL1K linetext
18a.118Brwn 1.5# fish stks/3t oil
18a.218rmv.
18b.118+ 2c h2O/3 onion/4 chopd toms
18b.218simmr 20m.
18c.118Stir in .25c pnut butter/1c liquid whisked.
18d.118+fish
18d.218simmr ~done.
Title words15.3.1's output
title word
arachides
aux
en
fish
groundnut
in
poissons
sauce

Script result

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
18a.1Brwn 1.5# fish steaks/3t oil
18a.2remove.
18b.1+ 2c water/3 onion/4 chopped tomatoes
18b.2simmr 20m.
18c.1Stir in .25c peanut butter/1c liquid whisked.
18d.1+fish
18d.2simmr ~done.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
18a.10w04brwnbrwn
18a.11n581.51.5
18a.12p89##
18a.13w1014fishfish
18a.14w1521steakssteak
18a.15p2122//
18a.16n222333
18a.17w2324tt
18a.18w2528oiloil
18a.20w06removeremove
18a.21p67..
18b.10p01++
18b.11n2322
18b.12w34cc
18b.13w510waterwater
18b.14p1011//
18b.15n111233
18b.16w1318oniononion
18b.17p1819//
18b.1——————
18b.18n192044
18b.19w2128choppedchopped
18b.110w2937tomatoestomato
18b.20w05simmrsimmr
18b.21n682020
18b.22w89mm
18b.23p910..
18c.10w04stirstir
18c.11w57inin
18c.12p811.25.25
18c.13w1112cc
18c.14w1319peanutpeanut
18c.15w2026butterbutter
18c.16p2627//
18c.17n272811
18c.18w2829cc
18c.19w3036liquidliquid
18c.110w3744whiskedwhisked
18c.111p4445..
18d.10p01++
18d.11w15fishfish
18d.20w05simmrsimmr
18d.21p67~~
18d.22w711donedone
18d.23p1112..

Answer key

Steps as IS 15.3 reads themeach step's text after the cleaning
steptext as read
18a.1Brown 1.5 pounds fish steaks with 3 teaspoons oil
18a.2remove.
18b.1Add 2 cups water, 3 onion, and 4 chopped tomatoes
18b.2simmer 20 minutes.
18c.1Stir in ¼ cup peanut butter and 1 cup liquid whisked.
18d.1Add fish
18d.2simmer until done.
Each step's tokenskind, start, end, word, singular (rows lined up token for token)
steptoken #kindstartendwordsingular
18a.10w05brownbrown
18a.11n691.51.5
18a.12w1016poundspound
18a.13w1721fishfish
18a.14w2228steakssteak
18a.15w2933withwith
18a.16n343533
18a.17w3645teaspoonsteaspoon
18a.18w4649oiloil
18a.20w06removeremove
18a.21p67..
18b.10w03addadd
18b.11n4522
18b.12w610cupscup
18b.13w1116waterwater
18b.14p1617,,
18b.15n181933
18b.16w2025oniononion
18b.17p2526,,
18b.18w2730andand
18b.19n313244
18b.110w3340choppedchopped
18b.111w4149tomatoestomato
18b.20w06simmersimmer
18b.21n792020
18b.22w1017minutesminute
18b.23p1718..
18c.10w04stirstir
18c.11w57inin
18c.12n89¼¼
18c.13w1013cupcup
18c.14w1420peanutpeanut
18c.15w2127butterbutter
18c.16w2831andand
18c.17n323311
18c.18w3437cupcup
18c.19w3844liquidliquid
18c.110w4552whiskedwhisked
18c.111p5253..
18d.10w03addadd
18d.11w48fishfish
18d.20w06simmersimmer
18d.21w712untiluntil
18d.22w1317donedone
18d.23p1718..