Software Recognizes Sarcastic Tweets 168
An anonymous reader writes "Even humans sometimes fail to recognize sarcasm and irony; can machines do better? An algorithm that identifies sarcastic tweets (PDF) on Twitter and sarcastic sentences in product reviews on Amazon will be presented next week in the International Conference for Weblogs and Social Media in Washington, DC, and in the Computational Natural Language Learning in Sweden in July. A team from the Hebrew University, Israel, has developed an algorithm that identifies sarcastic sentences by using a machine learning technique in which a small number of sarcastic sentences act as seeds for the software to learn and generalize upon. The algorithm can then identify sarcastic sentences that are nothing like the examples. The variety of recognized sarcastic sentences is impressive, though the results are not perfect. But again, we don't do it so well ourselves, do we?"
Software Recognizes Sarcastic Tweets? (Score:5, Funny)
Yeah, sure it does.
Re:Software Recognizes Sarcastic Tweets? (Score:5, Funny)
I'm not so sure I'd jump to the conclusion that this is useful.
Determining the amount of sarcasm in bird calls doesn't seem to be an effective way to use research money IMO.
Re: (Score:2)
a sarcasm detector? that's a real useful invention!
Re: (Score:2)
A tweet isn't a birdcall. It's a new technology the web uses to display 140 character messages online.
This automatic reply generated by Smarcasm, the online Sarcasm Detection Software.
Re: (Score:2)
Oooh, I'm totally scared.
Re: (Score:2)
Oh I haven't seen this one before on slashdot.
Authors of malware copy-pasting arguments that their malware isn't really malware.
That's just so original.
Re: (Score:2)
O'rly?
Re: (Score:2)
"I detect sarcasm."
"You have a to be a paladin to detect Thaco's sarcasm?"
"You have to be a noun to detect Thaco's sarcasm."
~ Goblins [keenspot.com] the webcomic
Re: (Score:2, Funny)
This is brilliant!
What could possibly go wrong?
Re:Software Recognizes Sarcastic Tweets? (Score:5, Funny)
The professor was lecturing the class.
"So while two negatives make a positive, two positives can never make a negative"
An answering voice came from the back of the class:
"Yeah, right"
You Know DRM is a Pervasive Problem When ... (Score:5, Insightful)
Weight of various patterns and features. We present here a deeper look on some examples. A classic example of a sarcastic comment is: "Silly me, the Kindle and the Sony eBook can’t read these protected formats. Great!". Some of the patterns it contains are ...
You know DRM is pervasive as a very serious consumer problem when statistical research papers recognize user dissatisfaction with it as a classic example of sarcasm that floods reviews.
Re: (Score:2)
if (/flash/ or /DRM/ or /yro.slashdot.org/ or /Kindle/ or /Sony eBook/ or /iPad/) {
sarcasmDetected;
}
There, wrote some code for you.
Re: (Score:2)
Re: (Score:3, Funny)
Re: (Score:2)
one moment, i just need to strip the drm of it and then i'll send you the replicator pattern for a fire extinguisher.
This is great! (Score:5, Insightful)
This may help people with autism and Asperger's Syndrome recognize satire.
Re:This is great! (Score:5, Funny)
You don't have to be sarcastic, they might really find this useful.
Re: (Score:2)
Come on, can we be serious, please? This is an important discussion.
Re: (Score:2)
Not necessarily. Machine learning algorithms are generally either neural networks or weighted Bayesian statistics. In other words, the magic comes from abstract numbers that have no human-readable equivalent.
I always found that the easiest way to learn rules for social behavior is to read manuals - i.e. things like Emily Post's Book of Etiquette, How to read a person like a book, etc. Yes, they're not perfect, but if I just treat human behavior like some buggy software package and the books as manuals, it
Re:This is great! (Score:5, Interesting)
There's a problem with that. (Score:2, Insightful)
Re: (Score:2)
Re: (Score:2)
tl;dr - Ranting about sarcastic laughter and prominent fools
I find myself laughing at stuff the writer and director never intended to be funny, for my own reason. - Yes, laughing 'at', not 'with'. - In these cases my mirth stems from a hidden irony, you might consider me callous for laughing when Homer Simpson's heart is broken but I bare in mind that the fictional man has no vindicative characteristic what so ever beyond infrequent decency and that he exists only to entertain me. I loathe the character so
Re: (Score:2)
Here's one -
How are mods supposed to moderate anything in this thread? The usual -1 Troll comments become Insightful!!
Re: (Score:2, Funny)
How are mods supposed to moderate anything in this thread?
Like the fair, independent, open-minded, thoughtful people that you know they are.
Re: (Score:3, Funny)
I'd have though that even autistics would be able to recognize horns, goat legs, and a pan pipe? Oh, satire.
Re:This is great! (Score:5, Interesting)
Many, though not all, Asperger's types actually have average to excellent parsing of written communications, or the strictly verbal component of other people's utterances(ie. the part that would get written down, if a transcriptionist were in the room). Odds are, most such people could easily outperform this algorithm(since, obviously, the purpose of the algorithm is to provide large volumes of adequate analysis for cheap, not to be human level).
The part of communication that is really difficult, though, is the nonverbal component, the stuff that doesn't show up in text. Tone of voice, expression, tiny muscular movements and reconfigurations around the eyes, that sort of thing. Since typical social standards of politeness and interaction actually discourage direct statement of things(ie. "Your story bores me." "Yes, I am interested." "No, go away") in favor of relying on subtle nonverbal communication of those message, this can be a real handicap. You care about what others around you are thinking, since you naturally want to be on good terms with them(or, even if you don't, you want to be on bad terms deliberately, not accidentally); but you just can't tell, unless somebody explicitly says something, which is rare, unless you've already really fucked up.
In fact, in my experience,(and yes, "my experience" = "N of 1" = "anecdote") I tend to find text-based communication comfortable for exactly these reasons. For normal people, strict text-based communication is harder, because they are denied the nonverbal cues that they normally take for granted. For me, I don't see the nonverbal cues that never mean much anyway, and we are both forced to rely on strict verbal expression, which is my best-practiced level.
Re: (Score:3, Funny)
Dude. He was being sarcastic.
Re: (Score:2)
So was he and so am I. So are you.
Re: (Score:2)
Re: (Score:2)
How do "caring for a 3 month old child" and "inability to parse nonverbal communication" work out together?
Re: (Score:2)
Luckily, I can still figure out that a crying baby == something is not right. Next step is to verify what is "not right". Options include: hungry, tired, too hot, bored, tummy ache/needs burping. Soon toothache will be added to that list.
And I can also figure out that, when he smiles, it means he's in a good mood and I probably managed to make him feel that way.
Re: (Score:2)
It would be interesting to see, though, whether or not it came to feel "natural". Con
Re: (Score:2)
Yeah, right. A compass.
Re: (Score:2)
Re: (Score:2)
Great, maybe they'll quit modding me down on Slashdot because they don't recognize the satire. (Hint: look at my sig, aspies.)
--
There's no -1 for "I don't get it."
Satire, if found, is moderated appropriately.
Re: (Score:2)
If by "appropriately" you mean "down," then I suppose that could be true.
Re: (Score:2)
Maybe I have Aspergers... Nah!
Re: (Score:2)
You can't sugar-coat it and coddle people forever. They're disabled. A scant few of them may be very good at other things, but they're still disabled.
The problem with the 'wisdom' of your position is that it hinges entirely upon that which is normal, which is entirely perception-based, and varies from person to person. My son expresses multiple savant-like behaviors in addition to his disability. His ability to do puzzles, for example, would make a 'normal' kid look disabled by comparison. Except Scott isn't normal and we know it, so we label what he can do as 'amazing'.
In short, 'comprehension' 'sugar coating'. Don't be so dismissive. Things are a
Re: (Score:2)
Make a point.
How did one even manage to measure all those billions, and what was the result?
In any case, besides stating the absolutely obvious, how does what you said demonstrate any comprehension of the post above it?
Re: (Score:3, Informative)
Just about everyone is less-than-average in some aspect. Asperger syndrome is an autism spectrum disorder, which means it’s a broad range going from just about normal all the way to really mentally impaired.
It’s not like blindness; it’s more like near-sightedness. Some people get it worse than others, and some people are just about impaired enough to be considered legally blind. However, everyone fits in somewhere on the autism spectrum... including people who are considered normal.
You can
Oblig. Simpsons (Score:5, Funny)
Replace Humans (Score:2)
A sarcasm detector, that's a real useful invention!
It's only a matter of time before we can automatically generate sarcasm. Then websites can have snide comments auto-generated. When that happens, I'd like to see penalties for those attempting clever snark but failing to be smarter than a computer.
Re: (Score:2)
Agreed. IMO, it's almost as useful as the world changing invention of Ballerina Tutu Dresses for chihuahuas [sassypup.net] and an order of magnitude more useful as the internet itself.
The idiot's assistant! (Score:1)
I guess it's for those who just don't get it!
Tweet from the developer (Score:4, Funny)
I don't see this as a problem (Score:2, Funny)
Just end your sarcasm tags before being sarcastic. This won't conform to W3C standards, however.
Re:I don't see this as a problem (Score:5, Funny)
Re: (Score:2)
Re: (Score:2)
Well, if the <sarcasm> tag is a text modifier that works in the same way as <em> and <strong>, you can safely nest them. They might prove idempotent but not necessarily. It depends on Slashdot's specific CSS.
Re: (Score:2)
Seth Myers, is that you?
Re: (Score:2)
Will have very good recognition rate... (Score:3, Funny)
Given that sometimes not even humans understand when I am being sarcastic, I expect this software will have an exceptionally high recognition rate with very low false positives. A truly remarkable achievement and the one algorithm the human race has been waiting for!
Overt vs. Subtle Sarcasm? (Score:2)
The algorithm can then identify sarcastic sentences that are nothing like the examples.
Good luck with that.
hmm (Score:2, Informative)
wow
Wonder what this will score as? (Score:2)
I forsee nothing but success for this algorithm.
Finally a way to verify Smith's Law (Score:3, Interesting)
Oh, sure! (Score:4, Funny)
Re: (Score:2)
Testing (Score:3, Funny)
The algorithm can then identify sarcastic sentences that are nothing like the examples.
Place it in my office. If it still responds at the end of the week, it's not working correctly. If it's overloaded and partially melted, we've got a winner.
Recognizing sarcastic tweets (Score:2)
Recognizing sarcastic tweets... do twits even know what sarcasm is?
Re: (Score:2)
do twits even know what sarcasm is?
I dunno, lemme ask your mom.
Oops, sorry, I meant, let me roll off your mom, then I'll ask her. (Give me about 3 minutes to stop rolling)
C'mon, there's NEVER a wrong time for a "your mom" joke.
Re: (Score:2)
C'mon, there's NEVER a wrong time for a "your mom" joke.
I find they work really well at funerals.
For a real test (Score:3, Funny)
If they want accurate sarcasm detection... (Score:2)
Re: (Score:2)
Oh yeah, THAT would work!
Proposal (Score:2)
Many Slashdot users can benefit from such a technology. There are medical conditions whose sufferers cannot detect sarcasm. This leads to social ostracism and can cause reduced productivity and in very extreme cases, depression. People may scoff, but imagine if we could provide this technology on a portable device for those victims of the spectrum of diseases that cause anxieties? There are times when I have been the goat because I misunderstood "Yes, I'll have the work completed by Monday" to mean that th
Re: (Score:2)
There are times when I have been the goat because I misunderstood "Yes, I'll have the work completed by Monday" to mean that the coming Monday, the work would be completed. My sarcasm detector did not fire to alert me that the cable installer was being sarcastic. I would like to see this sarcasm detector available for handheld devices. When a girl responded, "Yeah, I'll go out with you," I could then check my iPhone or Droid and know immediately she was making an attempt at humor.
FYI: Sarcasm, Lies, and Little White Lies are not the same things. The cable guy lied. The pretty girl gave a white (gray?) lie.
Re: (Score:2)
The cable guy lied.
Depending on the tone and context it might have easily been sarcastic. If you just asked him “Can you have it done by Monday?” and he’d just checked his schedule that’s booked clear up ’till a week from Monday, for example...
Re: (Score:2)
FYI: Sarcasm, Lies, and Little White Lies are not the same things.
Oh, really? Thank you for sharing that.
Re: (Score:2)
Re: (Score:2)
Haha...taking a page from the FOX News playbook.. Play sarcasm straight..
Sarcasm, older than we thought (Score:3, Funny)
It dates back into some of the great classic works of our time... upon reading Romeo and Juliet one critic was overheard saying:
"Nice play Shakespeare..."
or upon solving a great mystery, Watson was once overheard saying, "No shit Sherlock."
Oblig Python (Score:3, Informative)
Interviewer: How much did they want?
Vercotti: Three quarters of a million pounds. Then they went out.
Interviewer: Why didn't you call the police?
Vercotti: Well I had noticed that the lad with the thermo-nuclear device was the Chief Constable for the area. Anyway a week later they came back, said that the cheque had bounced and that I had to see Doug.
Interviewer: Doug?
Vercotti: Doug (takes a drink) I was terrified of him. Everyone was terrified of Doug. I've seen grown men pull their own heads off rather than see Doug. Even Dinsdale was frightened of Doug.
Interviewer: What did he do?
Vercotti: He used sarcasm. He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and satire.
....
Tech behind this (Score:3, Funny)
Great, now my computer can tell when I'm sarcastic (Score:2)
... why can't you?
How to avoid being detected.. (Score:2)
Use the word 'fuck' in your tweet/post. This way the profanity filter will block your message/post before it ever gets to the irony filter..
Re: (Score:2)
Thats a great fucking idea.
Sarcasm? On *Twitter*?! (Score:2)
Sarcasm? On *Twitter*?! Never!!!
77% accuracy? (Score:3, Funny)
Their algorithm gets 77% accuracy. I think I can do better:
# Estimated accuracy: 92.1%
isSarcastic(tweet) { return true; }
Or does that only work for slashdot comments?
Sarcasm Detection (Score:2)
The point of Sarcasm is that the words, the text itself, convey a literal meaning, while the actual intent (which must be deduced by the reader knowing certain things about the writer; sometimes just tone of voice is enough) is the polar opposite. Without anything except one line of text, there is absolutely no way of determining whether something is sarcasm or not. It will never work without more input. Now that you've read this paragraph, re-read the sentence above it.
Re: (Score:2)
The point of Sarcasm is that the words, the text itself, convey a literal meaning, while the actual intent (which must be deduced by the reader knowing certain things about the writer; sometimes just tone of voice is enough) is the polar opposite.
Actually, you have just given a definition of irony. To be sarcasm, it must also be insulting, taunting, or express contempt for the subject.
It makes ironic sense . . . (Score:2)
In other news (Score:2)
In other news, there is still no software that can detect tweets without sarcasm.
I wrote software to recognize retards who tweet .. (Score:2)
Its got a pretty web gui and everything.
http://www.twitter.com/ [twitter.com]
Yes, I'm trolling, but its still true!
Re:I wrote software to recognize retards who tweet (Score:2)
Please don't sue me twitter, it was a joke, I'm really not claiming I wrote your crappy software!
Sheldon could use this (Score:2)
If there is an algorithm for it, the Sheldon could use it to recognize (and produce?) sarcasm.
Bazynga!
wonderful (Score:2)
Wonderful, can they apply it to irony as well, because I am fucking tired of people constantly proclaiming that someone's informative statement is 'ironic'?
But sure, like that is ever going to happen.
Isn't this already solved? (Score:2)
Don't we already have a tag?
How hard is that?! (Score:2)
Hey! (Score:2)
"But again, we don't do it so well ourselves, do we?"
Hey, are you being sarcastic!?
Re: (Score:1)
Re: (Score:2)
Re:Ohh.. a sarcasm detector! (Score:4, Informative)
When quoting the Simpsons, do it correctly.
Comic Book Guy: Oh, a sarcasm detector, that's a real useful invention.
Re: (Score:2)
Guy 2: Are you being sarcastic?
Guy 1: I don't even know anymore.
Re: (Score:2)
Was that sarcastic?
Re: (Score:2)
Why don't we ask the program?
Re: (Score:2)
Was the computer being sarcastic that time?
Re: (Score:2)
Poe's Law (Score:2)
Thank you! It's Poe's Law [urbandictionary.com].