Simple, lightweight and easy to read implementation of Markov chains and HMMs.
This is a toy project, don’t expect any exciting speeds or robustness.
pip3 install git+git://github.com/greenify/smarkov.git
git clone https://github.com/greenify/smarkov cd smarkov python3 setup.py develop
from smarkov import Markov chain = Markov(["AGACAGACGAC"])
Generate_text() generates exactly one element from the Markov chain. In other words: It goes in the Markov chain the universal start state to universal end state.
Documentation how to use it with HMM.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.