Combination of the rejang stemming and knuth morris pratt (KMP) algorithms for AI based rejang Indonesian language translator

(1) * Sastya Hendri Wibowo Mail (Universitas Muhammadiyah Bengkulu, Indonesia)
(2) Yulia Darnita Mail (Universitas Muhammadiyah Bengkulu, Indonesia)
(3) Rozali Toyib Mail (Universitas Muhammadiyah Bengkulu, Indonesia)
*corresponding author

Abstract


Despite continuous progress in the morphological analysis and computer modeling of the Rejang script, most current solutions remain limited to theoretical evaluations with limited practical applicability. To bridge this gap, it is crucial to build an open digital ecosystem that combines bilingual lexicons, automatic machine translation, and features for the preservation of the Kaganga script. To address this gap, we present a hybrid Rejang–Indonesian translation platform that integrates a rule-based Rejang morphological stemmer with a Knuth-Morris-Pratt (KMP) string aligner, complemented by interactive AI tools in the form of an interactive chatbot and speech processing. This system works through two main stages: separating the root word from its affixes using the stemming algorithm, and syntactic analysis to map sentence structure based on the Knuth-Morris-Pratt (KMP) algorithm. By adopting the Rapid Application Development (RAD) method, which includes the planning, design, construction, and implementation stages, testing was conducted on 6,000 root words with affixes. The evaluation results showed a success rate of 99.53% (5,972 words) and an error rate of 0.47% (28 words), consisting of 3 errors in the insertion of -em-, 7 in the insertion of -en-, 10 in the suffix, and 8 in the compound affix group. The main cause of failure was reading the root word as another entry with a similar meaning in the dictionary database. The results of this study prove that the synergy between stemming and the Knuth-Morris-Pratt (KMP) algorithm successfully increases the efficiency of processing regional languages with limited resources, while providing adaptive digital learning media for the wider community.

Keywords


Combination; Rejang; Stemming; Knuth Morris Pratt; Artificial intelligence

DOI

10.26555/ijain.v12i4.2097

Article metrics

Abstract views: 95

Cite

Full Text

References


[1] J. McLellan, “Digital Technologies, Social Media, Global and Local Languages in Southeast Asia,” Kemanusiaan, vol. 30, pp. 9–24, 2023, doi: 10.21315/kajh2023.30.s1.2.

[2] R. Iswanto, R. Rini, and V. Rinjiani, “Compilation Of Bio-Language Contextual Dictionary Media: Study Of The Meaning Of Arabic Lexicon In Rejang Language,” Ijaz Arab. J. Arab. Learn., vol. 8, no. 1, pp. 20–30, 2025, doi: 10.18860/ijazarabi.v8i1.29697.

[3] M. Nurahmad and N. Natsir, “Regional Languages at the Brink: Conservation Efforts for Indonesia’s 700+ Endangered Languages,” Int. J. Educ. Res., vol. 3, no. 1, pp. 30–37, Mar. 2026, doi: 10.62951/ijer.v3i1.488.

[4] Y. Zheng, Y. Chen, B. Qian, X. Shi, Y. Shu, and J. Chen, “A Review on Edge Large Language Models: Design, Execution, and Applications,” ACM Comput. Surv., vol. 57, no. 8, 2025, doi: 10.1145/3719664.

[5] X. Hou et al., “Large Language Models for Software Engineering: A Systematic Literature Review,” ACM Trans. Softw. Eng. Methodol., vol. 33, no. 8, pp. 1–79, 2024, doi: 10.1145/3695988.

[6] A. Habibie and H. S. Malik, “From oral tradition to digital preservation: A systematic review of efforts to sustain local literatures in the Modern era,” Al-Lisan, vol. 11, no. 1, pp. 103–119, 2026, doi: 10.30603/al.v11i1.7273.

[7] N. Nurjanah, R. Srihilmawati, and B. Muntako, “Digital Transformation of Local Language, Literature, and Culture in the Era of Society 5.0,” Int. J. Lang. Cult., vol. 3, no. 1, pp. 1–11, 2025, doi: 10.63762/ijolac.v3i1.25.

[8] E. D. Putra, Ermatita, and Abdiansah, “Handwritten Kaganga script classification using deep learning and image fusion,” Bull. Electr. Eng. Informatics, vol. 14, no. 2, pp. 1290–1297, 2025, doi: 10.11591/eei.v14i2.8747.

[9] A. M. Moneus and Y. Sahari, “Artificial intelligence and human translation: A contrastive study based on legal texts,” Heliyon, vol. 10, no. 6, p. e28106, 2024, doi: 10.1016/j.heliyon.2024.e28106.

[10] M. Supriya, D. A. Udupi, A. Nayak, and A. S. Raghavendra, “Developing a Hybrid Morphological Analyzer for Low-Resource Languages,” Appl. Sci., vol. 15, no. 10, Art. no. 5682, May 2025, doi: 10.3390/app15105682.

[11] S. H. Wibowo, R. Toyib, Y. Darnita, and S. Abadi, “Time Complexity of Knuth Morris Algorithm and Rejang Algorithm in Rejang-Indonesian Translator,” JUITA J. Inform., vol. 12, no. 2, pp. 177–186, 2024, doi: 10.30595/juita.v12i2.23954.

[12] T. Ásványi, “Invariants and String Properties in the Analysis of the Knuth-Morris-Pratt Algorithm,” Acta Cybern., vol. 27, pp. 5–14, 2025, doi: 10.14232/actacyb.308844.

[13] C. C. Lin, A. Y. Q. Huang, and S. J. H. Yang, “A Review of AI-Driven Conversational Chatbots Implementation Methodologies and Challenges (1999–2022),” Sustainability, vol. 15, no. 5, Art. no. 4012, 2023, doi: 10.3390/su15054012.

[14] H. Kheddar, M. Hemis, and Y. Himeur, “Automatic speech recognition using advanced deep learning approaches: A survey,” Inf. Fusion, vol. 109, Art. no. 102422, 2024, doi: 10.1016/j.inffus.2024.102422.

[15] G. Khensous, A. Boumedjout, and K. Labed, “Exploring the role of artificial intelligence in education,” Intell. Methods Altern. Econ. Model. Sustain., vol. 45, no. 2, pp. 155–169, 2024, doi: 10.4018/979-8-3693-1418-0.ch007.

[16] H. Irfan, M. K. David, S. R. Tahir, and N. Alfares, “Using Artificial Intelligence as a Revitalisation Tool for the Sustainability of Endangered Languages: Young Linguists’ Voices,” Stud. English Lang. Educ., vol. 13, no. 2, pp. 1069–1084, 2026, doi: 10.24815/siele.v13i2.1103.

[17] A. A. Shaker et al., “Facilitating In-House Mobile App Development Within Psychiatric Outpatient Services for Patients Diagnosed With Borderline Personality Disorder: Rapid Application Development Approach,” JMIR Hum. Factors, vol. 10, Art. no. e46928, 2023, doi: 10.2196/46928.

[18] A. Meyliana, P. T. Rapiyanta, and A. Andriani, “Application of the Rapid Application Development (RAD) Method for Web-Based Financial Management and Wood Inventory Using CodeIgniter,” ARRUS J. Eng. Technol., vol. 4, no. 1, pp. 81–89, 2024, doi: 10.35877/jetech2722.

[19] J. Shang et al., “GvdsSQL: Heterogeneous Database Unified Access Technology for Wide-Area Environments,” Electronics, vol. 13, no. 8, Art. no. 1521, 2024, doi: 10.3390/electronics13081521.

[20] G. X. Yu et al., “Virtualizing Cloud Data Infrastructures with BRAD,” in Companion of the 2025 International Conference on Management of Data, ACM, 2025, pp. 271–274. doi: 10.1145/3722212.3725141.

[21] M. Gagolewski, “stringi: Fast and Portable Character String Processing in R,” J. Stat. Softw., vol. 103, no. 2, 2022, doi: 10.18637/jss.v103.i02.

[22] M. Equi, V. Mäkinen, A. I. Tomescu, and R. Grossi, “On the Complexity of String Matching for Graphs,” ACM Trans. Algorithms, vol. 19, no. 3, 2023, doi: 10.1145/3588334.

[23] T. Taipalus, “Database management system performance comparisons: A systematic literature review,” J. Syst. Softw., vol. 208, p. 111872, 2024, doi: 10.1016/j.jss.2023.111872.

[24] N. Weber et al., “Blackfoot Words: a database of Blackfoot lexical forms,” Lang. Resour. Eval., vol. 57, no. 3, 2023, doi: 10.1007/s10579-022-09631-2.

[25] J. Petrus, Ermatita, Sukemi, and Erwin, “An adaptable sentence segmentation based on Indonesian rules,” IAES Int. J. Artif. Intell., vol. 12, no. 3, pp. 1491–1499, 2023, doi: 10.11591/ijai.v12.i3.pp1491-1499.

[26] H. Song, R. A. J. Dabre, C. Chu, S. Kurohashi, and E. Sumita, “SelfSeg: A Self-supervised Sub-word Segmentation Method for Neural Machine Translation,” ACM Trans. Asian Low-Resour. Lang. Inf. Process., vol. 22, no. 8, 2023, doi: 10.1145/3610611.

[27] F. G. Zabbey and C. Isaac, “Affixal Processes in Ogba and English Languages,” J. Linguist. Commun. Stud., vol. 5, no. 1, pp. 1–7, 2026, doi: 10.63593/JLCS.2026.03.01.

[28] C. M. Breiss, B. P. Hayes, M. Sundara, and M. E. Johnson, “Modeling How Suffixes Are Learned in Infancy,” Cogn. Sci., vol. 49, no. 3, Art. no. e70047, 2025, doi: 10.1111/cogs.70047.

[29] M. Z. ’A. Rahimadinullah, M. Ahsanuddin, Irhamni, and R. Morhi, “Development of Word Root-Based Digital Dictionary for Shorof Mastery,” Izdihar J. Arab. Lang. Teaching, Linguist. Lit., vol. 5, no. 3, pp. 265–284, 2023, doi: 10.22219/jiz.v5i3.23024.

[30] A. Auliansyah, V. Magria, and D. Oktariza, “Dipthongs in Rejang Language,” Krinok J. Linguist. Budaya, vol. 9, no. 2, pp. 80–90, 2025, doi: 10.36355/krinok.v9i2.1952.

[31] C. Nicaud, C. Pivoteau, and S. Vialette, “Branch Prediction Analysis of Morris-Pratt and Knuth-Morris-Pratt Algorithms,” Leibniz Int. Proc. Informatics, LIPIcs, vol. 331, 2025, [Online]. Available: http://arxiv.org/abs/2503.13694

[32] V. Cornejo-Aparicio, C. Cuarite-Silva, A. Benavente-Mayta, and K. Guevara, “A Hybrid Length-Based Pattern Matching Algorithm for Text Searching,” Int. J. Adv. Comput. Sci. Appl., vol. 16, no. 4, pp. 57–66, 2025, doi: 10.14569/IJACSA.2025.0160407.

[33] C. Moy, “Knuth-Morris-Pratt illustrated,” J. Funct. Program., vol. 34, pp. 1–10, 2024, doi: 10.1017/S0956796824000017.

[34] A. Katinskaia and R. Yangarber, “GPT-3.5 for Grammatical Error Correction,” in Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), ELRA and ICCL, 2024, pp. 7831–7843. doi: 10.63317/3yoruwn5jgvk.

[35] L. Alfat, F. M. Faisal, K. P. S. Negara, M. R. Munggaran, and Ihsan, “Implementing Knuth-Morris-Pratt Algorithm in Detecting the Plagiarism of Document,” in 2023 10th International Conference on Information Technology, Computer, and Electrical Engineering (ICITACEE), IEEE, 2023, pp. 54–58. doi: 10.1109/ICITACEE58587.2023.10276453.

[36] Y. Fan et al., “Hierarchical Clause Annotation: Building a Clause-Level Corpus for Semantic Parsing with Complex Sentences,” Appl. Sci., vol. 13, no. 16, Art. no. 9412, 2023, doi: 10.3390/app13169412.

[37] H. A. Wilke, J. Hoek, B. Los, A. Sorace, and H. Rohde, “Processing appositive relative clauses: Effects of information structure and sentence structure,” Discourse Process., vol. 62, no. 3, pp. 177–194, 2025, doi: 10.1080/0163853X.2025.2462514.

[38] Y. Ke, “Human Computer Interaction from Interfaces to Intelligent Systems,” Appl. Comput. Eng., vol. 223, no. 1, pp. 40–46, 2026, doi: 10.54254/2755-2721/2026.AS31460.

[39] H. Tamoyan, H. Schuff, and I. Gurevych, “LLM Roleplay: Simulating Human-Chatbot Interaction,” in Proceedings of the Workshop on Social Influence in Conversations (SICon 2025), ACL, 2025, pp. 1–26. doi: 10.18653/v1/2025.sicon-1.1.

[40] S. A. Li, Y. Y. Liu, Y. C. Chen, H. M. Feng, P. K. Shen, and Y. C. Wu, “Voice Interaction Recognition Design in Real-Life Scenario Mobile Robot Applications,” Appl. Sci., vol. 13, no. 5, Art. no. 3359, 2023, doi: 10.3390/app13053359.

[41] T. Liu et al., “Machine learning-assisted wearable sensing systems for speech recognition and interaction,” Nat. Commun., vol. 16, no. 1, 2025, doi: 10.1038/s41467-025-57629-5.

[42] T. D. Krafft, M. P. Hauer, and K. Zweig, “Black-Box Testing and Auditing of Bias in ADM Systems,” Minds Mach., vol. 34, no. 2, 2024, doi: 10.1007/s11023-024-09666-0.

[43] Z. M. Alshamaa and N. N. Saleem, “Black Box Software Testing Techniques: a Literature Review,” Passer J. Basic Appl. Sci., vol. 7, no. 2, pp. 1001–1011, 2025, doi: 10.24271/psr.2025.508216.1963.

[44] S. Wu, C. Yang, X. Wu, and Q. Cao, “Assertions for Free: Transferring Invariants from Algorithm to Implementation Proofs (Functional Pearl),” Proc. ACM Program. Lang., vol. 10, no. ICFP, 2026, doi: 10.1145/3828694.

[45] S. Schaefer, N. Varner, P. H. Azevedo De Amorim, and M. S. New, “Intrinsic Verification of Parsers and Formal Grammar Theory in Dependent Lambek Calculus,” Proc. ACM Program. Lang., vol. 9, no. PLDI, 2025, doi: 10.1145/3729281.




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

___________________________________________________________
International Journal of Advances in Intelligent Informatics
ISSN 2442-6571  (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
W: http://ijain.org
E: info@ijain.org (paper handling issues)
 andri.pranolo.id@ieee.org (publication issues)

View IJAIN Stats

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