Analisis Sentimen Terhadap Permendikbud Ristek Nomor 30 Tahun 2021 pada Media Sosia Twitter Menggunakan Metode Lexicon-Based dan Multinomial Naïve Bayes

  • Kurniyatul Ainiyah Universitas Islam Negeri Maulana Malik Ibrahim
  • Khadijah Fahmi Hayati Holle Universitas Islam Negeri Maulana Malik Ibrahim


Regulation of the Minister of Education, Culture, Research, and Technology (Permendikbud Ristek) Number 30 of 2021 was launched as a form of government efforts in the context of preventing and handling sexual violence in universities. However, it turns out that this regulation has generated various reactions from the community, most of them support it while others reject the ratification of this regulation. Technological developments that occur today encourage people to write their opinions on social media, one of which is Twitter. Tweets discussing this rule can be used to gauge public sentiment. However, considering the number of tweets, the classification process will be difficult to do manually, so it requires a computational system that can automatically classify the sentiments of the existing tweets. From these problems, a system is designed to perform sentiment analysis using the lexicon-based method and Multinomial Naïve Bayes. The results of this sentiment measurement can be useful as data analysis material for the Ministry of Education and Culture, Research and Technology in making decisions regarding this rule. The purpose of this research is to measure the value of accuracy, precision, recall, and f-measure in sentiment analysis using lexicon-based and Multinomial Naïve Bayes methods. The measurement results obtained using a dataset of 470 data are the accuracy value of 71.28%, precision of 70.10%, recall of 78%, and f-measure value of 74.29%.


Download data is not yet available.


S. Mendon, P. Dutta, A. Behl, and S. Lessmann, “A Hybrid Approach of Machine Learning and Lexicons to Sentiment Analysis: Enhanced Insights from Twitter Data of Natural Disasters,” Inf. Syst. Front., vol. 23, no. 5, pp. 1145–1168, 2021, doi: 10.1007/s10796-021-10107-x.

S. Kemp, “Digital in New Zealand: All the Statistics You Need in 2021 — DataReportal – Global Digital Insights,” 2021. Accessed: Dec. 09, 2021. [Online]. Available:

Statista, “• Twitter: most users by country | Statista,” 2021. (accessed Dec. 08, 2021).

R. Mahendrajaya, G. A. Buntoro, and M. B. Setyawan, “Analisis Sentimen Pengguna Gopay Menggunakan Metode Lexicon Based Dan Support Vector Machine,” Komputek, vol. 3, no. 2, p. 52, 2019, doi: 10.24269/jkt.v3i2.270.

Kemendikbud, “Salinan Peraturan Menteri Pendidikan, Riset, dan Teknologi Republik Indonesia Nomor 30 Tahun 2021,” 2021.

K. Zahra, M. Imran, and F. O. Ostermann, “Automatic identification of eyewitness messages on twitter during disasters,” Inf. Process. Manag., vol. 57, no. 1, p. 102107, 2020, doi: 10.1016/j.ipm.2019.102107.

S. Taj, B. B. Shaikh, and A. Fatemah Meghji, “Sentiment analysis of news articles: A lexicon based approach,” 2019 2nd Int. Conf. Comput. Math. Eng. Technol. iCoMET 2019, pp. 1–5, 2019, doi: 10.1109/ICOMET.2019.8673428.

C. S. G. Khoo and S. B. Johnkhan, “Lexicon-based sentiment analysis: Comparative evaluation of six sentiment lexicons,” J. Inf. Sci., vol. 44, no. 4, pp. 491–511, 2018, doi: 10.1177/0165551517703514.

E. W. Pamungkas and D. G. P. Putri, “An experimental study of lexicon-based sentiment analysis on Bahasa Indonesia,” Proc. - 2016 6th Int. Annu. Eng. Semin. Ina. 2016, pp. 28–31, 2017, doi: 10.1109/INAES.2016.7821901.

A. Agarwal and D. Toshniwal, “Application of Lexicon Based Approach in Sentiment Analysis for short Tweets,” Proc. 2018 Int. Conf. Adv. Comput. Commun. Eng. ICACCE 2018, no. June, pp. 189–193, 2018, doi: 10.1109/ICACCE.2018.8441696.

S. S. Salim and J. Mayary, “Analisis Sentimen Pengguna Twitter Terhadap Dompet Elektronik Dengan Metode Lexicon Based Dan K – Nearest Neighbor,” J. Ilm. Inform. Komput., vol. 25, no. 1, pp. 1–17, 2020, doi: 10.35760/ik.2020.v25i1.2411.

B. L. Velammal, “Development of knowledge based sentiment analysis system using lexicon approach on twitter data,” Int. J. Knowl. Manag. Stud., vol. 10, no. 1, pp. 58–68, 2019, doi: 10.1504/IJKMS.2019.097125.

A. Veluchamy, H. Nguyen, M. L. Diop, and R. Iqbal, “Comparative Study of Sentiment Analysis with Product Reviews Using Machine Learning and Lexicon-Based Approaches,” SMU Data Sci. Rev., vol. 1, no. 4, pp. 1–22, 2018, [Online]. Available:

O. Sharif, M. M. Hoque, and E. Hossain, “Sentiment Analysis of Bengali Texts on Online Restaurant Reviews Using Multinomial Naïve Bayes,” 1st Int. Conf. Adv. Sci. Eng. Robot. Technol. 2019, ICASERT 2019, vol. 2019, no. Icasert, pp. 1–6, 2019, doi: 10.1109/ICASERT.2019.8934655.

C. D. Manning, P. Raghavan, and H. Schütze, An Introduction to Information Retrieval. Cabridge: Cambridge University Press, 2009.

A. A. Farisi, Y. Sibaroni, and S. Al Faraby, “Sentiment analysis on hotel reviews using Multinomial Naïve Bayes classifier,” J. Phys. Conf. Ser., vol. 1192, no. 1, 2019, doi: 10.1088/1742-6596/1192/1/012024.

How to Cite
Ainiyah, K., & Holle, K. F. H. (2022). Analisis Sentimen Terhadap Permendikbud Ristek Nomor 30 Tahun 2021 pada Media Sosia Twitter Menggunakan Metode Lexicon-Based dan Multinomial Naïve Bayes. Jurnal Ilmiah Informatika, 7(1), 29-40.
Abstract viewed = 318 times
PDF downloaded = 0 times

Most read articles by the same author(s)