markov.py

Here’s my generalized markov module. Note that as it exists, it only does single word chains and expects a “#” character as paragraph delimiter. Feel free to tweak it. I’ll post some examples shortly.

I pasted the code here for convenience:

http://scrying.org/doku.php?id=workshop:generative

Leave a Reply