Sinkron : Jurnal dan Penelitian Teknik Informatika
Vol. 9 No. 2 (2025): Research Articles April 2025

Comparative Analysis of SVM and BERT for Sentiment and Sarcasm Detection in the Boycott of Israeli Products on Platform X

Sabrina, Siti Sarah (Unknown)
Shiddieq , Diqy Fakhrun (Unknown)
Roji, Fikri Fahru (Unknown)



Article Info

Publish Date
12 May 2025

Abstract

The Israel-Palestine conflict has triggered a global consumer movement, including a widespread boycott of Israeli-affiliated products in Indonesia. As this campaign gains momentum on digital platforms like X (formerly Twitter), understanding public sentiment becomes crucial—not only for gauging public opinion but also for anticipating potential socio-economic impacts. This study evaluates the effectiveness of two sentiment analysis models—Support Vector Machine (SVM) and Bidirectional Encoder Representations from Transformers (BERT)—in classifying sentiment and detecting sarcasm related to the boycott campaign. A total of 5,637 Indonesian-language tweets were manually labeled into positive, neutral, and negative categories, with sarcasm detection performed using a fine-tuned IndoBERT, model which classified tweets into two categories: sarcastic and non-sarcastic. The models were assessed using accuracy, precision, recall, F1-score, and computational efficiency. Results show that BERT outperforms SVM in both sentiment classification (accuracy: 69.26% vs. 64.58%; F1-score: 69.47% vs. 62.40%) and sarcasm detection (accuracy: 92.20% vs. 86.15%; F1-score: 92.38% vs. 85.27%). However, BERT requires significantly longer processing times 194.76 seconds for sentiment classification and 191.92 seconds for sarcasm detection, while SVM required only 18.81 seconds and 10.99 seconds. These findings highlight a trade-off between contextual comprehension and real-time efficiency. Future research may explore ensemble methods or threshold-tuning to optimize this balance. The practical implications of this research lie in its application for real-time public discourse monitoring and data-driven policy development. By improving the detection of nuanced expressions such as sarcasm, this study contributes to more accurate sentiment interpretation in polarized digital environments.

Copyrights © 2025






Journal Info

Abbrev

sinkron

Publisher

Subject

Computer Science & IT

Description

Scope of SinkrOns Scientific Discussion 1. Machine Learning 2. Cryptography 3. Steganography 4. Digital Image Processing 5. Networking 6. Security 7. Algorithm and Programming 8. Computer Vision 9. Troubleshooting 10. Internet and E-Commerce 11. Artificial Intelligence 12. Data Mining 13. Artificial ...