{"id":10612,"date":"2026-08-22T16:58:00","date_gmt":"2026-08-22T08:58:00","guid":{"rendered":"\/jase\/?post_type=tkuisotope&#038;p=10612"},"modified":"2026-08-22T18:03:05","modified_gmt":"2026-08-22T10:03:05","slug":"jase-202611-34-065","status":"publish","type":"tkuisotope","link":"\/jase\/?tkuisotope=jase-202611-34-065","title":{"rendered":"Interpretable Artificial Intelligence Used to Diagnose Common Grammatical Errors in English Writing by Non-Native Engineering Researcher"},"content":{"rendered":"\n<div class=\"wp-block-tkuwpbs5-bs5-row row article-info\">\n<div class=\"wp-block-tkuwpbs5-bs5-column col-md-3 align-self-start\">\n<p><i class=\"fa fa-folder\" aria-hidden=\"true\"><\/i>&nbsp;<a href=\"\/jase\/?page_id=807\" data-type=\"page\" data-id=\"807\">2026<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-tkuwpbs5-bs5-column col-md-3 align-self-start\">\n<p><i class=\"fa fa-folder-open\" aria-hidden=\"true\"><\/i>&nbsp;<a href=\"\/jase\/?page_id=9439\" data-type=\"page\" data-id=\"9439\">Volume 34<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-tkuwpbs5-bs5-column col-md-6 align-self-start\">\n<div class=\"wp-block-tkuwpbs5-bs5-div dv_publish\" data-aos=\"normal\"><div class=\"wp-block-post-date\"><time datetime=\"2026-08-22T16:58:00+08:00\">2026-08-22<\/time><\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-tkuwpbs5-bs5-row row\">\n<div class=\"wp-block-tkuwpbs5-bs5-column col-md-5 align-self-start\">\n<div class=\"wp-block-tkuwpbs5-bs5-div au-ol\" data-aos=\"normal\">\n<p>Yafeng Liu<a href=\"mailto:liuxiaoya1202@126.com\"><i class=\"fa fa-envelope\"><\/i><\/a> <\/p>\n\n\n\n<p style=\"font-size:14px\">School of English Language and Culture, Xi\u2019an Fanyi University, Xi\u2019an 710105, China<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-tkuwpbs5-bs5-div\" style=\"margin-top:var(--wp--preset--spacing--40)\" data-aos=\"normal\">\n<p>Received: May 15, 2026<br>Accepted:&nbsp;July 24, 2026<br>Publication Date:&nbsp;August 22, 2026<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-tkuwpbs5-bs5-column col-md-7 align-self-start clk=\u5716\u7247\"><img decoding=\"async\" src=\"\/jase\/wp-content\/uploads\/2026\/08\/34_065.jpg\" class=\"img-fluid img-fluid mx-auto d-block\" alt=\"\u4e0a\u50b3\u5716\u7247\">\n\n\n<p class=\"has-text-align-center\">Architecture of TF\u2013IDF and Logistic Regression-Based Grammatical Error Detection Framework<\/p>\n<\/div>\n<\/div>\n\n\n\n<p class=\"has-small-font-size\"><i class=\"fab fa-creative-commons\"><\/i>&nbsp;<strong>Copyright&nbsp;<\/strong>The Author(s). This is an open access article distributed under the terms of the&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\" target=\"_blank\">Creative Commons Attribution&nbsp;License (CC BY 4.0)<\/a>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are cited.<\/p>\n\n\n\n<p>Download Citation:\u00a0 <a href=\"\/jase\/wp-content\/uploads\/2026\/08\/V34.0065.txt\" data-type=\"attachment\" data-id=\"9812\" target=\"_blank\" rel=\"noreferrer noopener\">BibTeX <\/a>| <a rel=\"noreferrer noopener\" href=\"http:\/\/dx.doi.org\/10.6180\/jase.202611_34.065\" target=\"_blank\">http:\/\/dx.doi.org\/10.6180\/jase.202611_34.065<\/a>\u00a0\u00a0<\/p>\n\n\n\n<p class=\"btn btn-primary article-btn\"><a href=\"\/jase\/wp-content\/uploads\/2026\/08\/065_2026_1207_V34.pdf\" data-type=\"attachment\" data-id=\"10605\" target=\"_blank\" rel=\"noreferrer noopener\">Download PDF<\/a><\/p>\n\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Grammatical error detection is an essential task in natural language processing that supports automated writing assistance and educational language assessment systems. This study proposes an explainable framework for identifying multiple categories of grammatical errors in English text. The model was evaluated using a dataset of 2,990 annotated English sentences containing both grammatically correct and erroneous structures across several error categories. The proposed framework integrates text pre-processing, Term Frequency\u2013Inverse Document Frequency (TF\u2013IDF) based word-level n-gram feature extraction, and a multi-class Logistic Regression (LR) classifier. The framework generates efficient numerical representations of textual data while capturing lexical, syntactic, and pragmatic characteristics for accurate grammatical error identification. To enhance transparency and interpretability, SHAP (SHapley Additive exPlanations) was employed to analyze feature importance and provide word-level explanations for classification decisions, thereby incorporating explainable artificial intelligence into grammar evaluation tasks. Experimental results demonstrate strong classification performance, achieving an accuracy of 0.9766, precision of 0.9376, recall of 0.9889, macro-average F1-score of 0.9603, and weighted F1-score of 0.9772. Furthermore, the Cohen\u2019s Kappa coefficient of 0.9667 indicates a high level of agreement between predicted and actual labels, confirming the reliability of the proposed model. The combination of TF\u2013IDF statistical text representation and interpretable logistic regression provides an effective, computationally efficient, and explainable solution for automated grammatical error identification.<\/p>\n\n\n\n<p><em>Keywords:&nbsp;Grammatical Error Detection; Natural Language Processing; TF\u2013IDF Feature Extraction; Logistic Regression; Explainable Artificial Intelligence; SHAP Interpretability<\/em><\/p>\n\n\n\n<div style=\"height:2rem\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-tkuwpbs5-bs5-div ref_ol\" data-aos=\"normal\">\n<div class=\"container\">\n<div id=\"model-response-message-contentr_53180f64958e6cc2\" class=\"markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color stronger\" dir=\"ltr\" aria-busy=\"false\" aria-live=\"polite\">\n<ol>\n<li data-path-to-node=\"0\">[1] A. Musyafa, Y. Gao, A. Solyman, C. Wu, and S. Khan, (2022) &#8220;Automatic Correction of Indonesian Grammatical Errors Based on Transformer&#8221; Applied Sciences 12(20): 10380. DOI: 10.3390\/app122010380.<\/li>\n<li data-path-to-node=\"0\">[2] H. Wei, (2025) &#8220;Design and Application of English Grammar Automatic Correction System Based on Machine Learning&#8221; Procedia Computer Science 261: 806\u2013812. DOI: 10.1016\/j.procs.2025.04.408.<\/li>\n<li data-path-to-node=\"0\">[3] P. R. Alapati et al., (2025) &#8220;Improving English Writing Skills Through NLP-Driven Error Detection and Correction Systems&#8221; International Journal of Advanced Computer Science and Applications 16(2): 1098\u20131100. DOI: 10.14569\/IJACSA.2025.01602109.<\/li>\n<li data-path-to-node=\"0\">[4] N. Lin, H. Zhang, M. Shen, Y. Wang, S. Jiang, and A. Yang, (2025) &#8220;Corpus and Unsupervised Benchmark: Towards Tagalog Grammatical Error Correction&#8221; Computer Speech and Language 91: 101750. DOI: 10.1016\/j.csl.2024.101750.<\/li>\n<li data-path-to-node=\"0\">[5] A. Yin, X. Ren, L. Yang, and M. Lu, (2026) &#8220;Decoding the Grammar of Heritage: A Machine Learning Framework for Sustainable and Adaptive Reuse of Venice&#8217;s Built Fabric&#8221; Journal of Engineering and Applied Science 73(1): 213. DOI: 10.1186\/s44147-026-01045-z.<\/li>\n<li data-path-to-node=\"0\">[6] M. Karimiabdolmaleki, L. Farias Wanderley, M. Cutumisu, M. Rezazadeh, and C. Demmans Epp, (2025) &#8220;Negative Language Transfer Identification in the English Writing of Chinese and Farsi Native Speakers&#8221; International Journal of Artificial Intelligence in Education 35(4): 2215\u20132253. DOI: 10.1007\/s40593-025-00468-8.<\/li>\n<li data-path-to-node=\"0\">[7] Q. Luo, (2024) &#8220;EMI Teachers&#8217; Attitudes and Approaches towards Grammar Error and Professional Development Perspectives in Chinese Higher Education&#8221; International Journal of Social Science and Public Administration 3(3): 12\u201323. DOI: 10.62051\/ijsspa.v3n3.02.<\/li>\n<li data-path-to-node=\"0\">[8] S. T. D. Handayani, (2024) &#8220;Grammar Mistakes of Engineering Students&#8217; Research Titles Writing in English&#8221; Morfologi: Jurnal Ilmu Pendidikan Bahasa Sastra dan Budaya 2(5): 40\u201352. DOI: 10.61132\/morfologi.v2i5.909.<\/li>\n<li data-path-to-node=\"0\">[9] Y. Zhang, H. Eto, and J. Cui, (2025) &#8220;Linguistic Challenges of Writing Papers in English for Scholarly Publication: Perceptions of Chinese Academics in Science and Engineering&#8221; PLOS ONE 20(5): e0324760. DOI: 10.1371\/journal.pone.0324760.<\/li>\n<li data-path-to-node=\"0\">[10] M. H. Ghannam et al., (2025) &#8220;Investigating of AI Tools&#8217; Enhancement on the English Writing Skills among Non-Native Speakers&#8221; Journal of Social Studies 31(3): 105\u2013125. DOI: 10.20428\/jss.v31i3.2731.<\/li>\n<li data-path-to-node=\"0\">[11] J. Li et al., (2024) &#8220;Exploring the Potential of Artificial Intelligence to Enhance the Writing of English Academic Papers by Non-Native English-Speaking Medical Students: The Educational Application of ChatGPT&#8221; BMC Medical Education 24(1): 736. DOI: 10.1186\/s12909-024-05738-y.<\/li>\n<li data-path-to-node=\"0\">[12] H. K. Aladsani, A. A. Al-Dokhny, and A. M. Drwish, (2026) &#8220;Practices and Evaluation of Generative AI in English-Language Publication: Insights from Saudi Non-Native English-Speaking Researchers&#8221; SAGE Open 16(1): 1\u201318. DOI: 10.1177\/21582440261420858.<\/li>\n<li data-path-to-node=\"0\">[13] F. Algobaei and E. Alzain, (2026) &#8220;Prompt Engineering for Non-Native English Learners: A Generative AI Approach to Personalised Language Feedback&#8221; Social Sciences and Humanities Open 13: 102341. DOI: 10.1016\/j.ssaho.2025.102341.<\/li>\n<li data-path-to-node=\"0\">[14] L. M. Ramjan et al., (2024) &#8220;University Students&#8217; Experiences with Non-First Language as the Medium of Instruction: A Mixed Method Study&#8221; Higher Education Research and Development 43(2): 406\u2013420. DOI: 10.1080\/07294360.2023.2234297.<\/li>\n<li data-path-to-node=\"0\">[15] H. Chen, (2022) &#8220;Identification of Grammatical Errors of English Language Based on Intelligent Translational Model&#8221; Mobile Information Systems 2022(1): 4472190. DOI: 10.1155\/2022\/4472190.<\/li>\n<li data-path-to-node=\"0\">[16] Kaggle. Grammatical Errors in English Writing. Kaggle Dataset. Accessed March 23, 2026. 2026. URL: <a class=\"ng-star-inserted\" href=\"https:\/\/www.kaggle.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.kaggle.com\/<\/a>.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"author":3,"template":"wp-custom-template-detail-4-aricles","meta":{"_uag_custom_page_level_css":""},"categories":[12,1682,6],"tags":[1849],"acf":[],"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"\u6797\u923a\u6db5","author_link":"\/jase\/?author=3"},"uagb_comment_info":0,"uagb_excerpt":"&nbsp;Copyright&nbsp;The Author(s). This is an open access article distributed under the terms of the&nbsp;Creative Commons Attribution&nbsp;License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are cited. Download Citation:\u00a0 BibTeX | http:\/\/dx.doi.org\/10.6180\/jase.202611_34.065\u00a0\u00a0 Download PDF Grammatical error detection is an essential task in natural language processing&hellip;","_links":{"self":[{"href":"\/jase\/index.php?rest_route=\/wp\/v2\/tkuisotope\/10612"}],"collection":[{"href":"\/jase\/index.php?rest_route=\/wp\/v2\/tkuisotope"}],"about":[{"href":"\/jase\/index.php?rest_route=\/wp\/v2\/types\/tkuisotope"}],"author":[{"embeddable":true,"href":"\/jase\/index.php?rest_route=\/wp\/v2\/users\/3"}],"wp:attachment":[{"href":"\/jase\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/jase\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10612"},{"taxonomy":"post_tag","embeddable":true,"href":"\/jase\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}