Talk to Me: Artificial Intelligence “Virtual Friend” for Depression Sufferers Using Term Frequency-Inverse Document Frequency (TF-IDF) and Finite State Machine Method
Hanif Fakhrurroja, Tanrida Utari, Andy Victor, Oka Mahendra
{"title":"Talk to Me: Artificial Intelligence “Virtual Friend” for Depression Sufferers Using Term Frequency-Inverse Document Frequency (TF-IDF) and Finite State Machine Method","authors":"Hanif Fakhrurroja, Tanrida Utari, Andy Victor, Oka Mahendra","doi":"10.1109/ICISS55894.2022.9915089","DOIUrl":null,"url":null,"abstract":"Depression refers to mental health in which a person experiences a bad mood and has a decreased quality of life. In Indonesia, there are quite a lot of challenges in dealing with depression problems such as lack of education on how to treat depression, lack of mental health personnel, and the emergence of a bad stigma against depression sufferers. Voice-based artificial intelligence technology for people with depression was developed to play a role in filling the gap by acting as a support system. In this research, the Natural Language Processing (NLP) method is used to enable computer to be able to understand the user's input. TF-IDF (The Term Frequency-Inverse Document Frequency) method is also used to weight documents and the Finite State Machine (FSM) method used to classify the results of document weighting against a predetermined dialogue scenario. To be able to interact with the system, the author uses the Google Cloud Speech API technology to convert speech and text. As for testing of this system, it is done by calculating the level of accuracy of the answers given by the system to users. The level of accuracy of the system answers obtained from the test results is 96.5%. The accuracy value indicates that the answer given by the system is in accordance with what the user's input.","PeriodicalId":125054,"journal":{"name":"2022 International Conference on ICT for Smart Society (ICISS)","volume":"156 2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on ICT for Smart Society (ICISS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICISS55894.2022.9915089","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Depression refers to mental health in which a person experiences a bad mood and has a decreased quality of life. In Indonesia, there are quite a lot of challenges in dealing with depression problems such as lack of education on how to treat depression, lack of mental health personnel, and the emergence of a bad stigma against depression sufferers. Voice-based artificial intelligence technology for people with depression was developed to play a role in filling the gap by acting as a support system. In this research, the Natural Language Processing (NLP) method is used to enable computer to be able to understand the user's input. TF-IDF (The Term Frequency-Inverse Document Frequency) method is also used to weight documents and the Finite State Machine (FSM) method used to classify the results of document weighting against a predetermined dialogue scenario. To be able to interact with the system, the author uses the Google Cloud Speech API technology to convert speech and text. As for testing of this system, it is done by calculating the level of accuracy of the answers given by the system to users. The level of accuracy of the system answers obtained from the test results is 96.5%. The accuracy value indicates that the answer given by the system is in accordance with what the user's input.