Last month I was trawling through old issues of BYTE programming magazine on the internet archive
https://archive.org/details/byte-magazine-1984-11/page/n129/mode/2upand found an interesting article on Travesty, a 'parody text generator'.
It uses a basic form of Markov Chain text generation, taking a source text and outputting a nonsensical mashup of the text.
The article included Pascal and Basic source code listings of the program. So I translated it to Free Pascal and added a GUI that lets you choose a source text and play around with the parameters.
It's a fun little program, the source code is here
https://github.com/cyberfilth/travestyYou can read more about the program on Wikipedia,
https://en.wikipedia.org/wiki/Dissociated_press it's an interesting read.