TELKOMNIKA (Telecommunication Computing Electronics and Control)
Vol 24, No 4: August 2026

NLP-driven hate speech detection on TikTok: a case study from UIN Sunan Ampel Surabaya

Achmad Teguh Wibowo (UIN Sunan Ampel Surabaya)
Aris Fanani (UIN Sunan Ampel Surabaya)
Mujib Ridwan (UIN Sunan Ampel Surabaya)
Bramasta Kurnia Aji (UIN Sunan Ampel Surabaya)



Article Info

Publish Date
01 Aug 2026

Abstract

This study examines hate speech detection in TikTok comments using natural language processing (NLP) techniques within the student community of UIN Sunan Ampel Surabaya. A dataset of 10,000 comments associated with the hashtag #PBAKUINSA2023 was analyzed using a lexicon-based sentiment analysis approach implemented through the TextBlob library, combined with Indonesian text preprocessing techniques, including tokenization, normalization, stopword removal, and stemming using the Sastrawi library. The results indicate that the proposed approach achieved an accuracy of 0.85, with precision of 0.88, recall of 0.83, and an F1-score of 0.854. Most comments were classified as neutral, while 31.8% were positive, and only a small proportion were negative. These findings suggest that discussions related to campus activities tend to be neutral or supportive. However, the findings also reveal that sentiment polarity does not always directly correspond to hate speech, as certain harmful expressions may appear neutral in lexicon-based analysis. This limitation highlights the need for more context-aware approaches. Overall, the proposed method provides an efficient solution for monitoring online discourse in academic environments.

Copyrights © 2026






Journal Info

Abbrev

TELKOMNIKA

Publisher

Subject

Computer Science & IT

Description

Submitted papers are evaluated by anonymous referees by single blind peer review for contribution, originality, relevance, and presentation. The Editor shall inform you of the results of the review as soon as possible, hopefully in 10 weeks. Please notice that because of the great number of ...