• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

利用机器学习通过文本分析进行情感检测。

Detection of emotion by text analysis using machine learning.

作者信息

Machová Kristína, Szabóova Martina, Paralič Ján, Mičko Ján

机构信息

Department of Cybernetics and Artificial Intelligence, Faculty of Electrical Engineering and Informatics, Technical University of Košice, Košice, Slovakia.

Department of Social Sciences, Technical University of Košice, Košice, Slovakia.

出版信息

Front Psychol. 2023 Sep 20;14:1190326. doi: 10.3389/fpsyg.2023.1190326. eCollection 2023.

DOI:10.3389/fpsyg.2023.1190326
PMID:37799520
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC10548207/
Abstract

Emotions are an integral part of human life. We know many different definitions of emotions. They are most often defined as a complex pattern of reactions, and they could be confused with feelings or moods. They are the way in which individuals cope with matters or situations that they find personally significant. Emotion can also be characterized as a conscious mental reaction (such as anger or fear) subjectively experienced as a strong feeling, usually directed at a specific object. Emotions can be communicated in different ways. Understanding the emotions conveyed in a text or speech of a human by a machine is one of the challenges in the field of human-machine interaction. The article proposes the artificial intelligence approach to automatically detect human emotions, enabling a machine (i.e., a chatbot) to accurately assess emotional state of a human and to adapt its communication accordingly. A complete automation of this process is still a problem. This gap can be filled with machine learning approaches based on automatic learning from experiences represented by the text data from conversations. We conducted experiments with a lexicon-based approach and classic methods of machine learning, appropriate for text processing, such as Naïve Bayes (NB), support vector machine (SVM) and with deep learning using neural networks (NN) to develop a model for detecting emotions in a text. We have compared these models' effectiveness. The NN detection model performed particularly well in a multi-classification task involving six emotions from the text data. It achieved an F1-score = 0.95 for sadness, among other high scores for other emotions. We also verified the best model in use through a web application and in a Chatbot communication with a human. We created a web application based on our detection model that can analyze a text input by web user and detect emotions expressed in a text of a post or a comment. The model for emotions detection was used also to improve the communication of the Chatbot with a human since the Chatbot has the information about emotional state of a human during communication. Our research demonstrates the potential of machine learning approaches to detect emotions from a text and improve human-machine interaction. However, it is important to note that full automation of an emotion detection is still an open research question, and further work is needed to improve the accuracy and robustness of this system. The paper also offers the description of new aspects of automated detection of emotions from philosophy-psychological point of view.

摘要

情感是人类生活中不可或缺的一部分。我们知晓许多关于情感的不同定义。情感最常被定义为一种复杂的反应模式,它们可能会与感觉或情绪相混淆。情感是个体应对他们认为具有个人重要性的事情或情况的方式。情感也可被描述为一种有意识的心理反应(如愤怒或恐惧),主观上体验为一种强烈的感觉,通常指向一个特定的对象。情感可以通过不同的方式进行传达。让机器理解人类文本或言语中传达的情感是人机交互领域的挑战之一。本文提出了一种人工智能方法来自动检测人类情感,使机器(即聊天机器人)能够准确评估人类的情绪状态并相应地调整其交流方式。这一过程的完全自动化仍然是一个问题。基于从对话文本数据所代表的经验中进行自动学习的机器学习方法可以填补这一空白。我们使用基于词汇表的方法以及适用于文本处理的经典机器学习方法(如朴素贝叶斯(NB)、支持向量机(SVM)),并利用神经网络(NN)进行深度学习,来开发一个用于检测文本中情感的模型。我们比较了这些模型的有效性。在涉及文本数据中的六种情感的多分类任务中,神经网络检测模型表现尤为出色。对于悲伤情绪,它的F1分数 = 0.95,对于其他情感也有较高的分数。我们还通过一个网络应用程序以及在聊天机器人与人类的交流中验证了最佳使用模型。我们基于检测模型创建了一个网络应用程序,它可以分析网络用户输入的文本,并检测帖子或评论文本中表达的情感。由于聊天机器人在交流过程中拥有关于人类情绪状态的信息,因此情感检测模型也被用于改善聊天机器人与人类的交流。我们的研究展示了机器学习方法从文本中检测情感并改善人机交互的潜力。然而,需要注意的是,情感检测的完全自动化仍然是一个开放的研究问题,还需要进一步开展工作来提高该系统的准确性和鲁棒性。本文还从哲学 - 心理学角度对情感自动检测的新方面进行了描述。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/8935034be8b3/fpsyg-14-1190326-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/2621da4dc9f1/fpsyg-14-1190326-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/26954f638406/fpsyg-14-1190326-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/0861e5ec1871/fpsyg-14-1190326-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/e5603539a66d/fpsyg-14-1190326-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/352b712544ae/fpsyg-14-1190326-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/8d10df93f133/fpsyg-14-1190326-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/2045c15857c6/fpsyg-14-1190326-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/bb65f5330df0/fpsyg-14-1190326-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/8935034be8b3/fpsyg-14-1190326-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/2621da4dc9f1/fpsyg-14-1190326-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/26954f638406/fpsyg-14-1190326-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/0861e5ec1871/fpsyg-14-1190326-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/e5603539a66d/fpsyg-14-1190326-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/352b712544ae/fpsyg-14-1190326-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/8d10df93f133/fpsyg-14-1190326-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/2045c15857c6/fpsyg-14-1190326-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/bb65f5330df0/fpsyg-14-1190326-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/7357/10548207/8935034be8b3/fpsyg-14-1190326-g009.jpg

相似文献

1
Detection of emotion by text analysis using machine learning.利用机器学习通过文本分析进行情感检测。
Front Psychol. 2023 Sep 20;14:1190326. doi: 10.3389/fpsyg.2023.1190326. eCollection 2023.
2
Objectively Quantifying Pediatric Psychiatric Severity Using Artificial Intelligence, Voice Recognition Technology, and Universal Emotions: Pilot Study for Artificial Intelligence-Enabled Innovation to Address Youth Mental Health Crisis.利用人工智能、语音识别技术和通用情感客观量化儿科精神疾病严重程度:基于人工智能的创新解决青少年心理健康危机的试点研究
JMIR Res Protoc. 2023 Oct 23;12:e51912. doi: 10.2196/51912.
3
The Potential of Chatbots for Emotional Support and Promoting Mental Well-Being in Different Cultures: Mixed Methods Study.聊天机器人在不同文化中提供情感支持和促进心理健康的潜力:混合方法研究。
J Med Internet Res. 2023 Oct 20;25:e51712. doi: 10.2196/51712.
4
Usability Comparison Among Healthy Participants of an Anthropomorphic Digital Human and a Text-Based Chatbot as a Responder to Questions on Mental Health: Randomized Controlled Trial.健康参与者对拟人化数字人和基于文本的聊天机器人作为心理健康问题回答者的可用性比较:随机对照试验。
JMIR Hum Factors. 2024 Apr 29;11:e54581. doi: 10.2196/54581.
5
Text-Based Emotion Recognition Using Deep Learning Approach.基于深度学习的文本情感识别
Comput Intell Neurosci. 2022 Aug 23;2022:2645381. doi: 10.1155/2022/2645381. eCollection 2022.
6
Machine Learning and Lexicon Approach to Texts Processing in the Detection of Degrees of Toxicity in Online Discussions.机器学习和词汇方法在在线讨论中毒性程度检测中的文本处理。
Sensors (Basel). 2022 Aug 27;22(17):6468. doi: 10.3390/s22176468.
7
Machine Learning Algorithms for Detection and Classifications of Emotions in Contact Center Applications.机器学习算法在联络中心应用中用于情感检测和分类。
Sensors (Basel). 2022 Jul 15;22(14):5311. doi: 10.3390/s22145311.
8
Automatic emotion recognition in healthcare data using supervised machine learning.使用监督式机器学习对医疗保健数据进行自动情感识别。
PeerJ Comput Sci. 2021 Dec 15;7:e751. doi: 10.7717/peerj-cs.751. eCollection 2021.
9
Machine learning and natural language processing to assess the emotional impact of influencers' mental health content on Instagram.利用机器学习和自然语言处理评估Instagram上有影响力者心理健康内容的情感影响。
PeerJ Comput Sci. 2024 Sep 19;10:e2251. doi: 10.7717/peerj-cs.2251. eCollection 2024.
10
Evaluating Ensemble Learning Methods for Multi-Modal Emotion Recognition Using Sensor Data Fusion.基于传感器数据融合的多模态情感识别的集成学习方法评估。
Sensors (Basel). 2022 Jul 27;22(15):5611. doi: 10.3390/s22155611.

引用本文的文献

1
Performance of mental health chatbot agents in detecting and managing suicidal ideation.心理健康聊天机器人在检测和处理自杀意念方面的表现。
Sci Rep. 2025 Aug 27;15(1):31652. doi: 10.1038/s41598-025-17242-4.
2
Analyzing social psychological impact on emotional expression through peer communication using crayfish optimization algorithm with deep learning model.使用小龙虾优化算法和深度学习模型,通过同伴交流分析社会心理对情绪表达的影响。
Sci Rep. 2025 Jul 19;15(1):26222. doi: 10.1038/s41598-025-11775-4.
3
Comparative Analysis of Accuracy, Readability, Sentiment, and Actionability: Artificial Intelligence Chatbots (ChatGPT and Google Gemini) versus Traditional Patient Information Leaflets for Local Anesthesia in Eye Surgery.

本文引用的文献

1
Linguistic expressions of negative stances: A conversation analysis of turn-medial particle in Jishou dialect (Hunan Province, China).否定立场的语言表达:湘西吉首方言句中语气词的会话分析(中国湖南省)
Front Psychol. 2023 Feb 21;14:1018648. doi: 10.3389/fpsyg.2023.1018648. eCollection 2023.
2
Companion robots to mitigate loneliness among older adults: Perceptions of benefit and possible deception.陪伴机器人减轻老年人孤独感:对益处和可能存在的欺骗的认知
Front Psychol. 2023 Feb 21;14:1106633. doi: 10.3389/fpsyg.2023.1106633. eCollection 2023.
3
A Comparison of Machine Learning Algorithms and Feature Sets for Automatic Vocal Emotion Recognition in Speech.
准确性、可读性、情感倾向和可操作性的比较分析:人工智能聊天机器人(ChatGPT和谷歌Gemini)与眼科手术局部麻醉传统患者信息手册的对比
Br Ir Orthopt J. 2024 Aug 19;20(1):183-192. doi: 10.22599/bioj.377. eCollection 2024.
机器学习算法和特征集在语音自动情感识别中的比较
Sensors (Basel). 2022 Oct 6;22(19):7561. doi: 10.3390/s22197561.
4
Machine Learning and Lexicon Approach to Texts Processing in the Detection of Degrees of Toxicity in Online Discussions.机器学习和词汇方法在在线讨论中毒性程度检测中的文本处理。
Sensors (Basel). 2022 Aug 27;22(17):6468. doi: 10.3390/s22176468.
5
Automated Feature Extraction on AsMap for Emotion Classification Using EEG.基于 EEG 的情绪分类的 AsMap 上自动化特征提取。
Sensors (Basel). 2022 Mar 18;22(6):2346. doi: 10.3390/s22062346.
6
Applications of Support Vector Machine in Genomic Prediction in Pig and Maize Populations.支持向量机在猪和玉米群体基因组预测中的应用
Front Genet. 2020 Dec 3;11:598318. doi: 10.3389/fgene.2020.598318. eCollection 2020.
7
Emotion Recognition Using Eye-Tracking: Taxonomy, Review and Current Challenges.使用眼动追踪进行情感识别:分类、综述及当前挑战。
Sensors (Basel). 2020 Apr 22;20(8):2384. doi: 10.3390/s20082384.
8
Alexa, Siri, Cortana, and More: An Introduction to Voice Assistants.Alexa、Siri、Cortana 及其他:语音助手介绍。
Med Ref Serv Q. 2018 Jan-Mar;37(1):81-88. doi: 10.1080/02763869.2018.1404391.
9
What Scientists Who Study Emotion Agree About.情绪研究科学家的共识
Perspect Psychol Sci. 2016 Jan;11(1):31-4. doi: 10.1177/1745691615596992.
10
Conscious emotional experience emerges as a function of multilevel, appraisal-driven response synchronization.有意识的情感体验是作为多层次的、由评估驱动的反应同步的一种功能而出现的。
Conscious Cogn. 2008 Jun;17(2):484-95. doi: 10.1016/j.concog.2008.03.019. Epub 2008 Apr 29.