RosettaCodeData/Task/Execute-a-Markov-algorithm/Racket/execute-a-markov-algorithm-...

9 lines
189 B
Racket

> (R3 "I bought a B of As W my Bgage from T S.")
"I bought a bag of apples with my money from T shop."
> (R4 "_1111*11111_")
"11111111111111111111"
> (R5 "000000A000000")
"00011H1111000"