STDIN takes in any amount of text. That text is split very simply by spaces into "lexemes," which form a Markov chain. The program then generates 100 words of random text based on this Markov chain and prints it to STDOUT.
pixlark / haskov-chains Goto Github PK
View Code? Open in Web Editor NEWMarkov chains in Haskell
License: BSD 3-Clause "New" or "Revised" License