Scientists from the Islamic University of Technology in Bangladesh asked a small group of people to type a block of sample text, and then analysed the keystrokes and characteristics to see if they could identify any of seven different emotional states: joy, fear, anger, sadness, disgust, shame or guilt.
The emotions that the programme recognised with the greatest degree of accuracy were joy (87 per cent of the time) and anger (81 per cent of the time), 'LiveScience' reported.
"If we could build any system that is intelligent enough to interact with humans that involves emotions - that is, it can detect user emotions and change its behaviour accordingly - then using machines could be more effective and friendly," the researchers said.
The last two options were added in case an individual did not identify with any of the original options.
In the second part of the study, the researchers used software that collected text samples from users, who were prompted every 30 minutes to enter their mental state, choosing from the following possibilities: joy, fear, anger, sadness, disgust, shame, guilt or none of the above.
The researchers used a special type of software that ran in the background to record all keys pressed by the users as well as the users' press and release times.
The researchers then extracted 19 keystroke attributes from the collected data. Some of the attributes included typing speed in 5-second intervals and the time elapsed between when a particular key was pressed and released.
To analyse the sample texts, the investigators used a standard database of words and sentences that were associated with the seven different emotional states.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
