8 ms·
Last year I made a pseudo-random text generator based on Markov Chains as a summer project to learn C++: https://github.com/nmaggioni/MarkovText https://github.
by nmaggioni 11y ago
Last year I made a pseudo-random text generator based on Markov Chains as a summer project to learn C++: https://github.com/nmaggioni/MarkovText https://github.com/nmaggioni/MarkovText
It's in Italian since it just was an hobby project and I didn't spend too much time adapting it for the public domain, but it may be interesting for someone.
- herval 11y agoI have a Twitter bot that makes up book passages combining books from the Gutenberg project: https://twitter.com/markovian_lit https://twitter.com/markovian_lit Code is also on GitHub if it interests anyone - not the prettiest, but it was fun to build :-)
- michaelfeathers 11y agoHere's a Ruby version in 16 lines of code: https://gist.github.com/michaelfeathers/2cf9e1599e06d0563f2e https://gist.github.com/michaelfeathers/2cf9e1599e06d0563f2e