I am working on Markov chains, and I would like to know about effective algorithms for constructing probability transition matrices (of order n), given the text file as input.
I do not follow one algorithm, but I would like to create a list of such algorithms. Documents on such algorithms are also more than welcome, as are any terminology tips, etc. Please note that this question has strong similarities with n-gram identification algorithms.
Any help would be greatly appreciated.
source
share