{"id":8120,"date":"2012-05-07T09:00:48","date_gmt":"2012-05-07T13:00:48","guid":{"rendered":"http:\/\/mith.umd.edu\/?p=8120"},"modified":"2020-10-08T16:02:16","modified_gmt":"2020-10-08T20:02:16","slug":"why-use-visualizations-to-study-poetry","status":"publish","type":"post","link":"https:\/\/mith.umd.edu\/why-use-visualizations-to-study-poetry\/","title":{"rendered":"Why use visualizations to study poetry?"},"content":{"rendered":"<p>The research I am doing presently uses visualizations to show latent patterns that may be detected in a set of poems using computational tools, such as topic modeling. In particular, I\u2019m looking at poetry that takes visual art as its subject, a genre called ekphrasis, in an attempt to distinguish the types of language poets tend to invoke when creating a verbal art that responds to a visual one. Studying words\u2019 relationships to images and then creating more images to represent those patterns calls to mind a longstanding contest between modes of representation\u2014which one represents information \u201cbetter\u201d? Since my research is dedicated to revealing the potential for collaborative and kindred relationships between modes of representation historically seen in competition with one another, using images to further demonstrate patterns of language might be seen as counter-productive. Why use images to make literary arguments? Do images tell us something \u201cnew\u201d that words cannot?<\/p>\n<p>Without answering that question, I\u2019d like instead to present an instance of when using images (visualizations of data) to \u201csee\u201d language led to an improved understanding of the kinds of questions we might ask and the types of answers we might want to look for that wouldn\u2019t have been possible had we not seen them differently\u2014through graphical array.<\/p>\n<p>Currently, I\u2019m using a tool called MALLET to create a model of the possible \u201ctopics\u201d found in a set of 276 ekphrastic poems. There are already several excellent explanations of what topic modeling is and how it works (many thanks to <a href=\"http:\/\/web.archive.org\/web\/20120520111910\/https:\/\/www.stanford.edu\/~mjockers\/cgi-bin\/drupal\/node\/61\">Matt Jockers<\/a>, <a href=\"http:\/\/tedunderwood.wordpress.com\/2012\/04\/07\/topic-modeling-made-just-simple-enough\/\">Ted Underwood<\/a>, and <a href=\"http:\/\/www.scottbot.net\/HIAL\/?p=221\">Scott Weingart<\/a> who posted these explanations with humanists in mind), so I\u2019m not going to spend time explaining what the tool does here; however, I will say that working with a set of 276 poems is atypical. Topic modeling was designed to work on millions of words, and 276 poems doesn\u2019t even come close; however, part of the project has been to determine a threshold at which we can get meaningful results from a small dataset. So, this particular experiment is playing with the lower thresholds of the tool\u2019s usefulness.<\/p>\n<p>When you run a topic model (train-topics) in MALLET, you tell the program how many topics to create, and when the model runs, it can output a variety of results. As part of the tinkering process, I\u2019ve been working with the number of topics to have MALLET use in order to generate the model, and was just about to despair that the real tests I wanted to run wouldn\u2019t be possible at 276 poems. Perhaps it was just too few poems to find recognizable patterns. For each topic assignment, MALLET assigns an ID number to the topic and \u201ctopic keys\u201d as keywords for that topic. Usually, when the topic model is working, the results are \u201creadable\u201d because they represent similar language. MALLET would not call a topic \u201cSea,\u201d for example, but might instead provide the following keywords:<\/p>\n<blockquote><p>blue, water, waves, sea, surface, turn, green, ship, sail, sailor, drown<\/p><\/blockquote>\n<p>The researcher would look at those terms and think, \u201cOh, clearly that\u2019s a nautical\/sea\/sailing\u201d topic, and dub it as such. My results, however, on 15 topics over 276 poems were not readable in the same way. For example, topic 3 included the following topic keys:<\/p>\n<blockquote><p>3 0.04026 with self portrait him god how made shape give thing centuries image more world dread he lands down back protest shaped dream upon will rulers lords slave gazes hoe future<\/p><\/blockquote>\n<p>I don\u2019t blame you if you don\u2019t see the pattern there. I didn\u2019t. Except, well, knowing some of the poems in the set pretty well, I know that it put together \u201cLandscape with the Fall of Icarus\u201d by W.C. Williams with \u201cThe Poem of Jacobus Sadoletus on the Statue of Laocoon\u201d with \u201cThe New Colossus\u201d with \u201cThe Man with the Hoe Written after Seeing the Painting by Millet.\u201d I could see that we had lots of kinds of gods represented, farming, and statues, but that\u2019s only because I knew the poems. Without topic modeling, I might put this category together as a \u201cmasters\u201d grouping, but it\u2019s not likely. Rather than look for connections, I was focused on the fact that the topic keys didn\u2019t make a strong case for their being placed together, and other categories seemed similarly opaque. However, just to be sure that I could, in fact, visualize results of future tests, I went ahead and imported the topic associations by file. In other words, MALLET can also produce a file that lists each topic (0-14 in this case) with each file name in the dataset and a percentage. The percentage represents the degree to which the topic is represented inside each file. I imported the MALLET output of topics and files associated with them into Google Fusion Tables and created a dynamic bar graph that collects file-ids along the vertical axis and along the horizontal axis can be found the degree that the given topic (in this case topic 3) is present in the file. As I clicked through each topic\u2019s graph, I figured I was seeing results that demonstrated MALLET\u2019s confusion, since the dataset was so small. But then I saw this:<\/p>\n<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 hundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-bottom: 0px;margin-top: 0px;border-width: 0px 0px 0px 0px;border-color:#eae9e9;border-style:solid;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last fusion-column-no-min-height\" style=\"margin-top:0px;margin-bottom:0px;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\">[Below should be a Google Visualization. You may need to \u201crefresh\u201d your browser page to see it. If you still cannot see it, a static version of the file is visible <a href=\"http:\/\/www.lisarhody.com\/wp-content\/uploads\/2012\/04\/gazer-spirit_visualization.jpg\">here<\/a>.]\n<p><iframe src=\"https:\/\/www.google.com\/fusiontables\/embedviz?&amp;containerId=gviz_canvas&amp;q=select+col0%2C+col4+from+3650097+&amp;qrs=where+col0+%3E%3D+&amp;qre=+and+col0+%3C%3D+&amp;qe=+limit+247&amp;viz=GVIZ&amp;t=BAR&amp;width=650&amp;height=450\" width=\"700\" height=\"500\" frameborder=\"no\" scrolling=\"yes\"><\/iframe><\/p>\n<p>If the graph\u2019s visualization is working, when you pass your mouse over the lines in the bar graph, the ones that are higher than 0.4, then the file-id number (a random number assigned during the course of preparing the data) appears. Each of these files begin with the same prefix: GS. In my dataset, that means that the files with the highest representation of topic 3 in them can all be found in John Hollander\u2019s collection <em>The Gazer\u2019s Spirit<\/em>. This anthology is considered to be one of the most authoritative and diverse\u2014beginning with classical ekphrasis all the way up to and including poems from the 1980s and 1990s. I had expected, given the disparity in time periods, that the poems from this collection would be the most difficult to group together because the diction of the poems changes dramatically from the beginning of the volume to the end. In other words, I would have expected the poems to blend with the other ekphrastic poems throughout the dataset more in terms of their similar diction than by anything else. MALLET has no way of knowing that these files are included in the same anthology. All of the bibliographical information about the poems has been stripped from the text being tested. There has to be something else. What something else might be requires another layer of interpretation. I will need to return to the topic model to see if a similar pattern is present when I use other numbers of topics\u2014or if I include some non-ekphrastic poems to the set being tested\u2014but seeing the affinity in language between the poems included in <em>The Gazer\u2019s Spirit<\/em> in contrast to other ekphrastic poems proved useful. Now, I\u2019m not inclined to throw the whole test away, but instead to perform more tests to see if this pattern emerges again in other circumstances. I\u2019m not at square one. I\u2019m at a square 2 that I didn\u2019t expect.<\/p>\n<p>The visualization in the end didn\u2019t produce \u201cnew knowledge.\u201d It isn\u2019t hard to imagine that an editor would choose poems that construct a particular argument about what \u201cbest\u201d represents a particular genre of poetry; however, if these poems did truly represent the diversity of ekphrastic verse, wouldn\u2019t we see other poems also highly associated with a \u201c<em>Gazer\u2019s Spirit<\/em> topic\u201d? What makes these poems stand out so clearly from others of their kind? Might their similarity mark a reason for why critics of the 90s and 2000s define the tropes, canons, and traditions of ekphrasis in a particular vein? I\u2019m now returning to the test and to the texts to see what answers might exist there that I and others have missed as close readers. Could we, for instance, run an analysis that determines how closely other kinds of ekphrasis are associated with <em>Gazer\u2019s Spirit\u2019s<\/em> definition of ekphrasis? Is it possible that poetry by male poets is more frequently associated with that strain of ekphrastic discourse than poetry by female poets?<\/p>\n<p>This particular visualization doesn\u2019t make an \u201cargument\u201d in the way humanists are accustomed to making them. It doesn\u2019t necessarily produce anything wholly \u201cnew\u201d that couldn\u2019t have been discovered some other way; however, it did help this researcher get past a particular kind of blindness and helped me to see alternatives\u2014to consider what has been missed along the way\u2014and there is, and will be, something new in that.<\/p>\n<p><em>Lisa Rhody\u00a0is a Ph.D. candidate in English at the University of Maryland, a Spring 2012 MITH Winnemore Dissertation Fellow, and a lecturer on the arts for the Virginia Museum of Fine Arts. This post first appeared on <a href=\"http:\/\/lisa.therhodys.net\/2012\/04\/why-use-visualizations-to-study-poetry\/\" target=\"_blank\" rel=\"noopener noreferrer\">Lisa&#8217;s personal blog<\/a> on April 30th, 2012.<\/em><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><style type=\"text\/css\">.fusion-fullwidth.fusion-builder-row-1 { overflow:visible; }<\/style><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The research I am doing presently uses visualizations to show latent patterns that may be detected in a set of poems using computational tools, such [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[71,77,78],"tags":[171,196],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why use visualizations to study poetry? &ndash; Maryland Institute for Technology in the Humanities<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mith.umd.edu\/why-use-visualizations-to-study-poetry\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why use visualizations to study poetry? &ndash; Maryland Institute for Technology in the Humanities\" \/>\n<meta property=\"og:description\" content=\"The research I am doing presently uses visualizations to show latent patterns that may be detected in a set of poems using computational tools, such [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mith.umd.edu\/why-use-visualizations-to-study-poetry\/\" \/>\n<meta property=\"og:site_name\" content=\"Maryland Institute for Technology in the Humanities\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/UMD.MITH\" \/>\n<meta property=\"article:published_time\" content=\"2012-05-07T13:00:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-08T20:02:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mith.umd.edu\/wp-content\/uploads\/2018\/10\/MITH-logostack-square-grn.png\" \/>\n\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mith.umd.edu\/#website\",\"url\":\"https:\/\/mith.umd.edu\/\",\"name\":\"Maryland Institute for Technology in the Humanities\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/mith.umd.edu\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mith.umd.edu\/why-use-visualizations-to-study-poetry\/#webpage\",\"url\":\"https:\/\/mith.umd.edu\/why-use-visualizations-to-study-poetry\/\",\"name\":\"Why use visualizations to study poetry? &ndash; Maryland Institute for Technology in the Humanities\",\"isPartOf\":{\"@id\":\"https:\/\/mith.umd.edu\/#website\"},\"datePublished\":\"2012-05-07T13:00:48+00:00\",\"dateModified\":\"2020-10-08T20:02:16+00:00\",\"author\":{\"@id\":\"https:\/\/mith.umd.edu\/#\/schema\/person\/9acdaeb2878994fe345f982c5de0c011\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mith.umd.edu\/why-use-visualizations-to-study-poetry\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/mith.umd.edu\/#\/schema\/person\/9acdaeb2878994fe345f982c5de0c011\",\"name\":\"Lisa Rhody\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/mith.umd.edu\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b5d0ef559db409fff4c887079c30ee37?s=96&d=mm&r=g\",\"caption\":\"Lisa Rhody\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/posts\/8120"}],"collection":[{"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/comments?post=8120"}],"version-history":[{"count":1,"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/posts\/8120\/revisions"}],"predecessor-version":[{"id":21204,"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/posts\/8120\/revisions\/21204"}],"wp:attachment":[{"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/media?parent=8120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/categories?post=8120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mith.umd.edu\/wp-json\/wp\/v2\/tags?post=8120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}