{"id":1566,"date":"2012-01-28T23:22:19","date_gmt":"2012-01-28T22:22:19","guid":{"rendered":"http:\/\/www.jurecuhalev.com\/blog\/?p=1566"},"modified":"2012-01-28T23:22:19","modified_gmt":"2012-01-28T22:22:19","slug":"visualizing-slovenian-coalition-agreement","status":"publish","type":"post","link":"https:\/\/www.jurecuhalev.com\/blog\/visualizing-slovenian-coalition-agreement\/","title":{"rendered":"Visualizing Slovenian coalition agreement"},"content":{"rendered":"<p>With the election of new Slovenian prime minister we also got formal <a href=\"http:\/\/www.sds.si\/news\/10492\">release of a Coalition agreement<\/a>. Since it&#8217;s a 72 page document, I was wondering what keywords would stand out. Here is the result:<\/p>\n<figure id=\"attachment_1567\" aria-describedby=\"caption-attachment-1567\" style=\"width: 550px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/sds-80-rc1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1567\" title=\"Pogodba za Slovenijo 2012 - 2015  - word cloud (top 80 words)\" src=\"https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/sds-80-rc1-550x363.png\" alt=\"\" width=\"550\" height=\"363\" srcset=\"https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/sds-80-rc1-550x363.png 550w, https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/sds-80-rc1.png 830w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-1567\" class=\"wp-caption-text\">Pogodba za Slovenijo 2012 - 2015 - word cloud (top 80 words)<\/figcaption><\/figure>\n<p>While we&#8217;re at it, we can also take a look at the <a href=\"http:\/\/pozitivnaslovenija.si\/sl-SI\/a-175\/kako-smo-se-pogajali\">coalition agreement that Pozitivna Slovenija prepared<\/a>. As we run them through the same process, we get:<\/p>\n<figure id=\"attachment_1568\" aria-describedby=\"caption-attachment-1568\" style=\"width: 550px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/ps-80-rc1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1568\" title=\"Koalicijska pogodba - Pozitivna Slovenija - 2012\" src=\"https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/ps-80-rc1-550x358.png\" alt=\"\" width=\"550\" height=\"358\" srcset=\"https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/ps-80-rc1-550x358.png 550w, https:\/\/www.jurecuhalev.com\/blog\/wp-content\/uploads\/2012\/01\/ps-80-rc1.png 840w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-1568\" class=\"wp-caption-text\">Koalicijska pogodba - Pozitivna Slovenija - 2012 (top 80 words)<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>A few words on how to reproduce this:<\/p>\n<ul>\n<li>Grab your favorite OCR software and convert scanned PDF into .docx<\/li>\n<li>From Word save it into .txt file<\/li>\n<li>Lemmatize the words so you normalize all the grammar rules<\/li>\n<li>Apply stop-words (in this case mostly: ministrstvo*, vlada, slovenija*, ..)<\/li>\n<li>Drop the resulting text into\u00a0wordle.net<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the election of new Slovenian prime minister we also got formal release of a Coalition agreement. Since it&#8217;s a 72 page document, I was wondering what keywords would stand out. Here is the result: While we&#8217;re at it, we can also take a look at the coalition agreement that Pozitivna Slovenija prepared. As we [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[359],"tags":[922,156,216,940,921],"class_list":["post-1566","post","type-post","status-publish","format-standard","hentry","category-visualization","tag-koalicijska-pogodba","tag-politics","tag-prime-minister","tag-visualization","tag-word-cloud"],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/1566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/comments?post=1566"}],"version-history":[{"count":4,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/1566\/revisions"}],"predecessor-version":[{"id":1572,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/posts\/1566\/revisions\/1572"}],"wp:attachment":[{"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/media?parent=1566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/categories?post=1566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jurecuhalev.com\/blog\/wp-json\/wp\/v2\/tags?post=1566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}