Question–Answer Models for Teaching Programming in Kazakh: A Morphology-Aware Controlled Study
This study investigates whether morphology-aware input processing can improve question-answering performance for teaching programming in Kazakh, a low-resource language with rich morphological variation. Rather than proposing a new neural architecture, the study presents a controlled empirical evaluation of an adapted pipeline that combines FEMSeg_kaz preprocessing with morphology-aware post-processing (MAPP) normalization and domain-specific fine-tuning. A dataset of 50,386 Kazakh-language Python programming question–answer pairs was constructed with GPT-4o assistance and expert validation. Each pair consists of a student-style programming question in Kazakh and a corresponding instructional answer, usually including a short explanation and, when appropriate, a Python code example. Experiments with multilingual encoders and a controlled MiniLM setup show that morphology-aware normalization produces measurable improvements under fixed evaluation conditions, while its combination with domain-specific fine-tuning improves several answer selection and contextual-overlap indicators. The findings suggest that carefully controlled adaptation of established NLP techniques can support the development of Kazakh educational QA systems in morphologically rich, low-resource settings. Because no separate validation split or early stopping was used, these findings should be interpreted as controlled fixed-epoch comparison results rather than as fully optimized model selection results.
Authors
- Ualsher Tukeyev (ORCID: https://orcid.org/0000-0001-9878-981X)
- Bogumiła Hnatkowska (ORCID: https://orcid.org/0000-0003-1706-0205)
- Bekarys Rysbek
Institutions
- Wrocław University of Science and Technology (PL)
- Al-Farabi Kazakh National University (KZ)
- AGH University of Krakow (PL)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-06-17
- DOI
- https://doi.org/10.3390/app16126156
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00