Related Experiment Video
Updated: Jul 14, 2025

Author Spotlight: Addressing Technical and Subjective Challenges in Measuring Classroom Attention
Published on: December 15, 2023
Detection of emotion by text analysis using machine learning
Kristína Machová1, Martina Szabóova1, Ján Paralič1
1Department of Cybernetics and Artificial Intelligence, Faculty of Electrical Engineering and Informatics, Technical University of Košice, Košice, Slovakia.
This study introduces an artificial intelligence approach for detecting human emotions in text. Machine learning, particularly neural networks, shows high accuracy in identifying emotions, enhancing human-machine interaction through chatbots and web applications.
Area of Science:
- Artificial Intelligence
- Natural Language Processing
- Computational Linguistics
Background:
- Human emotions are complex and challenging for machines to understand.
- Accurate emotion detection is crucial for improving human-machine interaction, especially in conversational agents like chatbots.
- Existing methods struggle with the nuances of emotional expression in text.
Purpose of the Study:
- To develop and compare machine learning models for automatic emotion detection in text.
- To enable machines, such as chatbots, to accurately assess human emotional states.
- To enhance human-machine communication by adapting to detected emotions.
Main Methods:
- Experiments utilized a lexicon-based approach and classic machine learning methods (Naïve Bayes, Support Vector Machine).
- Deep learning models, specifically neural networks, were employed for text-based emotion detection.
- Model effectiveness was evaluated using a multi-classification task across six emotions.
Main Results:
- Neural network models demonstrated superior performance, achieving an F1-score of 0.95 for sadness.
- The developed emotion detection model was successfully integrated into a web application for text analysis.
- The model enhanced chatbot communication by providing real-time emotional state insights.
Conclusions:
- Machine learning approaches, especially neural networks, show significant potential for accurate emotion detection from text.
- The research validates the practical application of emotion detection models in improving human-machine interaction.
- Full automation of emotion detection remains an open research area requiring further advancements.
More Related Videos
04:27Using Facial Electromyography to Assess Facial Muscle Reactions to Experienced and Observed Affective Touch in Humans
Published on: March 15, 2019
05:51Exploring the Use of Isolated Expressions and Film Clips to Evaluate Emotion Recognition by People with Traumatic Brain Injury
Published on: May 15, 2016
Related Concept Videos
Empathy
Labeling Emotion
Cognitive Theories: Schachter-Singer Theory of Emotion
Physiological Arousal and Cognitive Labeling
According to this theory, when an individual experiences...
Facial Feedback Hypothesis
Introduction to Motivation and Emotion
Physiology of Emotion
Autonomic Nervous System
The autonomic nervous system (ANS) plays a critical role in emotional responses by regulating involuntary physiological functions. It consists of two main components: the sympathetic and parasympathetic systems. The sympathetic system...