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
|
1 year ago | |
---|---|---|
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
sentence_generator.hs | 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.