Sentiment analysis on Twitter data towards climate actionShow others and affiliations
2023 (English)In: Results in Engineering (RINENG), ISSN 2590-1230, Vol. 19, article id 101287Article in journal (Refereed) Published
Abstract [en]
Understanding the progress of the Sustainable Development Goals (SDGs) proposed by the United Nations (UN) is important, but difficult. In particular, policymakers would need to understand the sentiment within the public regarding challenges associated with climate change. With this in mind and the rise of social media, this work focuses on the task of uncovering the sentiment of Twitter users concerning climate-related issues. This is done by applying modern natural-language-processing (NLP) methods, i.e. VADER, TextBlob, and BERT, to estimate the sentiment of a gathered dataset based on climate-change keywords. A transfer-learning-based model applied to a pre-trained BERT model for embedding and tokenizing with logistic regression for sentiment classification outperformed the rule-based methods VADER and TextBlob; based on our analysis, the proposed approach led to the highest accuracy: 69%. The collected data contained significant noise, especially from the keyword 'energy'. Consequently, using more specific keywords would improve the results. The use of other methods, like BERTweet, would also increase the accuracy of the model. The overall sentiment in the analyzed data was positive. The distribution of the positive, neutral, and negative sentiments was very similar in the different SDGs.
Place, publisher, year, edition, pages
Elsevier BV , 2023. Vol. 19, article id 101287
Keywords [en]
Sentiment analysis, NLP, SDG, BERT, Climate change, Twitter, Social media
National Category
Environmental Sciences Computer Sciences Sociology
Identifiers
URN: urn:nbn:se:kth:diva-335131DOI: 10.1016/j.rineng.2023.101287ISI: 001047040700001Scopus ID: 2-s2.0-85165944573OAI: oai:DiVA.org:kth-335131DiVA, id: diva2:1793621
Note
QC 20230901
2023-09-012023-09-012023-09-07Bibliographically approved