The Jerusalem Post
Jpost search icon google-icon iphone
  Set as Homepage
Fri, May 24, 2013   15 Sivan, 5773
newspapers magazines
 
    • Breaking News
    • Diplomacy & Politics
    • Defense
    • National
    • Mideast
    • Syria
    • Iran
    • World
    • Business
    • Sports
    • Health & Science
    • Environment
  • Video
  • Opinion
    • Columnists
    • Editorials
    • Op-Eds
    • Letters
  • Jewish World
  • Lifestyle
    • Arts & Culture
    • Food & Wine
    • Travel
  • Features
    • Insights & Features
    • Week in review
    • On the Web
    • Shalva Superheroes
    • Obama in Israel
  • Blogs
    • In the news
    • Judaism
    • From the Middle East
    • Lifestyle
    • Aliya
    • Science and Technology
  • JPost Apps
    • iPhone app
    • iPad app
    • Android app
    • Twitter
    • Facebook
    • RSS feeds
    • JPost Toolbar
    • JPost Newsletter
    • JPost Alert
  • Premium Zone
    • The Jerusalem Report
    • The Experts
    • 20 Questions
    • e-paper
    • Ivrit
    • Christian Edition
    • Dash
    • Magazine
    • Metro
    • In Jerusalem
  • French
    • Politique & Social
    • Affaires Palestiniennes
    • Diplomatie & Monde
    • Art & Culture
    • Israel
  • Green Israel
JPost Learn Hebrew  
Advertise with us  
Nefesh Guided Aliyah  
Eldan  
AFMDA  
Africa Israel Group  
Isram Group  
Kupat Ha  
JPost Twitter  
JPost Facebook  
Classifieds  
         
 
 
    
Breaking News
 
 
  • JPost.com
  • Sci-Tech
 

Hebrew University researchers unveil a sarcasm detector

By JUDY SIEGEL-ITZKOVICH
05/25/2010 08:00
Tweet

Yeah, right? Yeah, right!

“Trees died for this book?”

If you saw that succinct review on Amazon.com, you’d surmise that the critic was being sarcastic. And you’d probably be right.

“Are these iPods designed to die after two years?”

You’d likely spot that as sarcastic, too.

But what about this one: This invention is one of the most brilliant in the world.

Is that statement sarcastic or completely honest?

If you’re not sure, help is at hand. Hebrew University of Jerusalem researchers have devised patent-pending algorithms that can be used on an ordinary computer to detect sarcasm in text with an accuracy of around 77 percent.

Yeah, right, you say? Yeah, right!

Oren Tsur, a doctoral student at HU’s Institute of Computer Science who has been working under the supervision of the institute’s Prof. Ari Rappoport, and fellow doctoral student Dmitry Davidov, will present their work at a Washington, DC, conference on Tuesday.

Over a dozen teams around the world have been trying to detect sarcasm – or verbal irony – in text for years, but only the HU researchers have succeeded, Rappoport told The Jerusalem Post on Monday. The use of this technology might seem esoteric to many, but detecting sarcasm has many commercial applications, including the assessment of reviews on the Internet of products and services such as restaurants, hotels and books, as well as of opinions on a variety of subjects, from political to personal.

As opinions on Internet sites are increasingly used for “opinion mining,” the HU computer researchers suggested that the use of sarcasm could mislead, by giving different or opposite views than the understood meaning.

A patent application for the algorithms was filed by Yissum, HU’s technology transfer arm, and it has aroused much interest worldwide. Yissum is now looking for a commercial partner to develop the unusual product, called RevRank, which is the basis for the sarcasm detector.

Rappoport said the system does not use assessments of people’s voices, but of text alone. Over a decade ago, for example, an Israeli computer program could, with reasonable accuracy, detect falsehoods by analyzing voice fluctuations.

“It would be even more accurate if we could combine both text and voice to determine sarcasm, but the reviews are in text form only,” said Rappoport.

Rappoport has been working on the field of computerized linguistics and assessments of text language for many years, but the sarcasm-identification project began just nine months ago. The bulk of the project was done by Israeli-born Tsur, with the computer work accomplished by Russian-born Davidov.

Computers handle verbal commands in a rather automatic manner, but humans have more convoluted thinking, using symbols or slang, said Rappoport. Thus it has been difficult to bridge the gap between computerized and human linguistics. In sarcasm, the individual states the inverse of what he means, such as meaning “dumbest” when writing: “This invention is one of the most brilliant in the world.” If the statement is not sarcastic, the sentence literally means what it says.

Nicknamed SASI for a Semi-supervised Algorithm for Sarcasm Identification, the sarcasm-detecting technique was initially based on tens of thousands of scanned reviews of books and other products on Amazon.com. For an assessment of sarcasm, the algorithms were also applied to “tweets” posted on Twitter. First, there was a pattern acquisition algorithm, followed by classification algorithm.

The three researchers prepared a long article for the proceedings of the Association for the Advancement of Artificial Intelligence conference in Washington. They noted that “sarcasm is a sophisticated form of speech act widely used by online communities,” and stressed that automatic recognition of sarcasm in online reviews and blog posts was a difficult task.

They noted that SASI had two stages: semi-supervised pattern acquisition and sarcasm classification. The team experimented on a data set of about 66,000 Amazon reviews for various books and products.

“Using a gold standard in which each sentence was tagged by three annotators, we obtained precision of 77% and recall of 83.1% for identifying sarcastic sentences,” the researchers said. “We found some strong features that characterize sarcastic utterances. However, a combination of more subtle pattern-based features proved more promising in identifying the various facets of sarcasm. We also speculate on the motivation for using sarcasm in online communities and social networks.”

The annotators labelled sentences in the reviews for their degree of sarcasm and then looked for patterns that appeared, judging similar statements as sarcastic or not. The computer thus “learned” on a basic smaller set of sentences and applied this discernment to determine whether new ones were sarcastic, Rappoport explained.

Among the review titles or summaries that the team took from their experimental data were: “[I] Love The Cover” (for a book); “Where am I?” (GPS device); “Trees died for this book?” (book); “Be sure to save your purchase receipt” (smart phone); “Are these iPods designed to die after two years?” (music player); “Great for insomniacs” (book); “All the features you want. Too bad they don’t work!” (smart phone); “Great idea, now try again with a real product development team” (e-reader); and “Defective by design” (music player).


Some could be genuine or sarcastic, while others are clearly sarcastic.

Initially, the algorithm identified the essential dominant terms that define the optimal criticism on the Internet. Then it used the program with these definitions to classify and rank other reviews in relation to the highest-quality reviews from a control group.

The technique can enable every Internet user to set down his preferences regarding the length of the review he is interested in and the depth of the content, said Rappoport, who predicted that the algorithm could change the way people assess the information they glean from the Web.

The team worked in English, as well as German and Chinese. Detecting sarcasm in Arabic is more complicated, said Rappoport, and Hebrew even more so.
  • Send
  • Large
  • Small
  • Print
  • Share
This article is by :
Judy Siegel-Itzkovich
Recent stories:
  • UK, Israel agree to expand scientific co...
  • J’lem to offer free checkups for hearing...
  • ‘I won’t let Bikur Cholim close,’ says G...
  • Doctors bend on vacation pay to secure w...
JPost Community
Tweet
Amazon reviews sarcasm sarcasm detector Chinese Arabic
Share this article
Tweet
Share
Send
Your comment must be approved by a moderator before being published on JPost.com. Disqus users can post comments automatically.

Comments must adhere to our Talkback policy. If you believe that a comment has breached the Talkback policy, please press the flag icon to bring it to the attention of our moderation team.
JPost Services
conferenceConference
newsletterNewsletter
iphoneMobile Apps
kotelcamKotel Cam
kolboJPost Alert
premiumPremium
JPost TV News  
Mobile Apps  
Bank Hapoalim  
Meir Panim  
Yad Ezra  
Rambam Hospital  
TourLuxe  
Zev Goldstein PLLC  
Penrose Gallery  
JPost Premium Zone  
JPost kotel Camera  
           
Israel Focus
JPost TV News
Coming soon to a screen near you!  
Nefesh B'Nefesh Guided Aliyah
Already living in Israel? Enjoy the Benefits of Aliyah!  
Give "Freedom" this Passover
to needy Israeli families. Donate now  
War Threatens
Protect the People of Northern Israel  
China Suppliers
 
Intelligence Squared
The international debate forum, announces it is coming to Israel  
Bank Hapoalim
Israeli's number one bank  
Jerusalem Post Lite
Lite Edition of the Jerusalem Post for English improvement  
Learn Hebrew with us
Get 10 minutes free personal coaching in Hebrew through phone or Skype  
JPost newspapers
Sign up for the JPost newspapers and receive one month free subscription  
Kosher English Magazine
English language weekly magazine - especially for religious people  
JReport Kindle Edition
Now you can get the Jerusalem Report directly to your Kindle  
JPost Premium Edition
The very best articles are available only in our Premium edition  
Lifestyle Magazine
 
 
Real Estate
Don't Look For a House!
In Israel, our website will do it for you!  
 
Travel
Eldan Rent a Car
20% off all Car Rental Reservations in Israel  
Hertz Car Rental
Special Online Discounts!  
The King David Jerusalem Hotel
One of the world's truly iconic hotels, and a Jerusalem landmark  
 
 
 

Sites Of Interest:

Jerusalem Hotels
KKL-JNF
Poalim Online
BreitBart.com
Our Friends
Jerusalem Attractions
Jerusalem Tours
itraveljerusalem.com

JPost sites:

Learn Hebrew
The Jerusalem Report
Our Magazines
JPost Edition Francaise
Green Israel
Christian World
Jerusalem Post Lite

Services:

JPost Mobile Apps
JPost Premium
JPost Newsletter
JPost Toolbar
JPost News Ticker
JPost RSS feeds
JPost Archives
JPost Alert
JPost Kotel Cam

JPost Conferences:

NYC Conference
Diplomatic Conference

Information:

About Us
Feedback
Staff E-mails
Copyright
Sitemap
News Partners
Advertise with Us
Statistics
Ad Specs
Terms Of Service
Jpost.com, the online edition of the Jerusalem Post Newspaper - the most read and best-selling English-language newspaper in Israel. For analysis and opinion from Israel, the Jewish World and the Middle East. Jpost.com offers expert and in-depth reporting from Israel, the Jewish World and the Middle East, including diplomacy and defense, the Palestinian-Israeli conflict, the Arab Spring, the Mideast peace process, politics in Israel, life in Jerusalem, Israel's international affairs, Iran and its nuclear program, Syria and the Syrian civil war, Lebanon, the Palestinian Authority, the West Bank and Gaza Strip, Israel's world of business and finance, and Jewish life in Israel and the Diaspora.
 
About Us | Advertise with Us | Subscribe | Premium | Newsletter | RSS | Contact Us
 
All rights reserved © The Jerusalem Post 1995 - 2012