Sentiment analysis (sometimes called “opinion mining” or “emotion AI”) is a Natural Language Processing (NLP) technique to categorize text depending on whether it expresses an opinion and whether the opinion is positive, negative, or neutral. Advanced sentiment analysis can also categorize text by emotional state like angry, happy, or sad. It is often used in customer experience, user research, and qualitative data analysis on everything from user feedback and reviews to social media posts.
Sentiment analysis can be combined with Machine Learning (ML) to further categorize text by topic. Together, sentiment analysis and machine learning provide researchers with a method to automate the analysis of lots of qualitative textual data in order to identify patterns and track trends over time.
The easiest way to quickly understand what sentiment analysis can do for you is by looking at examples. Take the following three sentences:
As a human, you can read the first sentence and determine the person is offering a positive opinion about Air New Zealand. The second sentence is offering a negative opinion, and the last is also a negative opinion, although it’s a little harder to parse.
You had to read each sentence manually and determine the sentiment, whereas sentiment analysis, on the other hand, can scan and categorize these sentences for you as positive, negative, or neutral.
Like humans, sentiment analysis looks at sentence structure, adjectives, adverbs, magnitude, keywords, and more to determine the opinion expressed in the text. The advantage of sentiment analysis is that it’s much, much quicker.
Sentiment analysis has many practical use cases in customer experience, user research, qualitative data analysis, social sciences, and political research.
Sentiment analysis is great for quickly analyzing user’s opinion on products and services, and keeping track of changes in opinion over time. For example, users of Dovetail can connect to apps like Intercom and UserVoice; when user feedback arrives from these sources, Dovetail’s sentiment analysis automatically tags it.
Reviews are a perfect candidate for sentiment analysis since they’re written in the first person, and by their very nature, are offering an opinion. Reviews could be for hotels, airlines, rental cars, Amazon purchases, mobile apps, or anything else. Dovetail is great for analyzing reviews; users simply upload a spreadsheet of reviews and Dovetail automatically tags sentences with ‘Positive’ and ‘Negative’.
Sentiment analysis is often used by researchers in combination with Twitter, Facebook, or YouTube’s API. A popular use case is trying to predict elections based on the sentiment of tweets leading up to election day.
Sentiment analysis works best with large data sets written in the first person, where the nature of the data invites the author to offer a clear opinion.
Interested in how it actually works? There are three main approaches to sentiment analysis. These are knowledge-based, statistical methods, and hybrid approaches.
Knowledge-based techinques categorize text based on unambiguous ‘affect words’ like love, like, hate, happy, sad, angry, and so on. This is the simplest and oldest sentiment analysis technique, and also probably the least accurate. It works best on simple sentences like “I love cake” or “I dislike mushrooms.”
Statistical methods use elements from machine learning where affect words are derived from a model trained on millions of other examples, along with advanced Natural Language Processing (NLP), where the computer detects the holder of a sentiment (the person with the opinion) and the target (the product or service) in a sentence. This approach can handle more complex sentences like “I don’t not like cheeseburgers”.
A hybrid approach uses a combination of the above techniques, with the addition of an advanced understanding of language in order to detect semantics that are expressed in a subtle manner, e.g. building relationships between implicit and explicit concepts.
Sentiment analysis is one of many NLP techniques. Other techniques that are helpful for user research and qualitative data analysis include:
You can start using sentiment analysis in a variety of ways:
Made in Australia by 🐨Aussies and 🥝Kiwis (and a German 🍺)
© Dovetail Research Pty. Ltd.
ABN: 84 615 270 025