An implementation of second-order Markov chains for text generation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Markov Chain for Text

An implementation of second-order Markov Chains for text generation.

For usage, see example file, which shows the two ways to train the Markov Chain:

  • with a single string as the training set
  • or a list of filenames

Example text files are also included.

Happy text generating!