3 ms·
I'm also curious. I wrote a Markov text generator in Lisp a few months ago (https://github.com/jl2/markov https://github.com/jl2/markov), and had fun generatin
by jlarocco 12y ago
I'm also curious.
I wrote a Markov text generator in Lisp a few months ago (https://github.com/jl2/markov https://github.com/jl2/markov), and had fun generating text using some old sci-fi books from Project Gutenberg and some documentation we use at work (Fiber Channel and ISCSI specs), but the sentences mine generated weren't as coherent as these.
I'm curious if this is generating thousands of sentences and only posting the best, if it used the basic algorithm and a ton of sample text, or if it's using a more advanced algorithm.
I was planning on making mine use parts of speech to help avoid some of the nonsense sentences, but never got around to it. And it would be harder to find source text to feed into it.
- brananaphone 12y agoIt's a fairly trivial markov chain text generator that I manually scan for good results. To make it easier, I've got it colorizing output based on the source corpus, so I can see where there's crossover. Then I just generate a wall of text and look for gems where the colors change. It's an incredibly unsophisticated process