Lexicon and Naive Bayes Algorithms to Detect Mental Health Situations from Twitter Data

Sheila Shevira, I. M. A. D. Suarjaya, Putu Wira Buana
{"title":"Lexicon and Naive Bayes Algorithms to Detect Mental Health Situations from Twitter Data","authors":"Sheila Shevira, I. M. A. D. Suarjaya, Putu Wira Buana","doi":"10.20473/jisebi.8.2.142-148","DOIUrl":null,"url":null,"abstract":"Background: Twitter is a popular social media where users express emotions, thoughts, and opinions that cannot be channelled in the real world. They do this by tweeting short, concise, and clear messages. Since users often express themselves, Twitter data can detect mental health trends.\nObjective: This study aims to detect suicidal messages through tweets written by users with mental health issues.\nMethods: These tweets are analysed and classified using the lexicon-based and Naive Bayes algorithms to determine whether it contains suicidal messages.\nResults: The classification results show that the ‘normal’ classification is predominant at 52.3% of the total 3,034,826 tweets, which indicates an increase from September to December 2021.\nConclusion: Most tweets are categorised as ‘normal’, therefore the mental health status appears secure. However, this finding needs to be re-examined in the future, especially in DKI Jakarta Province, which has the most cases of mental disorders. This study found that the Naive Bayes algorithm is more accurate (85.5%) than the lexicon-based algorithm. This can be improved in future studies by increasing performance at the pre-processing stage.\n \nKeywords: Lexicon Based, Mental Disorder, Mental Health, Naïve Bayes, Twitter","PeriodicalId":16185,"journal":{"name":"Journal of Information Systems Engineering and Business Intelligence","volume":"59 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-10-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Information Systems Engineering and Business Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.20473/jisebi.8.2.142-148","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Twitter is a popular social media where users express emotions, thoughts, and opinions that cannot be channelled in the real world. They do this by tweeting short, concise, and clear messages. Since users often express themselves, Twitter data can detect mental health trends. Objective: This study aims to detect suicidal messages through tweets written by users with mental health issues. Methods: These tweets are analysed and classified using the lexicon-based and Naive Bayes algorithms to determine whether it contains suicidal messages. Results: The classification results show that the ‘normal’ classification is predominant at 52.3% of the total 3,034,826 tweets, which indicates an increase from September to December 2021. Conclusion: Most tweets are categorised as ‘normal’, therefore the mental health status appears secure. However, this finding needs to be re-examined in the future, especially in DKI Jakarta Province, which has the most cases of mental disorders. This study found that the Naive Bayes algorithm is more accurate (85.5%) than the lexicon-based algorithm. This can be improved in future studies by increasing performance at the pre-processing stage.   Keywords: Lexicon Based, Mental Disorder, Mental Health, Naïve Bayes, Twitter
从Twitter数据中检测心理健康状况的词典和朴素贝叶斯算法
背景:Twitter是一种流行的社交媒体,用户可以在这里表达在现实世界中无法表达的情感、思想和观点。他们通过发布简短、简洁、清晰的信息来做到这一点。由于用户经常表达自己,Twitter数据可以检测到心理健康趋势。目的:本研究旨在通过有心理健康问题的用户所写的推文来检测自杀信息。方法:使用基于词典和朴素贝叶斯算法对这些推文进行分析和分类,以确定其是否包含自杀消息。结果:分类结果显示,“正常”分类占主导地位,占总数3,034,826条推文的52.3%,表明从2021年9月到12月有所增加。结论:大多数推文被归类为“正常”,因此心理健康状况似乎是安全的。然而,这一发现需要在未来重新检查,特别是在DKI雅加达省,那里有最多的精神障碍病例。本研究发现,朴素贝叶斯算法比基于词典的算法准确率更高(85.5%)。这可以在未来的研究中通过提高预处理阶段的性能来改进。关键词:基于词典,精神障碍,心理健康,Naïve贝叶斯,Twitter
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
0.30
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信