Analyzing Spanish-Language Public Sentiment in the Context of a Pandemic and Social Unrest: The Panama Case
Fernando Arias,
Ariel Guerra-Adames,
Maytee Zambrano (),
Efraín Quintero-Guerra and
Nathalia Tejedor-Flores
Additional contact information
Fernando Arias: Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama
Ariel Guerra-Adames: Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama
Maytee Zambrano: Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama
Efraín Quintero-Guerra: Research Group on Advanced Technologies of Telecommunications and Signal Processing (GITTS), Faculty of Electrical Engineering, Technological University of Panama, Panama City 0819-07289, Panama
Nathalia Tejedor-Flores: Centro de Estudios Multidisciplinarios en Ciencias, Ingeniería y Tecnología AIP (CEMCIT-AIP), Technological University of Panama, Panama City 0819-07289, Panama
IJERPH, 2022, vol. 19, issue 16, 1-19
Abstract:
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.
Keywords: sentiment analysis; COVID-19; public health; social media; machine learning; natural language processing (search for similar items in EconPapers)
JEL-codes: I I1 I3 Q Q5 (search for similar items in EconPapers)
Date: 2022
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)
Downloads: (external link)
https://www.mdpi.com/1660-4601/19/16/10328/pdf (application/pdf)
https://www.mdpi.com/1660-4601/19/16/10328/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jijerp:v:19:y:2022:i:16:p:10328-:d:892552
Access Statistics for this article
IJERPH is currently edited by Ms. Jenna Liu
More articles in IJERPH from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().