{"id":426,"date":"2015-12-15T14:06:00","date_gmt":"2015-12-15T14:06:00","guid":{"rendered":"http:\/\/mathesonmarcault.com\/?p=426"},"modified":"2016-01-08T13:16:41","modified_gmt":"2016-01-08T13:16:41","slug":"randomly-generated-title-goes-here","status":"publish","type":"post","link":"http:\/\/mathesonmarcault.com\/index.php\/2015\/12\/15\/randomly-generated-title-goes-here\/","title":{"rendered":"The History of Text Generation"},"content":{"rendered":"<p>Over the last couple of weeks I&#8217;ve seen a lot of people write\u00a0interestingly about computer-generated text &#8211; partly as a result of <a href=\"https:\/\/github.com\/dariusk\/NaNoGenMo-2015\">National Novel Generation Month<\/a>, which ran through November and prompted some really lovely generated texts.<\/p>\n<p>And as I read, I started wondering\u00a0about the history of text generation. Not the twentieth century stuff, the Dadaists and William Burroughs and all the later\u00a0work\u00a0that happened once computers came into the picture. The old stuff, from the nineteenth century and before. &#8220;This won&#8217;t take long,&#8221; I thought. &#8220;There can&#8217;t have been much going on.&#8221;<\/p>\n<p>So hey, I was up till 3 last night reading and guess what: it turns out I was\u00a0<em>really really wrong.<\/em> There&#8217;s been a\u00a0<em>ton\u00a0<\/em>of text generation going on\u00a0over the past thousand years, and it&#8217;s\u00a0fascinating stuff. Most of it\u00a0comes from writers\u00a0who really feel like they&#8217;d be making deeply confusing\u00a0experimental games if only they hadn&#8217;t died back in the 1680s.<\/p>\n<p><!--more--><\/p>\n<div id=\"attachment_435\" style=\"width: 888px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/fivefold-ring.png\"><img aria-describedby=\"caption-attachment-435\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-435 size-large\" src=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/fivefold-ring-878x1024.png\" alt=\"fivefold ring\" width=\"878\" height=\"1024\" srcset=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/fivefold-ring-878x1024.png 878w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/fivefold-ring-257x300.png 257w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/fivefold-ring.png 1200w\" sizes=\"(max-width: 878px) 100vw, 878px\" \/><\/a><p id=\"caption-attachment-435\" class=\"wp-caption-text\">Image from Beinecke Digital Collections, Yale<\/p><\/div>\n<p>Like<strong> George Philipp Harsd\u00f6rffer.<\/strong><\/p>\n<p>Oh my god, this guy.\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Georg_Philipp_Harsd\u00f6rffer\">George Philipp Harsd\u00f6rffer<\/a>\u00a0was a German poet in the 1600s who belonged to a literary society where his codename was\u00a0&#8220;the Player&#8221; (well, &#8220;der Spielende&#8221;: he&#8217;s German, after all). He sounds\u00a0<em>amazing.<\/em><\/p>\n<ul>\n<li>He experimented with putting letters onto dice and pieces of wood to move them around and make anagrams &#8211; partly to help kids learn to read, and partly just for fun.<\/li>\n<li>He planned\u00a0a\u00a0ballet<strong>\u00a0<\/strong>where <strong>the dancers<\/strong>\u00a0<strong>carried around different letters<\/strong> so that they would create word fragments as they moved &#8211; though it looks like he never actually got around to making this one happen.<\/li>\n<li>And he created the\u00a0<strong>F\u00fcnffacher Denckring der Teutschen Sprache <\/strong>in 1651, which you can see above. This contraption (which translates as &#8220;The Five-fold Thought-ring of the German Language&#8221;) was a set of five concentric circles with letters and word fragments written on them: prefixes on one ring, starting letters on another, then middle letters, ending letters and finally suffixes. The idea was that you stacked the circles together and twisted them\u00a0around independently to generate different words to act as poetic inspiration. You could\u00a0leave the end-word rings\u00a0in place while twisting around the start-word\u00a0rings, so it acts as a kind of rhyming dictionary. You could make an existing word and then change a syllable or two to see what happend. Or you could\u00a0just twist all the circles round to make new words and look at them and think about what they would mean if they were real.<\/li>\n<\/ul>\n<p><strong>Volvelles<\/strong><\/p>\n<p>There&#8217;s a word for this sort of object, a set of concentric paper circles that rotate independently:\u00a0<em>volvelle.\u00a0<\/em>And Harsd\u00f6rffer wasn&#8217;t the first to use them. Reports differ, but it looks like they were developed\u00a0at least partly by\u00a0astronomer <a href=\"https:\/\/en.wikipedia.org\/wiki\/Al-Biruni\">Al-Biruni<\/a>\u00a0for &#8211; well &#8211; astronomy, with Catalan scholar <a href=\"http:\/\/history-computer.com\/Dreamers\/Llull.html\">Ramon Llull<\/a>\u00a0helping to popularise them in Europe.<\/p>\n<p>They were used for <a href=\"http:\/\/freawaru.tumblr.com\/post\/132476970444\/maedchenimmond-one-of-twelve-volvelles-in\">encrypting and decrypting secret messages<\/a>\u00a0too, and for automating tasks like figuring out the date of Easter, and for combining different concepts in an unpredictable way to prompt thoughts about the universe (this was Llull&#8217;s thing) &#8211; and eventually for generating\u00a0texts.<\/p>\n<p><strong>Lottery Books<\/strong><\/p>\n<p>&#8220;Bibliomancy&#8221; was already a familiar idea when volvelles came to Europe. You pose\u00a0a question to the universe, and then choose a random passage from a book\u00a0in order to answer that question. The Ancient Romans did it with Virgil; \u00a0Rabelais, writing in the sixteenth century, has <a href=\"http:\/\/www.gutenberg.org\/files\/1200\/1200-h\/1200-h.htm#link32HCH0010\">Pantagruel and Panurge<\/a> give it a try:<\/p>\n<blockquote><p>&#8220;Bring hither Virgil&#8217;s poems, that after having opened the book, and with our fingers severed the leaves thereof three several times, we may, according to the number agreed upon betwixt ourselves, explore the future hap of your intended marriage. For frequently by a Homeric lottery have many hit upon their destinies&#8230;&#8221;<\/p><\/blockquote>\n<p>But &#8220;lottery books&#8221; (or &#8220;lossbuchs&#8221;, since they were particularly popular in Germany) are a different thing: a book deliberately intended for use in foretelling the future, full of poems and sentences and fragments and advice.<\/p>\n<p>Readers would pose a question and then use one of several different systems to alight on a particular passage that would provide an answer.\u00a0Jessen Lee Kelly&#8217;s\u00a0<em>Renaissance Futures\u00a0<\/em>summarises the most popular methods as:<\/p>\n<ul>\n<li>Casting dice (usually three dice);<\/li>\n<li>Narrowing down the potential answers through choosing a particular subject from a list at the start of the book, and then selecting randomly from the answers remaining; or<\/li>\n<li>Turning\u00a0a pointer around a circle and stopping at a random point, then following instructions based on where the pointer ended up. Yep, it&#8217;s a <strong>volvelle<\/strong> again!<\/li>\n<\/ul>\n<p>Kelly recounts as an example a 1523 book with a volvelle\u00a0where the pointer was a unicorn with a horn; wherever the unicorn horn stopped, it would direct you to a passage that would answer your question.<\/p>\n<p>Kelly\u00a0also points out\u00a0that the volvelle isn&#8217;t a\u00a0<em>spinner\u00a0<\/em>as we imagine it &#8211; the pointer doesn&#8217;t turn loosely, but instead has to be pushed. So it&#8217;s not an entirely random decision like the casting of dice. Instead, it&#8217;s &#8220;blind choice&#8221;. You, the reader, choose when to stop pushing the pointer &#8211; you just don&#8217;t know what the passage that it directs you to is going to say,\u00a0almost like a\u00a0<em>Choose Your Own Adventure <\/em>rather than a traditional fortunetelling process.<\/p>\n<div id=\"attachment_434\" style=\"width: 525px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/withers.png\"><img aria-describedby=\"caption-attachment-434\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-434 size-large\" src=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/withers-515x1024.png\" alt=\"withers\" width=\"515\" height=\"1024\" srcset=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/withers-515x1024.png 515w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/withers-151x300.png 151w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/withers.png 604w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><\/a><p id=\"caption-attachment-434\" class=\"wp-caption-text\">Image from Heavenly Monkey Books<\/p><\/div>\n<p>And like a\u00a0<em>Choose Your Own Adventure<\/em>, sometimes the choice would lead to a dead end &#8211; see for example this from George Wither&#8217;s\u00a0<em><a href=\"http:\/\/www.newberry.org\/withers-volvelles\">A Collection of Emblemes, Ancient and Moderne<\/a><\/em>\u00a0 from 1635 (shown above):<\/p>\n<blockquote><p>Your Fortune, hath deserved thank,<br \/>\nThat she, on you, bestowes a Blank,<br \/>\nFor, as you nothing good, have had;<br \/>\nSo, you, have nothing, that is bad.<\/p><\/blockquote>\n<p>Kelly also notes that lottery books were intended to be\u00a0social, framed with declarations like: &#8220;this game goes together with good wine \/ in that place where good society is practiced&#8221;. They&#8217;re for laughing at with friends,\u00a0for taking turns, for having a nice time.<\/p>\n<p><strong>The Zairja<\/strong><\/p>\n<p>But not all divination\u00a0is suitable for a quick party. The volvelle as brought to Europe by Llull\u00a0probably relates to\u00a0the\u00a0zairja, an <em>extremely<\/em>\u00a0complicated\u00a0form of prophecy used around the 1200s or 1300s by Arabic astrologers.<\/p>\n<p>A zairja is the\u00a0<em>most complicated thing<\/em>. The best summary I&#8217;ve found in English is this <a href=\"http:\/\/www.alpha60.de\/research\/scrambling_truth\/DavidLink_ScramblingTruth2010_100dpi.pdf\">50-page article<\/a>\u00a0by David Link, full of sentences like:<\/p>\n<blockquote><p>The first column contains the number of the cycle, the second the vertical movement in the \u201cside of eight\u201d, and the third, the horizontal movement on the \u201cfront\u201d. In the fourth column, the resulting location of the pointer is found, following the numbering introduced in Figure 10 and specifying first the x, and then the y position.<\/p><\/blockquote>\n<p>But in short: you ask a question of the world. The zairja &#8211; through a series of volvelle-like\u00a0circles\u00a0and lookup tables\u00a0&#8211; takes the letters of that question and the position of the stars\u00a0at the time it was asked and, through a series of complex transformations, generates a new set of letters as an answer.<\/p>\n<p>The circles aren&#8217;t volvelles as such, since they don&#8217;t rotate, but they&#8217;re definitely in the same family of concentric circles whose contents can relate to each other in different ways, and consensus is that they inspired Llull and his further development of the volvelle proper.<\/p>\n<div id=\"attachment_436\" style=\"width: 562px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/zairja.png\"><img aria-describedby=\"caption-attachment-436\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-436 size-full\" src=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/zairja.png\" alt=\"zairja\" width=\"552\" height=\"537\" srcset=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/zairja.png 552w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/zairja-300x292.png 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/a><p id=\"caption-attachment-436\" class=\"wp-caption-text\">Image from Link, below.<\/p><\/div>\n<p>The letters generated by the zairja\u00a0are all consonants &#8211; which means that there&#8217;s almost certainly a way to interpret them as a meaningful response to the\u00a0question that was asked, \u00a0interpolating the vowel sounds that make sense of them and turning them into two lines of poetry. (&#8220;The fact that only consonants are written down in Semitic languages permits the meaningful interpretation of many random permutations of symbols, which seems rather incredible seen from the point of view of the vowel alphabet&#8221;, Link&#8217;s essay notes.)<\/p>\n<p>Abd ar-Rahm\u0101n Ibn Khald\u016bn, also\u00a0quoted in the essay above, witnessed the zairja in action in 1377, initially sceptical of the idea that these letters could really be generated by a purely mechanical process, but quickly convinced:<\/p>\n<blockquote><p>\u201cMany people lack the understanding necessary for belief in the genuineness of the operation and its effectiveness in discovering the object of enquiry. They deny its soundness and believe that it is hocus-pocus. The practitioner, they believe, inserts the letters of a verse he (himself) composes as he wishes, from the\u00a0letters of question and chord. He follows the described technique, which has no system or norm, and then he produces his verse, pretending that it was the result of an operation that followed an established procedure.This reasoning is baseless and wrong.[\u2026] In order to refute this [\u2026], it is sufficient for us (to refer to the fact) that the technique has been observed in operation and that it has been definitely and intelligently established that the operation follows a coherent procedure and sound norms.&#8221;<\/p><\/blockquote>\n<p><strong>Text Generation<\/strong><\/p>\n<p>In these cases, the lottery book and the zairja, text generation\u00a0is used with the ultimate motive of foretelling the future.\u00a0The text isn&#8217;t there just for its own sake.<\/p>\n<p>But that doesn&#8217;t mean there weren&#8217;t\u00a0volvelles where the deliberate point was to create combinatorial poetry! We just need to look at slightly later writers.<\/p>\n<p>For example, here&#8217;s a poem originally by\u00a0Niccol\u00f2 da Lucca in \u201cCynosura Mariana\u201d, as revised by\u00a0\u00a0Juan Caramuel de Lobkowitz in the seventeenth century:<\/p>\n<div id=\"attachment_432\" style=\"width: 651px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/maria-stella.png\"><img aria-describedby=\"caption-attachment-432\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-432 size-full\" src=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/maria-stella.png\" alt=\"maria-stella\" width=\"641\" height=\"638\" srcset=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/maria-stella.png 641w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/maria-stella-150x150.png 150w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/maria-stella-300x300.png 300w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><\/a><p id=\"caption-attachment-432\" class=\"wp-caption-text\">Image from Heger, below.<\/p><\/div>\n<p>Like the zairja it&#8217;s\u00a0not\u00a0a volvelle, quite, since the circles don&#8217;t actually rotate &#8211; but it&#8217;s clearly created in a context where people are familiar with volvelles. You can take any word from the central\u00a0ring before moving to the next and taking another word, and so on &#8211; by the time you reach the edge of the circle, you&#8217;ve created a line of poetry. Then&#8230; just repeat until you&#8217;ve got a poem of the length of your choosing.<\/p>\n<p>If you want to give it a go yourself, there&#8217;s a neat\u00a0<a href=\"http:\/\/permutations.pleintekst.nl\/lobkowitz\/maria_stella\/maria_stella.cgi\">online implemenation<\/a>\u00a0of the poem that lets you pick words from dropdown menus, or alternatively just\u00a0generates lines for you at random.<\/p>\n<p>The poem itself appears in Caramuel&#8217;s\u00a0<em>Metametrica,<\/em>\u00a0from 1663. <em>Metametrica\u00a0<\/em>has puzzles, proposals, labyrinths, some poems by Caramuel, some by others: pretty much everything you could want if you&#8217;re into seventeenth century experimental poetry. And it&#8217;s probably\u00a0a good place to stop for now, because\u00a0there&#8217;s a\u00a0<em>lot\u00a0<\/em>to say about it, and about Caramuel more generally. For example, here&#8217;s an advance peek at a poem generator to come&#8230;<\/p>\n<div id=\"attachment_433\" style=\"width: 670px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/tabula.png\"><img aria-describedby=\"caption-attachment-433\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-433 size-full\" src=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/tabula.png\" alt=\"tabula\" width=\"660\" height=\"437\" srcset=\"http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/tabula.png 660w, http:\/\/mathesonmarcault.com\/newwp\/wp-content\/uploads\/2015\/12\/tabula-300x199.png 300w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/a><p id=\"caption-attachment-433\" class=\"wp-caption-text\">Image from Heger again.<\/p><\/div>\n<p>&nbsp;<\/p>\n<p><strong>Further Reading<\/strong><\/p>\n<p>David Link. 2010. &#8220;<a href=\"http:\/\/www.alpha60.de\/research\/scrambling_truth\/DavidLink_ScramblingTruth2010_100dpi.pdf\">Scrambling T-R-U-T-H: Rotating Letters as a Material Form of Thought<\/a>&#8220;.\u00a0<em>Variantology 4. On Deep Time Relations of Arts, Sciences and Technologies in the Arabic\u2013Islamic World.<\/em><\/p>\n<p>Dick Higgins. 1987.\u00a0<i><a href=\"https:\/\/books.google.co.uk\/books?id=vLNjq4New-MC\">Pattern Poetry: Guide to an Unknown Literature<\/a>.<\/i><\/p>\n<p>Eleonora Vita Heger. <a href=\"http:\/\/www.ulu-late.com\/english\/visualpoetry\/chapter09.htm\">&#8220;The Pattern of the Labyrinth and the Permutational Poem&#8221;<\/a>. \u00a0<em>The Word Shows Its Body: the vicissitudes of the historical development of the visual element in poetry from the alexandrinian period to contemporary experimentalis.<\/em><\/p>\n<p>Jan C. Westerhoff. 1999. &#8220;<a href=\"http:\/\/www.scribd.com\/doc\/230401445\/Westerhoff-Poeta-Calculans-Harsdorffer-Leibniz-And-the-Mathesis-Universalis\">Poeta Calculans:\u00a0Harsd\u00f6rffer, Leibniz, and the mathesis universalis<\/a>&#8220;.\u00a0<em>Journal of the History of Ideas.<\/em><\/p>\n<p>Jessen Lee Kelly. 2011. <em><a href=\"http:\/\/Renaissance Futures: Chance, Prediction, and Play in Northern European Visual Culture, c. 1480-1550\">Renaissance Futures: Chance, Prediction, and Play in Northern European Visual Culture, c. 1480-1550.<\/a><\/em><\/p>\n<p>J\u00f6rgen Sch\u00e4fer. 2006. <a href=\"http:\/\/cybertext.hum.jyu.fi\/articles\/77.pdf\">Literary Machines Made in Germany: German Proto-Cybertexts from the Baroque Era to the Present<\/a>.<\/p>\n<p>Kevin J. Hayes. 1997.\u00a0<em>Folklore and Book Culture.<\/em><\/p>\n<p>Michelle Gravelle, Anah Mustapha, and Coralee Leroux. 2012. &#8220;<a href=\"http:\/\/drc.usask.ca\/projects\/archbook\/volvelles.php\">Volvelles<\/a>&#8220;. <em>Architectures of the Book.\u00a0<\/em><\/p>\n<p>Rollin Milroy. 2014.\u00a0<a href=\"http:\/\/heavenlymonkeybooks.blogspot.co.uk\/2014_04_01_archive.html\">&#8220;Heavenly Monkey Books:: Leaves from Withers Book of Emblems&#8221;<\/a>.<\/p>\n<p>Whitney Trettien. 2009. <em><a href=\"http:\/\/whitneyannetrettien.com\/thesis\/\">Computers, Cut-Ups and Combinatory Volvelles: an Archaeology of Text-Generating Mechanisms<\/a><\/em>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the last couple of weeks I&#8217;ve seen a lot of people write\u00a0interestingly about computer-generated text &#8211; partly as a result of National Novel Generation Month, which ran through November and prompted some really lovely generated texts. And as I read, I started wondering\u00a0about the history of text generation. Not the twentieth century stuff, the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":443,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[15,3,9,7],"tags":[],"_links":{"self":[{"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/posts\/426"}],"collection":[{"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/comments?post=426"}],"version-history":[{"count":22,"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/posts\/426\/revisions"}],"predecessor-version":[{"id":455,"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/posts\/426\/revisions\/455"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/media\/443"}],"wp:attachment":[{"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/media?parent=426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/categories?post=426"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mathesonmarcault.com\/index.php\/wp-json\/wp\/v2\/tags?post=426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}