A basic random sentence generator using Markov Chains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Denis Thiessen caf3149cbd Updated for easier development. 1 year ago
.gitignore Updated for easier development. 1 year ago
LICENSE Initial commit 1 year ago
README.md Updated README with basic running information 1 year ago
sentence_generator.hs Updated for easier development. 1 year ago

README.md

RandomSentenceGenerator

A basic random sentence generator using Markov Chains.

How to run

First you need to supply a file called text.txt in the same directory as the final compiled program. Compile the program with a compiler like ghc. ("stack ghc sentence_generator.hs") Last, run this program with the length of the randomly generated sentence as a command line argument.