<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rachel Wolff on Medium]]></title>
        <description><![CDATA[Stories by Rachel Wolff on Medium]]></description>
        <link>https://medium.com/@rachel_39895?source=rss-66d647306c56------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6F5BbqpDXZB-Eqo_</url>
            <title>Stories by Rachel Wolff on Medium</title>
            <link>https://medium.com/@rachel_39895?source=rss-66d647306c56------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 03:24:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rachel_39895/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Quick Introduction to Sentiment Analysis]]></title>
            <link>https://medium.com/data-science/quick-introduction-to-sentiment-analysis-74bd3dfb536c?source=rss-66d647306c56------2</link>
            <guid isPermaLink="false">https://medium.com/p/74bd3dfb536c</guid>
            <category><![CDATA[sentiment-analysis]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Rachel Wolff]]></dc:creator>
            <pubDate>Fri, 06 Mar 2020 14:14:44 GMT</pubDate>
            <atom:updated>2020-03-09T14:07:14.034Z</atom:updated>
            <content:encoded><![CDATA[<h4>What is sentiment analysis, how to perform it, and how it can help your business.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*TUqC3XRqvzErhnFC4h1Rcw@2x.png" /><figcaption>Source: <a href="https://monkeylearn.com/">MonkeyLearn</a></figcaption></figure><p><a href="https://monkeylearn.com/sentiment-analysis/">Sentiment analysis</a> is the automated process of determining whether a text expresses a positive, negative, or neutral opinion about a product or topic. By using sentiment analysis, companies don’t have to spend endless hours tagging customer data such as survey responses, reviews, support tickets, and social media comments.</p><p>Sentiment analysis helps companies monitor their brand reputation on social media, gain insights from customer feedback, and much more!</p><p>In this post, we’ll go into more detail about what sentiment analysis is, how to perform it, and how it can help your business.</p><p>Let’s go!</p><h3>How Does Sentiment Analysis Work?</h3><p>Sentiment analysis uses Natural Language Processing (NLP) methods and algorithms, including:</p><ul><li><strong>Rules-Based Systems: </strong>using a set of manually crafted rules</li><li><strong>Automatic systems</strong>: rely on machine learning techniques to learn from data</li><li><strong>Hybrid systems</strong>: combine both rule-based and automatic approaches</li></ul><h3>Rules-Based Sentiment Analysis Systems:</h3><p>To identify polarity, this method defines a set of rules using Natural Language Processing (NLP) techniques (like tokenization, stemming, and parsing) alongside manually crafted rules.</p><p>First, you’ll need to define two lists of opposing words (e.g. negative words such as bad, worst, ugly, etc and positive words such as good, best, beautiful, etc). Once a rule-based system has been fed these predefined lists, it will count the number of positive and negative words that appear in a text, returning a positive sentiment if there are more positive than negative words, and vice versa.</p><p>However, this method doesn’t take into account word sequences within texts, such as, ‘the UX ain’t that great’. While ‘ain’t that great’ expresses negativity, rule-based systems will detect the word ‘great’ and add it to the list of positives.</p><p>Now, being a rule-based system, you can implement new rules to take into account new vocabulary and expressions, but systems can become quite complex and hard to maintain with so many rules. As a result, these systems require large investments to fine tune and maintain.</p><h3>Automatic Sentiment Analysis Systems</h3><p>These systems don’t rely on manually crafted rules, but on machine learning techniques, such as classification. Classification, which is used for sentiment analysis, is an automatic system that needs to be fed sample text before returning a category, e.g. positive, negative, or neutral.</p><p>There are two stages involved in implementing automatic systems:</p><ol><li>Training</li><li>Prediction</li></ol><p>In the training stage, a sentiment analysis model learns to correctly tag a text as <em>negative, neutral </em>or<em> positive</em> using sample data. The feature extractor then transforms the text into a feature vector, creating pairs of feature vectors and tags (e.g. positive, negative, or neutral) that are fed into the machine learning algorithm to generate a model.</p><p>In the prediction process, the feature extractor is used to transform unseen text into feature vectors, which are fed to the model, enabling it to make sentiment predictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w6FMzraZmFZw3lje" /><figcaption>Source: <a href="https://monkeylearn.com/">MonkeyLearn</a></figcaption></figure><h3>Hybrid Sentiment Analysis Systems</h3><p>As the name suggests, hybrid systems combine rule-based and automatic techniques, and often deliver more accurate results.</p><h3>Why Is Sentiment Analysis Important?</h3><p>Companies are receiving more information than ever before via social media, surveys, online reviews, emails, and other channels. But, <a href="https://learn.g2.com/structured-vs-unstructured-data">did you know that 80% of this data is unstructured</a>? So, if you want to analyze this data to get insights about your customers opinions, you’ll need to sort it first.</p><p>For example, let’s imagine you just launched a new product and carried out a survey to see what your customers thought. The survey was really successful, and you received 1000 open-ended responses. That’s great, but you have limited resources, so it’s gonna take forever to read and analyze them.</p><p>Performing sentiment analysis, however, can save you time, effort, and resources when analyzing your survey responses. It’s far more efficient than manually sorting data because it’s completely automated, meaning your team can focus on more urgent and important tasks.</p><p>Let’s take a look at the benefits of sentiment analysis in more detail:</p><ul><li><strong>Scalability</strong></li></ul><p>Businesses today receive huge amounts of information — <a href="https://www.domo.com/learn/data-never-sleeps-5?aid=ogsm072517_1&amp;sf100871281=1">more than 2.5 quintillion bytes of data are produced daily!</a> This makes it almost impossible for human agents to manually analyze this data accurately and efficiently. Instead, machine learning models for sentiment analysis can automatically tag your texts in just seconds, whether you receive 50 or 5,000 survey responses, reviews or social media comments.</p><ul><li><strong>Real-Time Analysis</strong></li></ul><p>Urgent issues will often arise, and they’ll need to be dealt with immediately. A complaint on Twitter, for example, could quickly escalate into a PR crisis if it goes viral. While it might be difficult for your team to identify a crisis before it happens, it’s very easy for machine learning tools to spot these situations in real time.</p><ul><li><strong>Consistent Criteria</strong></li></ul><p>Let’s imagine you carried out a customer satisfaction survey and received this response: “The support agent was fast but very rude”. How would you tag it? <em>Positive</em>, <em>Negative</em>, or <em>Neutral</em>? As you can see, identifying the sentiment of a text manually isn’t always straightforward. Some of your teammates might classify texts differently according to their beliefs and experience. And if they are bored or tired, they might end up making mistakes, or even change their criteria over time!</p><p>Machine learning models for sentiment analysis, on the other hand, apply consistent criteria at all times, plus they never get tired or bored.</p><h3>What Is Sentiment Analysis Used For?</h3><p>Let’s take a look at how sentiment analysis is already being used:</p><h3>Political Analysis</h3><p>Sentiment analysis can be used for political analysis.</p><p>In 2016, the US elections were being discussed by millions of people on Twitter worldwide. We wanted to find out the general public’s opinion about each candidate, and <a href="https://monkeylearn.com/blog/trump-vs-hillary-sentiment-analysis-twitter-mentions/">performed sentiment analysis on all tweets mentioning each of the candidates</a>, for example:</p><ul><li>“@HillaryClinton will receive the first question at tonight’s presidential debate, according to @CBSNews #ClintonVsTrump”.<br>Sentiment: <em>Neutral</em>.</li><li>“Americans trust @realDonaldTrump to Make our Economy Great Again!”.<br>Sentiment: <em>Positive</em>.</li><li>“Racial discord was conceived, nurtured, refined &amp; perpetuated by Americans including @realDonaldTrump’s father. Get real!”.<br>Sentiment: <em>Negative</em>.</li></ul><p>Here is a graph of the results, showing sentiments of Twitter users over a period of time in relation to Trump and Clinton:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/0*PM18NL-TxTCy5yZ_" /><figcaption>Source: <a href="https://monkeylearn.com/">MonkeyLearn</a></figcaption></figure><p>As you can see, Donald Trump has a lot more mentions than Clinton, suggesting he has a larger presence on Twitter (Trump received around 450,000/day mentions, while Clinton received only 250,000/day). We also discovered that, out of all those tweets, Trump received more positive mentions than Clinton.</p><h3>Customer Service Analysis</h3><p>You can also analyze sentiments related to customer service. Online conversations, for example, can help businesses understand how customers feel about their brand, their response times, overall customer service, and so on.</p><p>Below, we <a href="https://monkeylearn.com/blog/analyzing-customer-support-interactions-on-twitter-with-machine-learning/">analyzed the sentiment of tweets for four different telcos</a> (T-Mobile, AT&amp;T, Verizon, and Sprint) and obtained the following results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8Ne8nPky1tTS9_N7" /><figcaption>Source: <a href="https://monkeylearn.com/">MonkeyLearn</a></figcaption></figure><p>Percentage of positive tweets mentioning a telco.</p><p>The results show that T-Mobile is winning with almost 20% of positive tweets, with Sprint coming in second, with 15% of positive mentions.</p><p>When comparing T-Mobile’s tweets with those of its competitors, it’s clear that T-Mobile’s personal approach on social media results in more positive responses, which might encourage the other companies to adopt a more informal personality on social media.</p><h3>Customer Feedback Analysis</h3><p>You could also use sentiment analysis to analyze customer feedback, from online reviews to NPS surveys.</p><p>Let’s say Tripadvisor wants to perform sentiment analysis on hotel reviews to explore overall sentiment. Well, we ran this <a href="https://monkeylearn.com/blog/machine-learning-hotel-reviews-insights/">analysis on over 1M hotel reviews</a> and discovered some interesting insights:</p><ul><li><strong>Most reviews are positive: </strong>out of the 4,000,000 texts analyzed, 82% of them were tagged as <em>Positive</em>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/0*oZ_z0MIWiSm0gv7L" /><figcaption>Source: <a href="https://monkeylearn.com/">MonkeyLearn</a></figcaption></figure><ul><li><strong>London hotels have the worst reviews overall: </strong>London hotels received more negative comments than hotels in other cities of a similar size, like Paris or Madrid.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*_8OBKlSD9VaNewn2" /><figcaption>Source: <a href="https://monkeylearn.com/">MonkeyLearn</a></figcaption></figure><p>We also <a href="https://monkeylearn.com/blog/sentiment-analysis-using-r/">classified Slack’s reviews on Capterra</a> into <em>Positive</em>, <em>Negative</em>, and <em>Neutral </em>and obtained the following results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TS_ilhnJOnvuMJf-" /><figcaption>Source: <a href="https://monkeylearn.com/">MonkeyLearn</a></figcaption></figure><p>As you can see, Slack’s receiving more positive mentions in categories such as <em>Integrations</em>, <em>Channels</em>, and <em>Groups</em>, but more negative mentions about <em>Pricing</em>, <em>Calls</em>, or <em>Search</em>. This type of analysis can help businesses derive crucial insights on how to improve their service or product.</p><h3>Wrap Up</h3><p>In short, sentiment analysis can improve your business in many ways, from preventing a PR crisis to understanding how your customers feel about your product or service.</p><p>Classifying by hand is no longer scalable for businesses. They need fast, accurate, and efficient automated systems that can deliver new insights and empower teams.</p><p>Want to get started with sentiment analysis right away? <a href="https://app.monkeylearn.com/accounts/register/">Sign up to MonkeyLearn</a> for free, and start using the <a href="https://app.monkeylearn.com/main/classifiers/cl_pi3C7JiL/">pre-trained sentiment analysis model</a> to see how it sorts your data into positive, negative and neutral.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74bd3dfb536c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/quick-introduction-to-sentiment-analysis-74bd3dfb536c">Quick Introduction to Sentiment Analysis</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>