Classification of Indonesia Texts on X Related to Environmental Issues

Authors

  • Ridea Siwabessy Universitas Indonesia
  • Muhammad Okky Ibrohim Universitas Indonesia
  • Indra Budi Universitas Indonesia
  • Naufal Zafran Fadil

DOI:

https://doi.org/10.35134/jpti.v13i2.275

Keywords:

environmental issues, IndoBERT pre-trained model, natural language processing, text classification, social media X

Abstract

Environmental issues have become a global concern, including Indonesia. X is one of the social media that is often used to discuss environmental issues. Text Classification is needed to identify and categorize tweets that are relevant to environmental issues, thus facilitating the further analysis process. This research aims to develop a text classification system related to environmental issues written in Indonesian. The data used in this research are tweets from X related to environmental issues. The pre-processing techniques performed are case folding, text normalization, stopword removal, and stemming before classification. The classification algorithms used are Logistic Regression (LR), Random Forest (RF), Long Short-Term Memory (LSTM) and IndoBERT pre-trained model. Based on the research results, the IndoBERT-base-p2 model provides the best performance in the classification of Indonesian texts related to environmental issues with an F1-Score of 87,478%.

References

IPCC, “Global warming of 1.5◦ C: an IPCC special report on the impacts of global warming of 1.5◦ C above pre-industrial levels and related global greenhouse gas emission pathways,” 2018.

N. Hadiyati and Cindo, “KONTEKSTUALISASI PENCEMARAN EKOSISTEM LAUT DALAM MENCAPAI SDGS: SUATU KAJIAN HUKUM LINGKUNGAN DI INDONESIA,” Nusantara: J. Ilmu Pengetah. Sos., vol. 8, 2021, doi: 10.31604/jips.v8i3.2021.300-313.

N. Zhang and M. M. Skoric, “Making the news: environmental NGOs and their media visibility in China,” Chin. J. Commun., pp. 395–413, 2018.

Q. Li et al., “A Survey on Text Classification: From Traditional to Deep Learning,” Assoc. Comput. Mach., Apr. 2022, doi: 10.1145/3495162.

K. Taha, P. D. Yoo, C. Yeun, D. Homouz, and A. Taha, “A comprehensive survey of text classification techniques and their research applications,” Comput. Sci. Rev., Nov. 2024.

P. S. Reddy, D. R. Sri, S. R. Cheerka, and S. Shaik, “Sentimental Analysis using Logistic Regression,” Int. J. Eng. Res. Appl., vol. 11, pp. 36–40, Jul. 2021.

A. Rusli, A. Suryadibrata, S. B. Nusantara, and J. C. Young, “A Comparison of Traditional Machine Learning Approaches for Supervised Feedback Classification in Bahasa Indonesia,” Int. J. New Media Technol., vol. VII, no. 1, pp. 28–32, Jun. 2020.

I. Triyadi, B. Prasetiyo, and T. L. Nikmah, “News text classification using long-term short memory (LSTM) algorithm,” J. Soft Comput. Explor., 2023.

O. V. Putra, A. Musthafa, and K. P. Wibowo, “Klasifikasi Ekspresi Teks Berbahasa Jawa Menggunakan Algoritma Long Short Term Memory,” Komputika, vol. 10, no. 2, pp. 137–143, Aug. 2021, doi: 10.34010/komputika.v11i1.4616.

M. A. Shah, M. J. Iqbal, N. Noreen, and I. Ahmed, “An Automated Text Document Classification Framework using BERT,” IJACSA, vol. 14, no. 3, 2023.

J. Devlin, M.-W. Chang, K. Lee, K. T. Google, and A. I. Language, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in Proc. NAACL-HLT 2019, Jun. 2019, pp. 4171–4186.

E. Demir and M. Bilgin, “Sentiment Analysis from Turkish News Texts with BERT-Based Language Models,” in 2023 8th Int. Conf. Comput. Sci. Eng. (UBMK), IEEE, 2023, pp. 147–150, doi: 10.1109/UBMK59864.2023.10286719.

A. K. Singh and M. Shashi, “Vectorization of text documents for identifying unifiable news articles,” Int. J. Adv. Comput. Sci. Appl., vol. 10, no. 7, pp. 305–310, 2019.

E. C. Garrido-Merchan, R. Gozalo-Brizuela, and S. Gonzalez-Carvajal, “Comparing BERT Against Traditional Machine Learning Models in Text Classification,” J. Comput. Cogn. Eng., vol. 2, no. 4, pp. 352–356, Nov. 2023, doi: 10.47852/bonviewJCCE3202838.

B. Wilie et al., “IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding,” in Proc. ACL-IJCNLP, Dec. 2020, pp. 843–857.

B. Juarto and Yulianto, “Indonesian News Classification Using IndoBert,” Int. J. Intell. Syst. Appl. Eng., vol. 11, no. 2, pp. 454–460, 2023.

M. O. Ibrohim, C. Bosco, and V. Basile, “Sentiment Analysis for the Natural Environment: A Systematic Review,” ACM Comput. Surv., vol. 56, no. 4, Apr. 2023, doi: 10.1145/3604605.

M. Maalouf, “Logistic regression in data analysis: An overview,” Inderscience Publishers, 2011, doi: 10.1504/IJDATS.2011.041335.

R. Khan, N. Ahmad, J. Ali, and I. Maqsood, “Random Forests and Decision Trees,” IJCSI Int. J. Comput. Sci. Issues, vol. 9, 2012.

T. Fawcett, “An introduction to ROC analysis,” Pattern Recognit. Lett., vol. 27, no. 8, pp. 861–874, Jun. 2006, doi: 10.1016/j.patrec.2005.10.010.

A. Nursandi and A. S. Girsang, “Waste Pollution Classification in Indonesian Language using DistilBERT,” Gema Wiralodra, vol. 15, no. 1, 2024.

I. Octovianto, M. O. Ibrohim, and I. Budi, “Indonesian Sentiment Analysis in Natural Environment Topics,” Indones. J. Electr. Eng. Comput. Sci., 2025.

Fontanella et al., “Sentiment Analysis of Indonesian Government Policy in the Environmental Sector,” 2021.

M. Rochyadi-Reetz and J. Wolling, “Environmental Communication Publications in Indonesia's Leading Journals: A Systematic Review,” 2026.

Lintang et al., “Early Detection of Environmental Issues from Social Media using IndoBERT and LDA,” 2025.

Downloads

Published

30-10-2026

How to Cite

Siwabessy, R., Muhammad Okky Ibrohim, Indra Budi, & Naufal Zafran Fadil. (2026). Classification of Indonesia Texts on X Related to Environmental Issues. JURNAL PTI (PENDIDIKAN DAN TEKNOLOGI INFORMASI) FAKULTAS KEGURUAN ILMU PENDIDIKAN UNIVERSITA PUTRA INDONESIA "YPTK&Quot; PADANG, 13(2), 78–82. https://doi.org/10.35134/jpti.v13i2.275

Issue

Section

Articles