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.

"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.

Advertisement

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. Oppo F35 Pro 5G Review: An 8,000mAh Battery and a Lot to Like
  2. Samsung Galaxy S26 FE Review: Near-Flagship Specs, But at What Cost?
  3. OnePlus 16 vs iQOO 16: Price and Specifications Compared
  4. Best Phones With Telephoto Cameras Under Rs. 40,000
  5. Samsung Galaxy F70 5G With a 5,000mAh Battery Goes on Sale in India
  1. Samsung Galaxy F70 5G With 5,000mAh Battery, 50-Megapixel Camera Goes on Sale in India: Price, Offers
  2. Apple ‘Pro and Tell’ Event Set for Next Week; First MacBook With Touchscreen, New iPad Mini and More Expected to Launch
  3. Cysic Shuts Down Bridge After Attacker Illegally Creates 10 Million CYS Tokens
  4. JPM Coin Arrives on Ethereum as JPMorgan Expands Institutional Payments
  5. Vivo V80 FE Reportedly Spotted on BIS Certification Website, India Launch Seems Imminent
  6. Airtel’s New Recharges in India Announced: Rs. 185, Rs. 203 and Rs. 206 Voice-Only Plans Details
  7. Vivo X500 Ultra Leak Reveals Launch Timeline, Chipset, Display and Key Specifications
  8. iQOO Neo 12 Launch Date Announced; Design, Colour Options Teased
  9. Qubic Halts Chain as Attacker Exploits Weak Seeds to Drain 1,400 Wallets
  10. iPhone Duo Battery Capacity Revealed Days Before Foldable Goes on Sale
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.