Natural Language Processing - (Opinion mining | Sentiment (Analyze|classification)) - Emotion

Text Mining

About

A sentiment is a personal feeling:

  • positive
  • negative

on a target (e.g., a named entity) in the text expressed with a single word or a phrase.

Use cases

  • Brand management
  • Polling (e.g. obama)
  • Trending
  • Purchase planning (e.g. kindle)
  • Public opinion (of company and products),
  • Customer satisfaction,
  • Gather feedback in released products.

Polarity signals

In the training data, to be able to find the sentiment, you can use polarity signals such as:

Problem

  • Slang is the use of informal words and expressions that are not considered standard in the speaker's language or dialect but are considered acceptable in certain social settings.

Neutral

Tweet

If the tweet could ever appear:

  • as a front\page newspaper headline
  • or as a sentence in Wikipedia,

then it belongs in the neutral class. Many tweets do not have sentiment.

Classifier

Keyword approach

This approach is to use a list of positive and negative keywords. For each tweet, the number of negative keywords and positive keywords are counted. This classifier returns the polarity with the higher count.

Target Polarity

Automatic extraction of sentiment expressions associated with given targets because the polarity of a sentiment expression is sensitive to its target.

Example with Predictable:

  • With a Target Movie, Predictable is negative. Saw the movie “Friends With Benefits”. So predictable! I want my money back.
  • With a stock, Predictable becomes positive.

Api

Don’t get sentimental

From Be a Text Analytics Heretic

Everybody wants sentiment analysis. At a certain level, that’s smart. Knowing how many people are mentioning your product (or any other topic) doesn’t mean much if you don’t also know something about what they are saying.

But assessing sentiment in text is a tricky business. Humans don’t agree with one another consistently when assessing sentiment of text. In fact, even a single person asked to assess the sentiment expressed in a particular bit of text on several occasions will often give different answers. It’s hard even to make a presentation on the topic, because the audience invariably gets caught up in picking over the individual cases and debating whether the assessments are acceptable. Where's the actionable insight in that?

Instead of sentiment categories, look for something better defined and more actionable in your data. Take the example of Paypal’s Han-Sheong Lai, who uses text analytics to identify customers with intent close their accounts. Does he look for broad categories of positive and negative sentiment? No. He looks for people saying things like, “I’m going to close my account.” You can bet that makes it a lot easier to accurately assess risk, and quantity results.

Documentation / Reference

Data (AFINN.txt)

Twitter

Blog / Review

Aws





Discover More
Text Mining
(Natural|Human) Language - Text (Mining|Analytics)

See Tweet Web site comments Weblogs Forum comment ... A tweet is analyzed differently than a long blog post and a blog comment is analyzed differently than a tweet. If you want to use any...
Oracle Platform Structured Unstructured Data
Endeca - Advanced (Content|Text) Enrichment with Lexalytics

Content Enrichment is the process of deriving and determining structure from unstructured content to enhance and augment data. It uses Natural Language Processing (NLP). Advanced content enrichment...
Text Mining
Lexical Database

WordNet® is a large lexical database of English. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct...
Data System Architecture
Text - Emoticon Character

emoticon are emotional (sentiment) icon (single image, character) that are expressed as a suite of characters. They are a subset of the emoji characters. Text Emoticon Representation Sentiment...
Data System Architecture
What is an Emoji and how to use them

This page is all about emoji characters, what they are and how you can use them to add a little bit of emotion in your content



Share this page:
Follow us:
Task Runner