IDEAS home Printed from https://ideas.repec.org/a/gam/jdataj/v8y2023i6p96-d1158345.html
   My bibliography  Save this article

Exploring the Evolution of Sentiment in Spanish Pandemic Tweets: A Data Analysis Based on a Fine-Tuned BERT Architecture

Author

Listed:
  • Carlos Henríquez Miranda

    (Facultad de Ingeniería, Universidad del Magdalena; Santa Marta 470001, Colombia)

  • German Sanchez-Torres

    (Facultad de Ingeniería, Universidad del Magdalena; Santa Marta 470001, Colombia)

  • Dixon Salcedo

    (Department of Computer Science and Electronics, University of the Coast, Barranquilla 080020, Colombia)

Abstract

The COVID-19 pandemic has had a significant impact on various aspects of society, including economic, health, political, and work-related domains. The pandemic has also caused an emotional effect on individuals, reflected in their opinions and comments on social media platforms, such as Twitter. This study explores the evolution of sentiment in Spanish pandemic tweets through a data analysis based on a fine-tuned BERT architecture. A total of six million tweets were collected using web scraping techniques, and pre-processing was applied to filter and clean the data. The fine-tuned BERT architecture was utilized to perform sentiment analysis, which allowed for a deep-learning approach to sentiment classification. The analysis results were graphically represented based on search criteria, such as “COVID-19” and “coronavirus”. This study reveals sentiment trends, significant concerns, relationship with announced news, public reactions, and information dissemination, among other aspects. These findings provide insight into the emotional impact of the COVID-19 pandemic on individuals and the corresponding impact on social media platforms.

Suggested Citation

  • Carlos Henríquez Miranda & German Sanchez-Torres & Dixon Salcedo, 2023. "Exploring the Evolution of Sentiment in Spanish Pandemic Tweets: A Data Analysis Based on a Fine-Tuned BERT Architecture," Data, MDPI, vol. 8(6), pages 1-18, May.
  • Handle: RePEc:gam:jdataj:v:8:y:2023:i:6:p:96-:d:1158345
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2306-5729/8/6/96/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2306-5729/8/6/96/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Harleen Kaur & Shafqat Ul Ahsaan & Bhavya Alankar & Victor Chang, 2021. "A Proposed Sentiment Analysis Deep Learning Algorithm for Analyzing COVID-19 Tweets," Information Systems Frontiers, Springer, vol. 23(6), pages 1417-1429, December.
    2. Mario Jojoa & Begonya Garcia-Zapirain & Marino J. Gonzalez & Bernardo Perez-Villa & Elena Urizar & Sara Ponce & Maria Fernanda Tobar-Blandon, 2022. "Analysis of the Effects of Lockdown on Staff and Students at Universities in Spain and Colombia Using Natural Language Processing Techniques," IJERPH, MDPI, vol. 19(9), pages 1-20, May.
    3. Gianluca Bonifazi & Enrico Corradini & Domenico Ursino & Luca Virgili, 2022. "New Approaches to Extract Information From Posts on COVID-19 Published on Reddit," International Journal of Information Technology & Decision Making (IJITDM), World Scientific Publishing Co. Pte. Ltd., vol. 21(05), pages 1385-1431, September.
    4. Petra Kralj Novak & Jasmina Smailović & Borut Sluban & Igor Mozetič, 2015. "Sentiment of Emojis," PLOS ONE, Public Library of Science, vol. 10(12), pages 1-22, December.
    5. Waseem Ahmad & Bang Wang & Philecia Martin & Minghua Xu & Han Xu, 2023. "Enhanced sentiment analysis regarding COVID-19 news from global channels," Journal of Computational Social Science, Springer, vol. 6(1), pages 19-57, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Béatrice BOULU-RESHEF & Catherine BRUNEAU & Maxime NICOLAS & Thomas RENAULT, 2022. "An Experimental Analysis of Investor Sentiment," LEO Working Papers / DR LEO 2940, Orleans Economics Laboratory / Laboratoire d'Economie d'Orleans (LEO), University of Orleans.
    2. Juan Antonio Dip, 2023. "El Estrés y Ansiedad por COVID-19. Los Sentimientos de los Estudiantes Reflejados en la Opinión de una Encuesta Realizada en Pandemia," Working Papers 213, Red Nacional de Investigadores en Economía (RedNIE).
    3. Tiziana CARPI & Airo HINO & Stefano Maria IACUS & Giuseppe PORRO, 2022. "A Japanese Subjective Well-Being Indicator Based on Twitter Data [‘Collective Smile: Measuring Societal Happiness from Geolocated Images’]," Social Science Japan Journal, University of Tokyo and Oxford University Press, vol. 25(2), pages 273-296.
    4. Anand, Abhinav & Pathak, Jalaj, 2022. "The role of Reddit in the GameStop short squeeze," Economics Letters, Elsevier, vol. 211(C).
    5. Oriol J. Bosch & Melanie Revilla, 2021. "Using emojis in mobile web surveys for Millennials? A study in Spain and Mexico," Quality & Quantity: International Journal of Methodology, Springer, vol. 55(1), pages 39-61, February.
    6. Das, Gopal & Wiener, Hillary J.D. & Kareklas, Ioannis, 2019. "To emoji or not to emoji? Examining the influence of emoji on consumer reactions to advertising," Journal of Business Research, Elsevier, vol. 96(C), pages 147-156.
    7. Ganga S. Urumutta Hewage & Yue Liu & Ze Wang & Huifang Mao, 2021. "Consumer responses toward symmetric versus asymmetric facial expression emojis," Marketing Letters, Springer, vol. 32(2), pages 219-230, June.
    8. Benhoumane Ahmed, 2020. "What Makes You "Like", "Retweet" or "Comment" a Fundraising Content on Social Media? Exploring the Characteristics of Fundraising Messages on Social Networks [Qu'est-c," Post-Print hal-03390922, HAL.
    9. Intan Nurma Yulita & Victor Wijaya & Rudi Rosadi & Indra Sarathan & Yusa Djuyandi & Anton Satria Prabuwono, 2023. "Analysis of Government Policy Sentiment Regarding Vacation during the COVID-19 Pandemic Using the Bidirectional Encoder Representation from Transformers (BERT)," Data, MDPI, vol. 8(3), pages 1-17, February.
    10. Victor Chang & Carole Goble & Muthu Ramachandran & Lazarus Jegatha Deborah & Reinhold Behringer, 2021. "Editorial on Machine Learning, AI and Big Data Methods and Findings for COVID-19," Information Systems Frontiers, Springer, vol. 23(6), pages 1363-1367, December.
    11. Mohammed Talha Alam & Shahab Saquib Sohail & Syed Ubaid & Shakil & Zafar Ali & Mohammad Hijji & Abdul Khader Jilani Saudagar & Khan Muhammad, 2022. "It’s Your Turn, Are You Ready to Get Vaccinated? Towards an Exploration of Vaccine Hesitancy Using Sentiment Analysis of Instagram Posts," Mathematics, MDPI, vol. 10(22), pages 1-17, November.
    12. Peter Gabrovšek & Darko Aleksovski & Igor Mozetič & Miha Grčar, 2017. "Twitter sentiment around the Earnings Announcement events," PLOS ONE, Public Library of Science, vol. 12(2), pages 1-21, February.
    13. Nader Mahmoudi & Łukasz P. Olech & Paul Docherty, 2022. "A comprehensive study of domain-specific emoji meanings in sentiment classification," Computational Management Science, Springer, vol. 19(2), pages 159-197, June.
    14. Sarah N. Alyami & Sunday O. Olatunji, 2020. "Application of Support Vector Machine for Arabic Sentiment Classification Using Twitter-Based Dataset," Journal of Information & Knowledge Management (JIKM), World Scientific Publishing Co. Pte. Ltd., vol. 19(01), pages 1-13, April.
    15. Naythan Villafuerte & Santiago Manzano & Paulina Ayala & Marcelo V. García, 2023. "Artificial Intelligence in Virtual Telemedicine Triage: A Respiratory Infection Diagnosis Tool with Electronic Measuring Device," Future Internet, MDPI, vol. 15(7), pages 1-29, June.
    16. Klostermann, Jan & Plumeyer, Anja & Böger, Daniel & Decker, Reinhold, 2018. "Extracting brand information from social networks: Integrating image, text, and social tagging data," International Journal of Research in Marketing, Elsevier, vol. 35(4), pages 538-556.
    17. Jennifer Fane & Colin MacDougall & Jessie Jovanovic & Gerry Redmond & Lisa Gibbs, 2020. "Preschool Aged Children’s Accounts of their Own Wellbeing: are Current Wellbeing Indicators Applicable to Young Children?," Child Indicators Research, Springer;The International Society of Child Indicators (ISCI), vol. 13(6), pages 1893-1920, December.
    18. Waseem Ahmad & Bang Wang & Philecia Martin & Minghua Xu & Han Xu, 2023. "Enhanced sentiment analysis regarding COVID-19 news from global channels," Journal of Computational Social Science, Springer, vol. 6(1), pages 19-57, April.
    19. Adolfina Pérez Garcias & Gemma Tur & Antònia Darder Mesquida & Victoria I. Marín, 2020. "Reflexive Skills in Teacher Education: A Tweet a Week," Sustainability, MDPI, vol. 12(8), pages 1-18, April.
    20. Maria Zunally Rapada & Derrick Ethelbhert Yu & Krista Danielle Yu, 2021. "Do Social Media Posts Influence Consumption Behavior towards Plastic Pollution?," Sustainability, MDPI, vol. 13(22), pages 1-18, November.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jdataj:v:8:y:2023:i:6:p:96-:d:1158345. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.