Sentiment Analysis of Hate Speech Against Presidential Candidates of the Republic of Indonesia in the 2024 Election Using BERT

  • Amalia F
  • Nisa Hanum Harani
  • Cahyo Prianto
N/ACitations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

The issue of hate speech on social media has become a matter of growing concern, particularly in the context of political discourse, as evidenced by the 2024 elections in Indonesia. Online platforms such as YouTube represent a primary medium for political discourse, frequently accompanied by negative or hateful commentary directed towards presidential candidates. The objective of this study is to analyze the sentiment of YouTube comments related to Indonesian presidential candidates in the 2024 General Election using the BERT algorithm. The data was obtained through scraping using the YouTube API and subsequently categorized into three distinct categories of hate speech: The categories of hate speech are as follows: OFP (offensive personal), OFG (offensive group), and OFO (offensive others). The CRISP-DM method was employed in this research, which included the following stages: business understanding, data understanding, data preparation, modeling, evaluation, and deployment. The results demonstrate that the BERT algorithm is capable of classifying comments with a satisfactory level of accuracy. This algorithm can be utilized to develop predictive applications that assist in identifying and managing hate speech on social media.

Cite

CITATION STYLE

APA

Amalia, F. R., Nisa Hanum Harani, & Cahyo Prianto. (2024). Sentiment Analysis of Hate Speech Against Presidential Candidates of the Republic of Indonesia in the 2024 Election Using BERT. Jurnal Sistem Cerdas, 7(3), 339–355. https://doi.org/10.37396/jsc.v7i3.432

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free