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.
 

386 B

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.