Unveiling X/Twitter's Sentiment Landscape: A Python Crawler That Maps Opinion Using Advanced Search
Main Article Content
Abstract
Sentiment analysis is a method for determining attitudes towards a particular event or topic. Twitter or widely known as X now is a popular micro-blogging social media platform frequently used to express emotions. It is well-suited for sentiment analysis. However, some Twitter data retrieval applications have limited search capabilities. Sometimes, Twitter searches can lead to discussions that are unrelated to the intended topic, such as scams or frauds that exploit popular or common hashtags. In addressing this issue Twitter offers an advanced search function that enables detailed topic searches to meet specific information needs, such as sentiment analysis. This study presents a Python-based application for crawling Twitter data using a detailed search similar to advanced search on Twitter. The processed data is used to determine the average sentiment value of the searched topics. To calculate this sentiment value, the researcher utilises Stanza during the search process.
Downloads
Article Details
How to Cite
References
Catelli, R., Pelosi, S., Comito, C., Pizzuti, C., & Esposito, M. (2023). Lexicon-based sentiment analysis to detect opinions and attitude towards COVID-19 vaccines on Twitter in Italy. Computers in Biology and Medicine, 158, 106876. https://doi.org/10.1016/j.compbiomed.2023.106876
Elkins, K. (2022). The Shapes of Stories: Sentiment Analysis for Narrative. Elements in Digital Literary Studies. https://doi.org/10.1017/9781009270403
Hermansyah, M., Firdausi, F., Wahid, A., & Prasetyo, N. A. (2023). Twitter Sentiment Analysis for Exploring Public Opinion on the Merdeka Belajar-Kampus Merdeka (MBKM) 2023 with the Naïve Bayes Classifier Algorithm. PROCEEDING INTERNATIONAL CONFERENCE ON ECONOMICS, BUSINESS AND INFORMATION TECHNOLOGY (ICEBIT), 4, 852–860.
Pratikakis, P. (2018, April 20). twAwler: A lightweight twitter crawler. arXiv.Org. https://arxiv.org/abs/1804.07748v1
Purwandari, K., Perdana, R. B., Sigalingging, J. W. C., Rahutomo, R., & Pardamean, B. (2023). Automatic Smart Crawling on Twitter for Weather Information in Indonesia. Procedia Computer Science, 227, 795–804. https://doi.org/10.1016/j.procs.2023.10.585
Qi, P., Zhang, Y., Zhang, Y., Bolton, J., & Manning, C. D. (2020). Stanza: A Python Natural Language Processing Toolkit for Many Human Languages (arXiv:2003.07082). arXiv. https://doi.org/10.48550/arXiv.2003.07082
Setiyawati, D., & Cahyono, N. (2023). Analisis Sentimen Pengguna Sosial Media Twitter Terhadap Perokok Di Indonesia. Indonesian Journal of Computer Science, 12(1), Article 1. https://doi.org/10.33022/ijcs.v12i1.3154
Wiranto, F., Sabilirrasyad, I., Hermansyah, M., Mandala, S., Wiranto, F., & Mandala, S. (2023). Optimizing Forecasting of Dow Jones Stock Index in New York amid Uncertain Global Conditions in 2023 : A Combined Approach of ARIMA and Machine Learning Models. 1, 73–88.