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.
- Host: GitHub
- URL: https://github.com/bongochong/mctext
- Owner: bongochong
- License: lgpl-3.0
- Created: 2017-04-27T05:50:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T17:36:58.000Z (over 2 years ago)
- Last Synced: 2025-02-16T15:16:14.693Z (over 1 year ago)
- Topics: binary, cpp, gnu, libboost, linux, markov-chain, markov-chains, posterity
- Language: C++
- Homepage:
- Size: 3.15 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
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.