Monday, July 18, 2005

Markov Chain Fun

I spent that last few days fiddling with Markov chains. I've got a word generation program now that works well.

It can produce a visual graph of the Markov chain itself and can analyze n-length patterns (I don't the terminology here). The only problem is the graph stuff (for display purposes, the actual frequency graph is fine). I'm using an opensource library and it seems to have a problem when I update the control in a second thread. I'll have to check the docs.

Other than that it's all very nice. Needs to be able to load and save frequency data to be extremely useful but that shouldn't be too hard.

I would upload a nifty picture of it but bloggers photo service doesn't seem to play well with the firefox tab extension and I can't find the "special exceptions for the following pages" option :(

No comments: