A Computer Algorithm That Can Detect Sarcasm



A research team at Hebrew University in Israel has developed a computer program that can recognize sarcasm with about 77% accuracy:

To create such an algorithm, the team scanned 66,000 Amazon.com product reviews, with three different human annotators tagging sentences for sarcasm. The team then identified certain sarcastic patterns that emerged in the reviews and created a classification algorithm that puts each statement into a sarcastic class.

The algorithms were then trained on that seed set of 80 sentences from the collection of reviews. These annotated sentences helped the algorithm learn what sorts of words and patterns distinguish sarcastic remarks – those that mean the opposite of what they literally convey, or that convey a sentiment inconsistent with the literal reading.


http://www.popsci.com/technology/article/2010-05/computer-algorithm-can-recognize-sarcasm-which-soooo-cool | Image: Fox

Previously:
Sarcasm Punctuation Mark
Sarcasm is an Evolutionary Skill

Comments (12)

Newest 5
Newest 5 Comments

I find it hilarious that they looked to Amazon product reviews for examples of sarcasm.

I have to wonder how skewed their data is, though. I mean, the Three Wolf Moon shirt really DOES get you laid and cure disease, but such testimonials are often misinterpreted as sarcasm.
Abusive comment hidden. (Show it anyway.)
Two points to make:

1) Comparing today's Office to the old DOS Word isn't exactly fair. You can however to the custom install of office and tell it not to install Excel, Outlook, Powerpoint, etc. And then you can tell it not to install many features within Word itself. Even then, even ignoring the many features that'll still be installed that weren't in the original Word, what you'll get will be far easier to learn and use than the original Word.

2) In the days of 10MB hard drives, my drive was filled with about 95% program code and about 5% data. Now in the days of 1TB hard drives with music and video and digital photography, my drive is filled with about 5% program code and about 95% data.
Abusive comment hidden. (Show it anyway.)
Modern OS's are such bloated Fisher Price Candy Coated GUI's with Swiss-Army-Do-Everything features that it's nearly impossible to code lean applications.

Even Steve Gibson doesn't hand compile app's for Win7.

Add in complicated IDE's that do way more then just "help you program" and my Toolkit is bigger then your Toolkit subroutines and massively fat applications is what you get.

Nobody even tries to program lean anymore. If it's too slow - instead of tightening up the code - they just throw bigger hardware at it.

Just check the minimum spec's on any modern game for proof.
Abusive comment hidden. (Show it anyway.)
Right, as if Americans are so dumb that they pronounce a name that looks very much like ''Nicholas'' as ''nick-uhl''.

Another one of those ''ain't Americans stupid'' myths spread by yet another european.

Sigh.
Abusive comment hidden. (Show it anyway.)
Oh, the memories... Turbo Pascal on a CP/M machine was my first encounter with professional programming. Haven't heard of him since university. We - as Germans - never had any difficulties pronouncing his name. Our problem was Donald Knuth and his German looking surname...
Abusive comment hidden. (Show it anyway.)
Login to comment.
Email This Post to a Friend
"A Computer Algorithm That Can Detect Sarcasm"

Separate multiple emails with a comma. Limit 5.

 

Success! Your email has been sent!

close window
X

This website uses cookies.

This website uses cookies to improve user experience. By using this website you consent to all cookies in accordance with our Privacy Policy.

I agree
 
Learn More