A Rule-Based AI Writing Assistant for Beginner English Learners with Visual Feedback

Authors

  • Arief Zikry Universitas Serelo Lahat
  • Yusi Nurmala Sari Universitas Serelo Lahat
  • Muhammad Sulkhan Nurfatih Universitas Serelo Lahat
  • Firza Septian Universitas Serelo Lahat

DOI:

https://doi.org/10.62205/mjgcs.v3i1.149

Keywords:

Rule-Based Artificial Intelligence, Writing Assistant, Beginner English Learners, Automated Writing Evaluation, Textual Metrics, Visual Feedback, Educational Technology, Explainable AI

Abstract

The increasing adoption of artificial intelligence (AI) in educational technology has created new opportunities to support second language (L2) writing development. Beginner English learners often struggle with grammatical accuracy, limited vocabulary, and unclear sentence construction, while immediate and individualized feedback remains difficult to provide in traditional learning settings. This study proposes a rule-based AI writing assistant designed to deliver automated, transparent, and interpretable feedback for beginner-level English writing without relying on data-intensive machine learning models. The system employs symbolic AI principles through predefined grammatical rules and heuristic textual metrics to evaluate writing quality across three dimensions: grammar accuracy, vocabulary richness, and text clarity. Grammar errors are detected using regular expression-based rules, vocabulary quality is measured via lexical diversity ratios, and clarity is estimated using a length-based heuristic. These metrics are normalized and combined to produce an overall writing quality score. To enhance usability and learner engagement, the system integrates visual feedback elements, including progress bars, graphical score representations, and animated character responses. Functional testing using sample beginner texts demonstrates that the proposed system effectively identifies common writing issues, provides consistent scoring, and delivers immediate, explainable feedback. The results indicate that rule-based AI, when combined with visual feedback mechanisms, can offer a lightweight, efficient, and pedagogically meaningful solution for beginner English writing support. This approach is particularly suitable for educational contexts that prioritize explainability, accessibility, and low computational requirements.

References

A. Prakarsya, N. D. Putriani, Y. N. Sari, F. Septian, and N. Dwi Putriani, “Optimasi Hyperparameter WOA-SVM pada Citra Daun Kopi Terpupuk NPK,” 2025.

M. Alenezi and M. Akour, “AI-Driven Innovations in Software Engineering: A Review of Current Practices and Future Directions,” Applied Sciences (Switzerland), vol. 15, no. 3, Feb. 2025, doi: 10.3390/app15031344.

A. Aldoseri, K. N. Al-Khalifa, and A. M. Hamouda, “Re-Thinking Data Strategy and Integration for Artificial Intelligence: Concepts, Opportunities, and Challenges,” Jun. 01, 2023, MDPI. doi: 10.3390/app13127082.

N. Vandermeulen, E. Lindgren, C. Waldmann, and M. Levlin, “Getting a grip on the writing process: (Effective) approaches to write argumentative and narrative texts in L1 and L2,” J Second Lang Writ, vol. 65, Sep. 2024, doi: 10.1016/j.jslw.2024.101113.

F. Septian and A. Prakarsya, “Prediktor NPK Berbasis AI untuk Budidaya Kopi dengan Whale Optimization Algorithm,” 2025. doi: https://doi.org/10.36050/6t030w66.

I. H. Sarker, “Data Science and Analytics: An Overview from Data-Driven Smart Computing, Decision-Making and Applications Perspective,” Sep. 01, 2021, Springer. doi: 10.1007/s42979-021-00765-8.

Y. Yusriadi, Rusnaedi, N. A. Siregar, S. Megawati, and G. Sakkir, “Implementation of artificial intelligence in Indonesia,” International Journal of Data and Network Science, vol. 7, no. 1, pp. 283–294, 2023, doi: 10.5267/j.ijdns.2022.10.005.

H. Yaseen, A. S. Mohammad, N. Ashal, H. Abusaimeh, A. Ali, and A. A. A. Sharabati, “The Impact of Adaptive Learning Technologies, Personalized Feedback, and Interactive AI Tools on Student Engagement: The Moderating Role of Digital Literacy,” Sustainability (Switzerland), vol. 17, no. 3, Feb. 2025, doi: 10.3390/su17031133.

F. Septian, “Exploring the Performance of Whale Optimization Algorithm on Rosenbrock’s Function,” Journal of Intelligent Systems and Information Technology, vol. 1, no. 2, p. 2024, 2024, [Online]. Available: https://jurnalapik.id/index.php/jisit

N. HAMIMED, “A Review on Instructing English through Literary Genre,” Arab World English Journal, vol. 12, no. 3, pp. 278–293, Sep. 2021, doi: 10.24093/awej/vol12no3.19.

I. Mediansyah, F. Septian, and A. Zikry, “Penerapan Whale Optimization Algorithm dalam Pengoptimalan Portofolio Investasi Menggunakan Model Prediktif Artificial Intelligence,” vol. 2, no. 1, 2024.

J. Varajão, J. C. Lourenço, and J. Gomes, “Models and methods for information systems project success evaluation – A review and directions for research,” Dec. 01, 2022, Elsevier Ltd. doi: 10.1016/j.heliyon.2022.e11977.

Downloads

Published

2026-01-29

Issue

Section

Articles