A Thai-language chatbot analyzing mosquito-borne diseases using Jaccard similarity

Benjamin Chanakot, Charun Sanrach

Abstract


The objective of this study is to create a Thai-language chatbot analyzing mosquito-borne diseases using Jaccard similarity with an aim to develop an artificial intelligence (AI)-based chatbot used to analyze Aedes-borne diseases through natural language processing. The analysis occurred when the symptoms provided by users on the chatbot were assessed to select relevant words as text attributes using the term frequency-inverse document frequency (TF-IDF) before the Jaccard similarity was used to measure the similarity of the information on the mosquito-borne disease database. The Line Messaging API was applied to facilitate communication between users and the chatbot through the Line application. The chatbot applied PHP 7.2.34 and MySQL 5.7.32 for database management, with Apache 2.2.29 serving as the bot server. The performance evaluation of the chatbot revealed that the chatbot accurately understood user intentions with an intent accuracy of 85.00%. Likewise, the usability of the chatbot was assessed using the system usability scale (SUS), and it received a score of 89.75, indicating a high level of user-friendliness. Furthermore, it has been found that appropriate tokenization enables accurate feature selection. This leads to improved accuracy in measuring Jaccard similarity. Consequently, the chatbot is capable of providing precise responses that align with the user's intent.

Keywords


Aedes mosquitoes; Chatbot; Jaccard similarity; Natural language processing; Term frequency-inverse document frequency

Full Text:

PDF


DOI: https://doi.org/10.11591/eei.v13i1.6048

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Bulletin of EEI Stats

Bulletin of Electrical Engineering and Informatics (BEEI)
ISSN: 2089-3191, e-ISSN: 2302-9285
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).