Skip to content

A markov text generator in multiple languages. Based on the book The Practice of Programming.

License

Notifications You must be signed in to change notification settings

Sqvid/markovPOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Markov chain text generator.

This is a simple implementation of a Markov chain text generator as described in the book The Practice of Programming by Kernighan and Pike.

The C implementation is very similar to the one from the book, except it is C99 compliant and frees all memory. The other implementations are from scratch.

Usage:

Pipe input from stdin into any of the binaries. That's it. Larger text will produce better (but still fairly deranged) output.

About

A markov text generator in multiple languages. Based on the book The Practice of Programming.

Topics

Resources

License

Stars

Watchers

Forks