I want to create this Markov Chain in C#. I need to know if there is any other structure other than adjacency list which can work better in this situation. Also how can I use the existing .Net collection type to implement this.
Generating Text in Shakespearean English with Markov Chains Markovify is a python library that brands itself as “A simple, extensible Markov chain generator. Uses include generating random semi-plausible sentences based on an existing text.”. And I must admit, it is incredibly easy and fast to use.
QuickGraph is really good general purpose graph library. It has some implementations for walking Markov Chains. I recommend checking out the source code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With