News for hackers. Stuff that matters.
Re:Markov chain algorithm in Go by gburt on Friday April 26, 2013 @08:56PM (#5616349)
I implemented this in PHP yesterday if anyone is interested:

https://github.com/gburtini/Learning-Library-for-PHP/blob/ma...

Edit: the thread above me is talking about bigram implementations, mine supports n-gram by setting the variable $degree when you train to anything you like. By default, its 1-gram.

There are no comments on this comment yet.