Fascinating project, I worked for a data analytics company and we always had a basic test that we'd try to throw at any Sentiment analysis engine. // Negative > This is shit. // Positive > This is the shit. Most engines can't sort that out. I'm definitely going to take a more in-depth look at this.
"This is shit" isn't inherently negative. Consider the question "what is the brown substance in the toilet?" and you can answer a neutral "this is shit".
Deeply Moving: Deep Learning for Sentiment Analysis
41–47 of 47 posts
Re: Deeply Moving: Deep Learning for Sentiment Analysis
#42This is pretty cool. I love how in some sentences, the actual words or phrases are all marked positive, yet it is able to accurately mark the entire sentence gets correctly marked as negative. For example, from the paypal/mailpile article from the front page: Are the risks larger because we are successful? "larger because we are" is marked as positive, "successful" is marked as very positive, the rest are marked as n…
How is being successful negative? If anything it's neutral, being successful is clearly good, having exposure to larger risk is negative, a net neutral.
Re: Deeply Moving: Deep Learning for Sentiment Analysis
#43Earlier quoted context omitted.
Yeah, so much fun.
Clever. hehe That aside, has anyone saw any recent works on detecting sarcasm? There's not much advancement in this that I've seen.
Without knowing who said something or in what context it was said, even humans would fail to accurately detect sarcasm. Here are some hasty examples that could vary, depending on the author or situation:
"Michael Bay really outdid himself on that one." "That Kanye West song is so well-written." "It'd fun to build that PHP."
Re: Deeply Moving: Deep Learning for Sentiment Analysis
#44Earlier quoted context omitted.
Clever. hehe That aside, has anyone saw any recent works on detecting sarcasm? There's not much advancement in this that I've seen.
This deep learning method is an example from going from bag-of-words to document level analysis. To detect sarcasm, you'd have to make another leap from document analysis to personality modeling. Humans can detect sarcasm because they^H^H^H^Hwe can build a mental model of what is expected to be said—by a particular author or about a specific topic. If a statement is sufficiently contradictory to our mental model and…
You also bring up a very good point about humans being able to barely detect it. It's hard to infer from text without tone a good portion of the time.
It'd be neat to see what we could do with tone as an input feature (obviously we couldn't get that most of the time) but maybe if enough tech becomes available that voice inputs are common, sarcasm can be a relevant enough problem to solve.
In general, I know it's not really worth it to try to solve (that I could think of immediately anyways) aside from "just because".
That being said: ambiguity is ambiguous. What can you do aside from approximate as best you can?
Re: Deeply Moving: Deep Learning for Sentiment Analysis
#45Re: Deeply Moving: Deep Learning for Sentiment Analysis
#46Does anyone familiar with NLP know how the sentence trees are parsed? Can something like python's nltk do that? I always assumed that was very difficult to do well.
Parsing is one of the most competitive areas of research in NLP and yes, you are correct, doing it well is very difficult. State-of-the-art performance on newswire data is around 95% if you score local structure. miket has already replied with a well-established lexical parser. The Stanford parser is one of the most robust out there, you could also go for the BLLIP (or Charniak or Charniak and Johnson) re-ranking par…