Cargando…

Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case

Over the past decade, an increase in global connectivity and social media users has changed the way in which opinions and sentiments are shared. Platforms such as Twitter can act as public forums for expressing opinions on non-personal matters, but often also as an outlet for individuals to share th...

Descripción completa

Detalles Bibliográficos
Autores principales: Arias, Fernando, Guerra-Adames, Ariel, Zambrano, Maytee, Quintero-Guerra, Efraín, Tejedor-Flores, Nathalia
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9408347/
https://www.ncbi.nlm.nih.gov/pubmed/36011965
http://dx.doi.org/10.3390/ijerph191610328
_version_ 1784774579027181568
author Arias, Fernando
Guerra-Adames, Ariel
Zambrano, Maytee
Quintero-Guerra, Efraín
Tejedor-Flores, Nathalia
author_facet Arias, Fernando
Guerra-Adames, Ariel
Zambrano, Maytee
Quintero-Guerra, Efraín
Tejedor-Flores, Nathalia
author_sort Arias, Fernando
collection PubMed
description Over the past decade, an increase in global connectivity and social media users has changed the way in which opinions and sentiments are shared. Platforms such as Twitter can act as public forums for expressing opinions on non-personal matters, but often also as an outlet for individuals to share their feelings and personal thoughts. This becomes especially evident during times of crisis, such as a massive civil disorder or a pandemic. This study proposes the estimation and analysis of sentiments expressed by Twitter users of the Republic of Panama during the years 2019 and 2020. The proposed workflow is comprised of the extraction, quantification, processing and analysis of Spanish-language Twitter data based on Sentiment Analysis. This case of study highlights the importance of developing natural language processing resources explicitly devised for supporting opinion mining applications in Latin American countries, where language regionalisms can drastically change the lexicon on each country. A comparative analysis performed between popular machine learning algorithms demonstrated that a version of a distributed gradient boosting algorithm could infer sentiment polarity contained in Spanish text in an accurate and time-effective manner. This algorithm is the tool used to analyze over 20 million tweets produced between the years of 2019 and 2020 by residents of the Republic of Panama, accurately displaying strong sentiment responses to events occurred in the country over the two years that the analysis performed spanned. The obtained results highlight the potential that methodologies such as the one proposed in this study could have for transparent government monitoring of responses to public policies on a population scale.
format Online
Article
Text
id pubmed-9408347
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-94083472022-08-26 Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case Arias, Fernando Guerra-Adames, Ariel Zambrano, Maytee Quintero-Guerra, Efraín Tejedor-Flores, Nathalia Int J Environ Res Public Health Article Over the past decade, an increase in global connectivity and social media users has changed the way in which opinions and sentiments are shared. Platforms such as Twitter can act as public forums for expressing opinions on non-personal matters, but often also as an outlet for individuals to share their feelings and personal thoughts. This becomes especially evident during times of crisis, such as a massive civil disorder or a pandemic. This study proposes the estimation and analysis of sentiments expressed by Twitter users of the Republic of Panama during the years 2019 and 2020. The proposed workflow is comprised of the extraction, quantification, processing and analysis of Spanish-language Twitter data based on Sentiment Analysis. This case of study highlights the importance of developing natural language processing resources explicitly devised for supporting opinion mining applications in Latin American countries, where language regionalisms can drastically change the lexicon on each country. A comparative analysis performed between popular machine learning algorithms demonstrated that a version of a distributed gradient boosting algorithm could infer sentiment polarity contained in Spanish text in an accurate and time-effective manner. This algorithm is the tool used to analyze over 20 million tweets produced between the years of 2019 and 2020 by residents of the Republic of Panama, accurately displaying strong sentiment responses to events occurred in the country over the two years that the analysis performed spanned. The obtained results highlight the potential that methodologies such as the one proposed in this study could have for transparent government monitoring of responses to public policies on a population scale. MDPI 2022-08-19 /pmc/articles/PMC9408347/ /pubmed/36011965 http://dx.doi.org/10.3390/ijerph191610328 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Arias, Fernando
Guerra-Adames, Ariel
Zambrano, Maytee
Quintero-Guerra, Efraín
Tejedor-Flores, Nathalia
Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case
title Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case
title_full Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case
title_fullStr Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case
title_full_unstemmed Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case
title_short Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case
title_sort analyzing spanish-language public sentiment in the context of a pandemic and social unrest: the panama case
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9408347/
https://www.ncbi.nlm.nih.gov/pubmed/36011965
http://dx.doi.org/10.3390/ijerph191610328
work_keys_str_mv AT ariasfernando analyzingspanishlanguagepublicsentimentinthecontextofapandemicandsocialunrestthepanamacase
AT guerraadamesariel analyzingspanishlanguagepublicsentimentinthecontextofapandemicandsocialunrestthepanamacase
AT zambranomaytee analyzingspanishlanguagepublicsentimentinthecontextofapandemicandsocialunrestthepanamacase
AT quinteroguerraefrain analyzingspanishlanguagepublicsentimentinthecontextofapandemicandsocialunrestthepanamacase
AT tejedorfloresnathalia analyzingspanishlanguagepublicsentimentinthecontextofapandemicandsocialunrestthepanamacase