An open API service indexing awesome lists of open source software.

https://github.com/bongochong/mctext

Repo for Guy Rutenberg's Markov Chain text generator, using the Boost C++ library. I don't do much on this except periodic recompiling.
https://github.com/bongochong/mctext

binary cpp gnu libboost linux markov-chain markov-chains posterity

Last synced: 2 months ago
JSON representation

Repo for Guy Rutenberg's Markov Chain text generator, using the Boost C++ library. I don't do much on this except periodic recompiling.

Awesome Lists containing this project

README

          

**MCText**

A clone of Guy Rutenberg's Markov Chain Text Generator using the Boost C++ library.

The [latest binary file](https://github.com/bongochong/mctext/blob/master/binary/mctext-(boost-1.81)) was compiled against libboost 1.81 in an x86_64 environment, and depends on the `boost-program-options` (or `libboost-program-options`) package. It is suitable for any x86_64 GNU/Linux distribution with that package installed. There are older binary files in this repository as well, for those with different versions of boost (though they will all only work on x86_64 processors).

Usage: `mctext -w[number of words] -s[number of steps] [FILE]`
Flags are optional.

To compile it yourself, download this repo, ensure that the boost development libraries and the gcc c++ compiler are installed, cd into the directory, and do the following:
`./configure` + any options you might want to include
`make`
Easy.

It's an interesting markov chain tool, and fun to play around with.

Original is here: https://www.guyrutenberg.com/2008/04/30/mctext-02-a-markov-chain-text-generator/ This repo exists in order to keep that nice little program accessible and open to future updates.