Skip to main navigation Skip to search Skip to main content

Development of a Sentiment Analysis System for Chatbot Responses Enhanced with Fuzzy Logic

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Natural Language Processing is a branch of artificial intelligence that focuses on Human-Machine Interaction and currently enables the execution of complex tasks such as text generation or sentiment analysis thanks to Transformers technology and the application of the concept of attention in language models. In this work, the pre-trained language models Mistral-7b and BERT have been used for sentiment analysis task and fuzzy logic membership functions have been employed to optimize the final classification considering a human approach. For evaluation, an input text has been used to generate a response, which undergoes an analysis of the conveyed emotion. The precision to assert opposite emotions as “Very Happy” is up to 72%, while asserting “Very Sad” is up to 92%. On the other side, the “Neutral” documents just the 32% really corresponds to a real “Neutral” emotion. These results establish that Fuzzy Logic techniques emphasize the clear options while spare other ones because of the difficult of identify any kind of emotion just like a human feeling.

Original languageEnglish
Title of host publicationInformation Technology and Systems, ICITS 2025
EditorsAlvaro Rocha, Carlos Ferrás, Hiram Calvo
PublisherSpringer Science and Business Media Deutschland GmbH
Pages71-80
Number of pages10
ISBN (Print)9783031931055
DOIs
StatePublished - 2025
EventInternational Conference on Information Technology and Systems, ICITS 2025 - Mexico City, Mexico
Duration: 22 Jan 202525 Jan 2025

Publication series

NameLecture Notes in Networks and Systems
Volume1448 LNNS
ISSN (Print)2367-3370
ISSN (Electronic)2367-3389

Conference

ConferenceInternational Conference on Information Technology and Systems, ICITS 2025
Country/TerritoryMexico
CityMexico City
Period22/01/2525/01/25

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.

Keywords

  • analysis
  • BERT
  • chatbot
  • fuzzy logic
  • Mistral-7b
  • sentiment

Fingerprint

Dive into the research topics of 'Development of a Sentiment Analysis System for Chatbot Responses Enhanced with Fuzzy Logic'. Together they form a unique fingerprint.

Cite this