Markov

From Support

Jump to: navigation, search

This page describes a User Script. Scripts are simple programs that do cool and/or useful stuff. This is not an official Netsoc script, use it at your own risk.

Markov is a simple Markov Chain Generator. This program was written by Brian Brazil in Python. It is located at ~bbrazil/bin/markov on Spoon and Matrix.

It takes in text on the standard input, and will output 100 generated strings on the standard output.

Usage

$ ~bbrazil/bin/markov <  /usr/share/common-licenses/GPL
running for
countries not
control the
.
.
.
those who places the user how to

It works best with larger input sets.


irc_to_markov

irc_to_markov is a wrapper around markov which takes in irssi logs on the standard input, processes them and passes them on to markov. It is located at ~bbrazil/bin/irc_to_markov on Spoon and Matrix.

Personal tools