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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

N-Gram and Full-Text Search Algorithm Testing for Pattern Recognition in a Chatbot Engine

I Putu Agung Bayupati, Ni Wayan Wisswani, Eko Prasetyo, Deden Witarsyah Jacob et al.
AI in Service Interactions
article

N-Gram and Full-Text Search Algorithm Testing for Pattern Recognition in a Chatbot Engine

I Putu Agung Bayupati, Ni Wayan Wisswani, Eko Prasetyo, Deden Witarsyah Jacob, I Made Dana, Putu Wira Buana, I Made Sukarsa, I Ketut Adi Purnawan, I Wayan Darmika Esa Krissayoga
article en

Abstract

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.

Udayana University (ID), Muhammadiyah University of Yogyakarta (ID), Jakarta State Polytechnic (ID), Universitas Wijaya Putra (ID), Universitas Muhammadiyah Sukabumi (ID)
Universitas Udayana
Openalex Percentile: Top 87%
AI in Service Interactions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

N-Gram and Full-Text Search Algorithm Testing for Pattern Recognition in a Chatbot Engine — I Putu Agung Bayupati, Ni Wayan Wisswani, et al. · (2025) | TGRS Research Map | TGRS