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.

Advertisement

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

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. Samsung Galaxy Z Fold 8 Ultra Could Cost More Than Expected, Listing Suggests
  2. Samsung Galaxy Z Fold 8 Fresh Renders Leaked Online Just Ahead of Launch
  3. Boat Airdopes ProClip Review: Built for Everyday Use
  4. These OnePlus Smartphones Could Receive the ColorOS 17 Update in India
  5. Redmi Note 17 Pro Max Listed on NBTC Website Ahead of Imminent Launch
  6. OnePlus N6x Design, Colour Options Teased Ahead of India Launch
  7. Samsung Galaxy Buds Able Open-Ear Earphones Tipped for Q4 Launch
  1. Offline UPI Payments With NFC Support Could Launch in India Soon
  2. Samsung Galaxy S26 Ultra's Privacy Display Feature Gets a Major Upgrade in One UI 9 Beta
  3. OnePlus N6x Design, Colour Options Teased in New Marketing Material Ahead of Imminent Launch in India
  4. OnePlus 11, Nord 4, and Newer Models Tipped to Receive the Android 17-Based ColorOS 17 Update in India
  5. Redmi Note 17 Pro Max Appears on Thailand's NBTC Certification Database, Might Launch Soon
  6. Apple’s First Foldable iPhone Reportedly Appears in iOS 27 Beta Code With a Multi-Battery Setup
  7. X for Android App Undergoes Major Design Overhaul, Enhanced Performance and Reliability
  8. Samsung Galaxy Buds Able to Reportedly Skip Galaxy Unpacked Launch; Could Debut in October
  9. Dell Alienware 16X Aurora, Alienware 16 Area-51 and Alienware 18 Area-51 Launched in India: Price, Specifications
  10. Samsung Galaxy A55, Galaxy A35 One UI 9 Test Builds Reportedly Spotted Ahead of Android 17 Rollout
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.