{"id":60,"date":"2022-02-24T20:32:24","date_gmt":"2022-02-24T20:32:24","guid":{"rendered":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/?page_id=60"},"modified":"2022-03-09T23:06:30","modified_gmt":"2022-03-09T23:06:30","slug":"sentiment-analysis","status":"publish","type":"page","link":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/sentiment-analysis\/","title":{"rendered":"Sentiment Analysis"},"content":{"rendered":"\n<p><strong>What is sentimental analysis?<\/strong><\/p>\n\n\n\n<p>Sentiment analysis is the computational process of extracting the subjective mood (typically on a spectrum from negative to positive) from a particular piece of text. Sentiment analysis uses a wide range of fields from machine learning, natural language processing, text analysis, to biometrics (analysis of people&#8217;s behaviors and physical appearance). Sentiment analysis is often used in the corporate world with companies using it to analyze their advertisements and emails. to make sure that they are sharing the right sentiment. It is also often used to analyze online reviews for hotels and products.<\/p>\n\n\n\n<p><strong>Why sentimental analysis?<\/strong><\/p>\n\n\n\n<p>Carleton&#8217;s library had an abundant amount of microfiches from a wide variety of sources. However, it was difficult to find a large dataset that was interesting and relevant to analyze. Thus, we selected the college advertising material. Austin Mason recommended sentiment analysis to us as a potential analyzing strategy. Initially, we wanted to compare and contrast the sentiments of advertising material from different colleges and departments to get a better sense of the colleges&#8217; temperament to themselves.<\/p>\n\n\n\n<p><strong>Process<\/strong><\/p>\n\n\n\n<p>Initially, we wanted to compare six sections (Introduction, English, chemistry, political science, and art of the college marketing material ) across the four types of college (Public universities, HBCUs, liberal arts colleges, and community colleges). We were able to scan and find all of these for the four types of colleges; however, to do sentiment analysis, you need some form of extractable text from the scanned PDFs. The results from Adobe acrobat were indecipherable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"804\" src=\"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-2.53.01-PM-1024x804.png\" alt=\"\" class=\"wp-image-123\" srcset=\"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-2.53.01-PM-1024x804.png 1024w, https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-2.53.01-PM-300x236.png 300w, https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-2.53.01-PM-768x603.png 768w, https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-2.53.01-PM.png 1194w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Here is an example of the scan and below is what Adobe Acrobat produced from this PDF.<\/figcaption><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>Hielory.\n\nCtrteton College _... lourtdH by tM MlnMIOta Corif~nce of Congrega-\ntional Chu(Ches, undff the rwn\u2022 of Northa.ld Coll., on Novftftber 14, \u00b71866.\n\nPreparatory tchool dMIN bepn i.n S.ptetnbttt, 1861, but it_... not til 1810\n. . that tlw lln\u2022ttnd James W. Stroftg took olltt \u2022 th\u2022 Int pt'Niclen , h\u2022\n\u2022 collea\u2022 d ... _...\u00b7formed, ind the Int on-ampus building_... begun. It_...\n111\"C1 1t th\u2022 outwt tha aftn on\u2022 ye.u formal chutth control thould end, but\nthroughout lti fo,.u.ttv\u2022 yean, th\u2022 College received algniftcant support ind\n~Ndton from th\u2022 Congregational chutthea. AJthou,h .it t. now autonomOUI\nand non-eectarian, th\u2022 CoU.g\u2022 tttp\u00abta thew hbtorkal tift and gives continuing\nncognition to \u00b7\u2022h\u2022m through m\u2022mbenhip ln the Cound1 for H'&amp;hn Education\nof t_h\u2022 United Chutth of Chrilt. \u2022 .\nly th\u2022 fall of 1871, the Nm\u2022 of the Collep been changed to honor 1n\n8rly b.ntPflCtor, William C.rl~on 9 Charlettown, M\u20221chuwtts, who earlier\nthat ynr had bestow.cl I gift of S50.000 on the \u2022ti:ugling young college. At th.\ntime, lt WII th\u2022 largest 1ingl\u2022 contribution ever m.,de to a weetem ~liege, and. it\nwu ,nade unconditaoruilJy, wjth no design that the.name of the Colleg\u2022 thould\nbe changed The College nuffntly has an endowment of $182 million and IIM'ta\nv.iued\u2022t\u00b7li,28'million . \u2022 \u2022 \u2022\nCarl\u2022ton hM alway\u00b7\u2022 been a co-edaational institution. The original graduating\nct.. in 181, wu compoeed of one man and one woman who follow.cl simi~r\nacademic program., C.rldon's.curttnt enJ'Qllment of 1,800 continun to include\nMar~y ~u\u2022I numbt-n of men and women.<\/code><\/pre>\n\n\n\n<p>Therefore, we essentially had to decrease the scope of content we were hoping to analyze as the only way we could continue is if we transcribed the files by hand (which is extremely time-consuming and labor-intensive). We ended up going with manual transcription and decided to look at the introduction of four colleges of each type: Carleton College, Howard University, University of California Los Angeles, and Windward College. Each manually-transcribed introduction contains the first 500 or so words found in the microfiche. These transcribed files were then ready for sentiment analysis<\/p>\n\n\n\n<p>We used a pre-trained sentiment analysis model from <a href=\"https:\/\/monkeylearn.com\/\">MonkeyLearn<\/a>. There are dozens of other sentiment analysis software and tools, but MonkeyLearn was the most accessible as others required training your own model and intense coding that none of us were familiar with.<\/p>\n\n\n\n<p>MonkeyLearn is quite simple for sentiment analysis. We just put the transcribed introductions into the text box where MonkeyLearn gave the percentage of the sentiment (either positive or negative). For further details on how to do sentiment analysis on your text, <a href=\"https:\/\/hh2022.amason.sites.carleton.edu\/week-9-project-preparation\/sentiment-analysis-with-monkey-learn\/\">check out this tutorial.<\/a><\/p>\n\n\n\n<p>Picture of MonkeyLearn<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"442\" src=\"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-1.48.36-PM-1024x442.png\" alt=\"\" class=\"wp-image-121\" srcset=\"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-1.48.36-PM-1024x442.png 1024w, https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-1.48.36-PM-300x129.png 300w, https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-1.48.36-PM-768x331.png 768w, https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-1.48.36-PM-1536x663.png 1536w, https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-content\/uploads\/2022\/03\/Screen-Shot-2022-03-08-at-1.48.36-PM.png 1836w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>An example of the sentiment analysis on the UCLA introduction.<\/figcaption><\/figure>\n\n\n\n<p><strong>Results<\/strong><\/p>\n\n\n\n<p>Here are the results from the sentiment analysis:<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table><tbody><tr><td class=\"has-text-align-right\" data-align=\"right\">College<\/td><td>Percentage<\/td><\/tr><tr><td class=\"has-text-align-right\" data-align=\"right\">Carleton<\/td><td>71.3% Positive<\/td><\/tr><tr><td class=\"has-text-align-right\" data-align=\"right\">Howard<\/td><td>97.3% Positive<\/td><\/tr><tr><td class=\"has-text-align-right\" data-align=\"right\">UCLA<\/td><td>53.7% Negative<\/td><\/tr><tr><td class=\"has-text-align-right\" data-align=\"right\">Winward<\/td><td>98.7% Positive<\/td><\/tr><\/tbody><\/table><figcaption>Results<\/figcaption><\/figure>\n\n\n\n<p>Carleton, Howard, and Winward have all positive sentiments while UCLA has a neutral to negative sentiment. It makes sense that most colleges have positive sentiments in their advertising as they want people to attend their college. UCLA, however, is negative which does not make much sense. It may be the fact that UCLA is a popular public school that decided not to spend as much money and time on their advertising compared to their contemporaries. This is just a small sample of the text (roughly 500 words), so it makes us wonder if we had transcribed the entire brochure if would have different results. Moreover, we also are interested to know if there is ever a case when you may not want a positive sentiment in your writing.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"entry-summary\">\nWhat is sentimental analysis? Sentiment analysis is the computational process of extracting the subjective mood (typically on a spectrum from negative to positive) from a particular piece of text. Sentiment analysis uses a wide range of fields from machine learning, natural language processing, text analysis, to biometrics (analysis of people&#8217;s behaviors and physical appearance). Sentiment&hellip;\n<\/div>\n<div class=\"link-more\"><a href=\"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/sentiment-analysis\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &ldquo;Sentiment Analysis&rdquo;<\/span>&hellip;<\/a><\/div>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"acf":[],"_links":{"self":[{"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/pages\/60"}],"collection":[{"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":8,"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/pages\/60\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/pages\/60\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/hhfinals.dgah.sites.carleton.edu\/microfiche\/wp-json\/wp\/v2\/media?parent=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}