Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 435 Bytes

README.rdoc

File metadata and controls

13 lines (7 loc) · 435 Bytes

Text Generator

A random text generator using an underlying Markov chain model.

Usage

To generate text using seed data from the input file:

ruby generate.rb source/frankenstein.txt

which will generate a Markov chain from the input text and produce a randomly generated sentence:

Nearly all that I quitted your triumph over which ran through the cause of the hue of the reverse of the permission to bid a superior to speak.