New Machine Learning System Can Detect Irony, Sarcasm in Text Messages

Advertisement
By Press Trust of India | Updated: 3 July 2015 15:59 IST
A new machine learning system spots emotional sentiments, such as sarcasm and irony, in text messages and emails and it could even detect content that suggests suicidal ideations.

Eden Saig, a computer science student at the Technion-Israel Institute of Technology in Israel, developed the machine learning system which works by recognising repeated word patterns.

Saig developed the system at the Technion's Learning and Reasoning Laboratory, after taking a course in artificial intelligence supervised by Professor Shaul Markovich, of the Technion Faculty of Computer Science.

According to Saig, voice tone and inflections play an important role in conveying one's meaning in verbally communicated message.

Advertisement

In text and email messages, those nuances are lost and writers who want to signify sarcasm, sympathy or doubt have taken to using images, or "emoticons," such as the smiley face, to compensate.

Advertisement

"These icons are superficial cues at best. They could never express the subtle or complex feelings that exist in real life verbal communication," said Saig.

Recently, pages intended to be humourous on social networks such as Facebook and Twitter were titled "superior and condescending people," or "ordinary and sensible people."

Advertisement

Such pages are very popular in Israel, said Saig, and users are invited to submit suggestions for phrases that can be labelled as 'stereotypical sayings,' for that particular page.

By observing posts to these groups, Saig identified existing patterns. The method he developed enables the system to detect future patterns on any social network.

Advertisement

Since the content in these sections was colloquial, everyday language, Saig realised that, "the content could provide a good database for collecting homogeneous data that could, in turn, help 'teach' a computerised learning system to recognise patronising sounding semantics or slang words and phrases in text."

Saig applied machine-learning algorithms to the content on these pages and used the results to automatically identify stereotypical behaviour found every day in social network communication.

The quantification was carried out by examining 5,000 posts on social media pages and, through statistical analysis, gearing a learning system to recognise content structure that could be identified as condescending or slang.

The system was constructed to identify keywords and grammatical habits that were characteristic of sentence structure implied by the content's sentiments.

"Now, the system can recognise patterns that are either condescending or caring sentiments and can even send a text message to the user if the system thinks the post may be arrogant," said Saig.

When applied to other networking pages it may help detect content that suggests suicidal ideations, for example, or 'calls' for help, or expressions of admiration or pleasure, Saig said.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. OnePlus 15T Display Size Teased; Geekbench Listing Suggests Chipset
  2. WhatsApp Now Lets You Discover Stickers While Typing Emoji
  3. Vivo X300 Max With Zeiss Cameras Spied at MWC 2026, Could Launch Soon
  1. Laalo – Krishna Sada Sahaayate OTT Release: When, Where to Watch the Gujarati Spiritual Drama
  2. Vikram On Duty OTT Release: When, Where to Watch Nikhil Maliyakkal’s Telugu Crime Thriller
  3. Annagaru Vostaru OTT Release: When, Where to Watch Karthi’s Telugu Action-Comedy
  4. Local Times OTT Release: Know When and Where to Watch the Tamil Comedy Drama Online
  5. Vivo X300 Max With Zeiss Cameras and Android 16 Spotted at MWC 2026, Could Launch Soon
  6. WhatsApp Update Introduces Support for Discovering Stickers While Typing Emoji: How It Works
  7. This AI-Powered Portable Device Claims to Detect Microphones and Jam Audio Recordings
  8. Poco X8 Pro Series Global Launch Date Leaked Ahead of Anticipated Debut: Expected Price, Specifications
  9. MacBook Neo Geekbench Scores Indicate It Performs on Par With iPhone 16 Pro Max
  10. Xiaomi Testing Experimental AI Agent Miclaw, Can Perform Complex Tasks Across Devices
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.