The Indonesian Journal of Computer Science Research
Vol. 5 No. 2 (2026): Juli

Deteksi Makna Mengenai Kebijakan Tunjangan DPR RI dengan NBC dan Lexicon

Eka Fauziah (Universitas Nusantara PGRI Kediri)
Erna Daniati (Universitas Nusantara PGRI Kediri)
Dwi Harini (Universitas Nusantara PGRI Kediri)



Article Info

Publish Date
28 Jul 2026

Abstract

Social media serves as a source of information that can be used to gauge public opinion regarding government policies one topic frequently discussed by the public is the policy regarding allowances for members of the Indonesian House of Representatives. The objective of this study is to examine public sentiment regarding these policies using the Naïve Bayes Classifier and Lexicon Sentiment methods. The research approach applied is CRISP-DM (Cross Industry Standard Process for Data Mining), which encompasses the stages of business understanding, data understanding, data preparation, modeling, evaluation, and implementation. Data was collected from the social media platform X (Twitter) via scraping and processed through preprocessing steps and TF-IDF weighting. The findings of this study indicate that the Naïve Bayes Classifier method achieved an accuracy of 74%, while the Lexicon Sentiment method helped in understanding the emotional nuances present in the text. The combination of these two methods produces a more comprehensive and relevant sentiment analysis compared to using only one method alone. This study demonstrates that the combination of statistical and lexicon-based approaches is highly useful in analyzing sentiment regarding the opinions of the Indonesian-speaking public.

Copyrights © 2026






Journal Info

Abbrev

IJCSR

Publisher

Subject

Computer Science & IT

Description

The Indonesian Journal of Computer Science Research (IJCSR) adalah jurnal yang memuat naskah ilmiah dari peneliti, akademisi, maupun praktisi, berupa hasil penelitian, tinjauan pustaka ( literature review ) dan/atau bentuk karya tulis ilmiah lainnya, yang khusus mengkaji bidang Ilmu Komputer antara ...