Markov chain: Difference between revisions

1 byte added ,  22:42, 22 March 2023
m
no edit summary
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
A markov chain, used in the context of Caves of Qud, is a method of generating new text using a "corpus" of existing text. The game pulls from two files [[File locations|in the base game directory]]: <code>QudCorpus.txt</code>, which is a compilation of all of the game's dialogue, descriptions, quest info, and help text; and <code>LibraryCorpus.txt</code> which is a collection of public domain books from Project Gutenberg. Some specific titles include [https://www.gutenberg.org/ebooks/29444 <i>The Machinery of the Universe: Mechnaical Concepts of Physical Phenomena</i>] and [https://www.gutenberg.org/ebooks/38687 <i>Zoological Mythology; or, The Legends of Animals</i>].This method of generation is used to generate text for white-titled [[books]], [[telepathy|dreaming creatures]], graffiti, urn engravings, and {{favilink|glowcrow}} dialogue.
A markov chain, used in the context of Caves of Qud, is a method of generating new text using a "corpus" of existing text. The game pulls from two files [[File locations|in the base game directory]]: <code>QudCorpus.txt</code>, which is a compilation of all of the game's dialogue, descriptions, quest info, and help text; and <code>LibraryCorpus.txt</code> which is a collection of public domain books from Project Gutenberg. Some specific titles include [https://www.gutenberg.org/ebooks/29444 <i>The Machinery of the Universe: Mechnaical Concepts of Physical Phenomena</i>] and [https://www.gutenberg.org/ebooks/38687 <i>Zoological Mythology; or, The Legends of Animals</i>]. This method of generation is used to generate text for white-titled [[books]], [[telepathy|dreaming creatures]], graffiti, urn engravings, and {{favilink|glowcrow}} dialogue.


Jason Greenblat, aka Ptychomancer, also had a talk at the International Roguelike Celebration about markov generation:
Jason Greenblat, aka Ptychomancer, also had a talk at the International Roguelike Celebration about markov generation: