N-Gram and Full-Text Search Algorithm Testing for Pattern Recognition in a Chatbot Engine
The development of chatbots to access database services and information systems has triggered a lot of research on frameworks for service development, including the development of ISONER (Information System On Internet Messenger). This framework consists of multiple phases including pattern recognition, query processing, and response generation. In its implementation, the framework develops pattern recognition services that are currently based on Natural Language Processing (NLP). Improved pattern recognition algorithms enhance the system’s ability to accurately interpret user intent. The pattern recognition used in this research utilizes built-in plugins from MySQL, namely N-gram and Full-Text Search, which can be run directly on the MySQL engine to reduce latency and do not require another programming language. The FTS and fourgram algorithms gave the best results when applied on 100 test data points, with a threshold of 0.91, accuracy of 91%, precision of 99%, and recall of 92%; the average computation time was 19 s for 100 test data points and 2 min 49 s for 1000 data points tested simultaneously.
Authors
- I Putu Agung Bayupati (ORCID: https://orcid.org/0000-0003-0638-0756)
- Ni Wayan Wisswani (ORCID: https://orcid.org/0000-0003-0318-4178)
- Eko Prasetyo (ORCID: https://orcid.org/0000-0001-9866-0813)
- Deden Witarsyah Jacob (ORCID: https://orcid.org/0000-0001-8102-0326)
- I Made Dana (ORCID: https://orcid.org/0009-0005-6370-3138)
- Putu Wira Buana (ORCID: https://orcid.org/0000-0001-8554-3722)
- I Made Sukarsa (ORCID: https://orcid.org/0000-0002-6396-4048)
- I Ketut Adi Purnawan (ORCID: https://orcid.org/0000-0002-1860-3809)
- I Wayan Darmika Esa Krissayoga
Institutions
- Udayana University (ID)
- Muhammadiyah University of Yogyakarta (ID)
- Jakarta State Polytechnic (ID)
- Universitas Wijaya Putra (ID)
- Universitas Muhammadiyah Sukabumi (ID)
Publication Details
- Published
- 2025-09-12
- DOI
- https://doi.org/10.3390/engproc2025107086
- Primary Topic
- AI in Service Interactions
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Universitas Udayana