Talk:Execute a Markov algorithm: Difference between revisions

m
Line 72:
replace =. 2 ;@:A. >@:{:@:[ ; (0 , 1 {:: [) }.&.> (split~ >@:{.)~
checkRule =. rule match txt
txt =. 1 {:: ]
rule =. {~ >@:{.
match =. ] ; (>@:{.@:[ index ]) ; [ NB. txt ; index ; pattern ; replacement ; terminating
Anonymous user