Markov algorithm: Difference between revisions

Content deleted Content added
m Algorithm: reword
Line 16:
===Algorithm===
#Check the Rules in order from top to bottom to see whether any of the strings to the left of the arrow can be found in the Symbol string.
#If none are found, thestop algorithmexecuting the haltsAlgorithm.
#If one is found, replace the matching text in the Symbol string with the text to the right of the arrow in the corresponding Rule.
#Return to step 1 and carry on.