PROCESSOR Jurnal Ilmiah Sistem Informasi, Teknologi Informasi dan Sistem Komputer
Vol 21 No 2 (2026): Jurnal Ilmiah Processor, Edisi Oktober 2026

Sentiment Classification of Cremation Vs Ngaben on Social Media X: A Lexicon-Based Comparison of SVM and KNN

Ni Kadek Winda Patrianingsih (Unknown)
Arditaloka, I Wayan Angga (Unknown)



Article Info

Publish Date
31 Oct 2026

Abstract

The transition of some Balinese Hindus away from the conventional ngaben cremation ceremony toward modern crematorium services has become a widely discussed public topic on social media platform X, largely centered on concerns about cost, time, and the potential erosion of customary values. This study labels netizen sentiment on this issue using a lexicon-based approach and builds and evaluates an automatic classification model based on Support Vector Machine (SVM), benchmarked against K Nearest Neighbor (KNN), as a preliminary step toward designing a public opinion monitoring information system. A total of 841 mixed language tweets were gathered from platform X and narrowed to 533 Indonesian language records after preprocessing (case folding and removal of URLs, mentions, hashtags, punctuation, and numbers).  lexicon-based labelling, using a sentiment dictionary purpose built for the Balinese cultural context, produced a distribution of 50.66% neutral, 44.28% positive, and 5.07% negative sentiment. The data were then TF IDF weighted and split 80:20 into stratified training and testing sets. Testing showed the linear kernel SVM reaching 82.24% accuracy, far ahead of KNN (K=5) at only 52.34% on the same data. Per class evaluation showed SVM performing well on the neutral and positive classes but still limited on the negative class (33% recall) because of class imbalance. These results suggest SVM is more reliable than KNN for high dimensional, class imbalanced text data, and can serve as a foundation for an automatic classification module within a public opinion monitoring system supporting cultural preservation policy in Bali.

Copyrights © 2026






Journal Info

Abbrev

processor

Publisher

Subject

Computer Science & IT

Description

Jurnal PROCESSOR merupakan Jurnal yang diterbitkan oleh STIKOM DINAMIKA BANGSA JAMBI. Jurnal ini terbit 2 kali dalam setahun yaitu pada bulan April dan Oktober. Misi dari Jurnal PROCESSOR adalah untuk menyebarluaskan, mengembangkan dan menfasilitasi hasil penelitian mengenai Ilmu bidang informatika, ...