Chef: Heuristic for verb past tense conversion
Add a heuristic method for converting verb to past tense by appending d/ed to end of the present tense form.
This commit is contained in:
@ -355,14 +355,14 @@ describe("Parsing method instructions", () => {
|
||||
});
|
||||
|
||||
test("`Verb` [the `ingredient`] until `verbed`", () => {
|
||||
testMethodOp("Destroy until bake", {
|
||||
testMethodOp("Destroy until baked", {
|
||||
code: "LOOP-CLOSE",
|
||||
verb: "bake",
|
||||
verb: "baked",
|
||||
opener: JumpAddressPlaceholder,
|
||||
});
|
||||
testMethodOp("Destroy the tomato ketchup until bake", {
|
||||
testMethodOp("Destroy the tomato ketchup until baked", {
|
||||
code: "LOOP-CLOSE",
|
||||
verb: "bake",
|
||||
verb: "baked",
|
||||
ing: "tomato ketchup",
|
||||
opener: JumpAddressPlaceholder,
|
||||
});
|
||||
|
@ -18,14 +18,14 @@ Fold numbers into 2nd mixing bowl.
|
||||
Put numbers into 2nd mixing bowl.
|
||||
Calculate the numbers.
|
||||
Serve with salt and pepper.
|
||||
Ponder the numbers until calculate.
|
||||
Ponder the numbers until calculated.
|
||||
Add cheese to 2nd mixing bowl.
|
||||
Add cheese to 2nd mixing bowl.
|
||||
Fold numbers into 2nd mixing bowl.
|
||||
Move the numbers.
|
||||
Fold cheese into mixing bowl.
|
||||
Put cheese into 2nd mixing bowl.
|
||||
Transfer the numbers until move.
|
||||
Transfer the numbers until moved.
|
||||
Pour contents of the 2nd mixing bowl into the baking dish.
|
||||
|
||||
Serves 1.
|
||||
|
@ -38,7 +38,7 @@ Stir the mixing bowl for 4 minutes.
|
||||
Liquefy the contents of the mixing bowl.
|
||||
Pour contents of the mixing bowl into the baking dish.
|
||||
bake the cake mixture.
|
||||
Wait until bake.
|
||||
Wait until baked.
|
||||
Serve with chocolate sauce.
|
||||
|
||||
chocolate sauce.
|
||||
@ -56,7 +56,7 @@ Put sugar into the mixing bowl.
|
||||
Put hot water into the mixing bowl.
|
||||
Put heated double cream into the mixing bowl.
|
||||
dissolve the sugar.
|
||||
agitate the sugar until dissolve.
|
||||
agitate the sugar until dissolved.
|
||||
Liquefy the dark chocolate.
|
||||
Put dark chocolate into the mixing bowl.
|
||||
Liquefy the milk chocolate.
|
||||
|
Reference in New Issue
Block a user