Performance Comparison of SVM in Sentiment Analysis of Israel-Palestine Comments Using Lsa and Word2vec

Authors

  • Muh. Arsan Akbar Department of Computer Engineering, State University of Makassar, Indonesia
  • Abd. Azis Syam Department of Computer Engineering, State University of Makassar, Indonesia
  • Muh. Nur Hidayat Al Amanah Department of Computer Engineering, State University of Makassar, Indonesia
  • Andi Akram Nur Risal Department of Computer Engineering, State University of Makassar, Indonesia
  • Dewi Fatmarani Surianto Department of Computer Engineering, State University of Makassar, Indonesia
  • Nur Azizah Eka Budiarti Department of Computer Engineering, State University of Makassar, Indonesia
  • Abdul Wahid Department of Computer Engineering, State University of Makassar, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.1.4601

Keywords:

Israel-Palestinian Conflict, Latent Semantic Analysis, Sentiment Analysis, Support Vector Machine, Word2Vec

Abstract

This study compares two feature extraction techniques, namely Latent Semantic Analysis (LSA) and Word2Vec, in the sentiment classification of comments related to the Israeli-Palestinian conflict using Support Vector Machine (SVM). The dataset consists of 1000 YouTube comments and 158 news paragraphs, categorized into pro and con Palestinian sentiments. The preprocessing process includes casefolding, special character and stopword removal, lemmatization, and tokenization. The results show that SVM with Word2Vec has better performance than SVM with LSA in the classification of positive and negative comments. SVM model with Word2Vec recorded a precision value of 92% and F1-Score of 93% on negative comments. Meanwhile, SVM with LSA recorded 90% precision and 92% F1-Score. On positive comments, SVM with Word2Vec recorded 92% recall and 93% F1-Score. While SVM with LSA recorded 89% recall and 91% F1-Score. Word2Vec's strength lies in its ability to capture word context and nuance more effectively, thanks to training using richer contextualized comment and news data. In conclusion, although both methods show good ability in sentiment classification, the use of Word2Vec provides more consistent and accurate results. This research contributes to the advancement of sentiment classification methods in the context of complex socio-political issues and can serve as a reference for applying machine learning to more accurate and contextual public opinion analysis.

Downloads

Download data is not yet available.

References

F. Firdaus, J. Septian Putra, R. Saaulia, and S. Adnis, “Yasser Arafat dan Konflik Palestina-Israel (Tinjauan Sejarah),” Khazanah J. Sej. Dan Kebud. Islam, vol. 10, no. 1, pp. 1–12, 2020, doi: 10.15548/khazanah.v10i1.265.

A. Syari’ah, N. Nabilah, and R. Wijayanti, “Kekejaman Israel terhadap Rakyat Palestina: Telaah Berita-Berita CNN Indonesia Tahun 2019-2021,” vol. 1, no. 1, pp. 58–80, 2022.

R. Picheta and S. McCarthy, “What did Israel know about Hamas’ October 7 attack?,” CNN World.

M. Haddad and M. Hussein, “Know Their Names: Palestinian Children Killed in Israeli Attacks on Gaza.” [Online]. Available: https://interactive.aljazeera.com/aje/2024/israel-war-on-gaza-10000-children-killed/

“Video: Korban Tewas di Gaza Capai Lebih Dari 32 Ribu Jiwa.” [Online]. Available: https://www.cnbcindonesia.com/news/20240324150254-8-524917/video-korban-tewas-di-gaza-capai-lebih-dari-32-ribu-jiwa

I. Afdhal, R. Kurniawan, I. Iskandar, R. Salambue, E. Budianita, and F. Syafria, “Penerapan Algoritma Random Forest Untuk Analisis Sentimen Komentar Di YouTube Tentang Islamofobia,” J. Nas. Komputasi Dan Teknol. Inf., vol. 5, no. 1, 2022, doi: 10.32672/jnkti.v5i1.4004.

T. Mahwati and A. R. Nanda, “Analysis of the Palestinian and Israeli Conflict in the Perspective of International Humanitarian Law,” Int. Law Discourse Southeast Asia, vol. 1, no. 1, pp. 23–42, Jan. 2022, doi: 10.15294/ildisea.v1i1.56873.

A. B. Sasmita, B. Rahayudi, and L. Muflikhah, “Analisis Sentimen Komentar pada Media Sosial Twitter tentang PPKM Covid-19 di Indonesia dengan Metode Naïve Bayes,” J. Pengemb. Teknol. Inf. Dan Ilmu Komput., vol. 6, no. 3, 2022.

P. Arsi and R. Waluyo, “Analisis Sentimen Wacana Pemindahan Ibu Kota Indonesia Menggunakan Algoritma Support Vector Machine (SVM),” J. Teknol. Inf. Dan Ilmu Komput., vol. 8, no. 1, p. 147, 2021, doi: 10.25126/jtiik.0813944.

A. A. N. Risal, F. Fathahillah, and D. R. A. Sulaiman, “Classification of Sentiment Analysis and Community Opinion Modeling Topics for Application of ICT in Government Operations,” Int. J. Environ. Eng. Educ., vol. 5, no. 1, pp. 35–44, Apr. 2023, doi: 10.55151/ijeedu.v5i1.99.

S. C H, “Exploring Sentiment Analysis: Applications, and Challenges —A Comprehensive Survey,” INTERANTIONAL J. Sci. Res. Eng. Manag., vol. 07, no. 07, Jul. 2023, doi: 10.55041/IJSREM24621.

R. Koli and S. Redekar, “A Review on Sentiment Analysis Methodologies, Practices and Applications with Machine Learning,” Int. J. Comput. Sci. Mob. Comput., vol. 12, no. 6, pp. 64–70, Jun. 2023, doi: 10.47760/ijcsmc.2023.v12i06.007.

G. Kaur and A. Sharma, “A deep learning-based model using hybrid feature extraction approach for consumer sentiment analysis,” J. Big Data, vol. 10, no. 1, p. 5, Jan. 2023, doi: 10.1186/s40537-022-00680-6.

F. Es-sabery, K. Es-sabery, H. Garmani, J. Qadir, and A. Hair, “Evaluation of Different Extractors of Features at the Level of Sentiment Analysis,” Infocommunications J., vol. 14, no. 2, pp. 85–96, 2022, doi: 10.36244/ICJ.2022.2.9.

S. Saifullah, R. Dreżewski, F. Andika Dwiyanto, A. Sasmito Aribowo, and Y. Fauziah, “Sentiment Analysis Using Machine Learning Approach Based on Feature Extraction for Anxiety Detection,” presented at the Computational Science – ICCS 2023, ICCS 2023, 2023, pp. 365–372.

J. Liu, Z. Yan, S. Chen, X. Sun, and B. Luo, “Channel Attention TextCNN with Feature Word Extraction for Chinese Sentiment Analysis,” ACM Trans. Asian Low-Resour. Lang. Inf. Process., vol. 22, no. 4, pp. 1–23, 2023, doi: 10.1145/3571716.

S. Ouaari, T. M. Tashu, and T. Horvath, “Multimodal Feature Extraction for Memes Sentiment Classification,” presented at the 2022 IEEE 2nd Conference on Information Technology and Data Science (CITDS), IEEE, 2022, pp. 285–290. doi: 10.1109/CITDS54976.2022.9914260.

P. E. Romero, O. Rodriguez-Alabanda, E. Molero, and G. Guerrero-Vaca, “Use of the Support Vector Machine (SVM) Algorithm to Predict Geometrical Accuracy in the Manufacture of Molds via Single Point Incremental Forming (SPIF) Using Aluminized Steel Sheets,” J. Mater. Res. Technol., vol. 15, pp. 1562–1571, 2021, doi: 10.1016/J.JMRT.2021.08.155.

B. S. Waluyo Poetro, E. Maria, H. Zein, E. Najwaini, and D. H. Zulfikar, “Advancements in Agricultural Automation: SVM Classifier with Hu Moments for Vegetable Identification,” Indones. J. Data Sci., vol. 5, no. 1, pp. 15–22, Mar. 2024, doi: 10.56705/ijodas.v5i1.123.

T. Sabri, S. Bahassine, O. El Beggar, and M. Kissi, “An Improved Arabic Text Classification Method Using Word Embedding,” Int. J. Electr. Comput. Eng. IJECE, vol. 14, no. 1, pp. 721–721, 2024, doi: 10.11591/ijece.v14i1.pp721-731.

D. Nur Fitriana and Y. Sibaroni, “Sentiment Analysis on KAI Twitter Post Using Multiclass Support Vector Machine (SVM),” J. RESTI Rekayasa Sist. Dan Teknol. Inf., vol. 4, no. 5, pp. 846–853, 2020, doi: 10.29207/resti.v4i5.2231.

D. E. Cahyani and I. Patasik, “Performance Comparison of TF-IDF and Word2Vec Models for Emotion Text Classification,” Bull. Electr. Eng. Inform., vol. 10, no. 5, pp. 2780–2788, 2021, doi: 10.11591/eei.v10i5.3157.

S. Styawati, A. Nurkholis, A. Ari Aldino, S. Samsugi, E. Suryati, and R. Puji Cahyono, “Sentiment Analysis on Online Transportation Reviews Using Word2Vec Text Embedding Model Feature Extraction and Support Vector Machine (SVM) Algorithm,” IEEE, pp. 163–167, 2021, doi: 10.1109/ISMODE53584.2022.9742906.

N. Adi Nugroho and E. Budi Setiawan, “Implementation Word2Vec for Feature Expansion in Twitter Sentiment Analysis,” J. RESTI Rekayasa Sist. Dan Teknol. Inf., vol. 5, no. 5, pp. 837–842, 2021, doi: 10.29207/resti.v5i5.3325.

M. Rahardi, A. Aminuddin, F. F. Abdulloh, and R. A. Nugroho, “Sentiment Analysis of Covid-19 Vaccination using Support Vector Machine in Indonesia,” Int. J. Adv. Comput. Sci. Appl., vol. 13, no. 6, 2022, doi: 10.14569/IJACSA.2022.0130665.

L. Gunawan, M. S. Anggreainy, L. Wihan, Santy, G. Y. Lesmana, and S. Yusuf, “Support vector machine based emotional analysis of restaurant reviews,” Procedia Comput. Sci., vol. 216, pp. 479–484, 2023, doi: 10.1016/j.procs.2022.12.160.

R. M. Suleman and I. Korkontzelos, “Extending Latent Semantic Analysis to Manage its Syntactic Blindness,” Expert Syst. Appl., vol. 165, pp. 114130–114130, 2021, doi: 10.1016/j.eswa.2020.114130.

T. Deguchi, S. Seo, and N. Ishii, “Meaning of the Clusters on Dimensionality Reduction by Word Clustering,” IEEE, pp. 325–330, 2022.

N. Yang, G. Li, H. Ding, and C. Gong, “Study on Tibetan Word Vector based on Word2vec,” J. Phys. Conf. Ser., vol. 1187, no. 5, pp. 052074–052074, 2019, doi: 10.1088/1742-6596/1187/5/052074.

X. Zhang and L. Zhang, “The comparison and analysis of Skip-gram and CBOW in creating financial sentimental dictionary,” Appl. Comput. Eng., vol. 44, no. 1, pp. 56–67, Mar. 2024, doi: 10.54254/2755-2721/44/20230155.

S. Pandey, D. Heuer, A. Deore, K. Fender, B. Schlomann, and R. Reynolds-Haertle, “Results of Machine Learning Models”.

Abd. A. Syam, G. Hardy M, A. Salim, D. F. Surianto, and M. Fajar B, “ANALISIS TEKNIK PREPROCESSING PADA SENTIMEN MASYARAKAT TERKAIT KONFLIK ISRAEL-PALESTINA MENGGUNAKAN SUPPORT VECTOR MACHINE,” JIPI J. Ilm. Penelit. Dan Pembelajaran Inform., vol. 9, no. 3, pp. 1464–1472, Aug. 2024, doi: 10.29100/jipi.v9i3.5527.

Additional Files

Published

2026-02-15

How to Cite

[1]
M. A. . Akbar, “Performance Comparison of SVM in Sentiment Analysis of Israel-Palestine Comments Using Lsa and Word2vec”, J. Tek. Inform. (JUTIF), vol. 7, no. 1, pp. 31–43, Feb. 2026.

Most read articles by the same author(s)