Lexicon-based comparison for suicide sentiment analysis on Twitter (X)

Dublin Core

Title

Lexicon-based comparison for suicide sentiment analysis on Twitter (X)

Subject

Indonesia sentiment
K-nearest neighbor
Naïve Bayes
Sentiment analysis
Suicide
Support vector machine
Valence aware dictionary and sentiment reasoner

Description

Suicidal individuals frequently share their desires on social media. As a result, it was determined that a learning machine for early detection of suicide issues on social media was required. This study aims to examine Twitter (X) users’ suicide-related sentiment expressions. The results of searching X for the keywords ‘suicide’, ‘wish to die’, and ‘want to commit suicide’ for 4 months yielded 5,535 tweets. Following the cleaning process, 2,425 tweets were collected. The findings of labeling with the lexicon-based valence aware dictionary and sentiment reasoner (VADER) and Indonesia sentiment (INSET) lexicon, which psychologists confirmed, revealed that VADER was more accurate (92.1%) than INSET (81.6%). Sentiment research reveals negative (86.4%), positive (11.1%), and neutral (2.5%) sentiment. Support vector machine (SVM), K-nearest neighbor (KNN), and Naïve Bayes modeling results show accuracy above 86%, with SVM having the best accuracy (87.65%). Because of its great accuracy, this model can be used to identify and analyze suspicious behavior relating to suicide on X. Further research is still required, despite the excellent identification of early indicators of suicide ideation from social media posts.

Creator

Munawar1, Dwi Sartika2, Fathinatul Husnah2

Source

Journal homepage: http://journal.uad.ac.id/index.php/TELKOMNIKA

Date

Aug 1, 2025

Contributor

PERI IRAWAN

Format

PDF

Language

ENGLISH

Type

TEXT

Files

Collection

Citation

Munawar1, Dwi Sartika2, Fathinatul Husnah2, “Lexicon-based comparison for suicide sentiment analysis on Twitter (X),” Repository Horizon University Indonesia, accessed January 11, 2026, https://repository.horizon.ac.id/items/show/10295.