Research Article

A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks

Volume: 28 Number: 82 January 27, 2026
EN TR

A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks

Abstract

Natural Language Processing (NLP) has become a cornerstone in various fields, revolutionizing how machines interpret and process human language. Among its diverse applications, next-word prediction emerges as a highly practical and impactful example of generative AI. This research focuses on the use of Long Short-Term Memory (LSTM) models—an innovative class of Recurrent Neural Network (RNN)—for predictive text generation. LSTMs excel in capturing sequential and contextual information, making them ideal for language tasks. While transformer models dominate accuracy benchmarks, this work addresses the critical need for efficient alternatives in resource-constrained deployment scenarios. This study presents a novel LSTM-based framework enhanced with hybrid architecture and advanced regularization techniques, trained on a carefully curated dataset of 15,000 English sentences. The proposed model achieves superior performance with 84.2% training accuracy, 79.6% test accuracy, and a perplexity score of 2.41, significantly outperforming traditional approaches. The methodology addresses overfitting through dropout regularization, batch normalization, and adaptive learning rate strategies while effectively capturing long-term contextual dependencies. This research contributes to the advancement of neural language modeling by providing a robust framework that bridges the gap between computational efficiency and prediction accuracy in real-world NLP applications.

Keywords

References

  1. Chowdhary K, Chowdhary K. Natural language processing. In: Fundamentals of artificial intelligence. 2020, p. 603-49.
  2. Yücesan E, Erkan MA, Deveci A, Medeni İT. Bekenbey AI: Innovative Solutions at the Intersection of Deep Learning and Law. CÜMFAD 2024;2(2):185-92.
  3. Hong Z. Enabling scientific information extraction with natural language processing. Nature Communications 2024;15.
  4. Hochreiter S, Schmidhuber J. Long short-term memory. Neural Computation 1997;9(8):1735-80.
  5. Devlin J, Chang M, Lee K, Toutanova K. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In: Proceedings of NAACL-HLT. 2019, p. 4171-86.
  6. Radford A, Narasimhan K, Salimans T, Sutskever I. Improving language understanding by generative pre-training. OpenAI Technical Report; 2018.
  7. Chen SF, Goodman J. An empirical study of smoothing techniques for language modeling. Computer Speech & Language 1999;13(4):359-94.
  8. Rabiner LR. A tutorial on hidden Markov models and selected applications in speech recognition. Proceedings of the IEEE 1989;77(2):257-86.

Details

Primary Language

English

Subjects

Data Communications

Journal Section

Research Article

Publication Date

January 27, 2026

Submission Date

March 27, 2025

Acceptance Date

July 4, 2025

Published in Issue

Year 2026 Volume: 28 Number: 82

APA
Deveci, A., Erkan, M. A., Medeni, İ. T., & Medeni, T. D. (2026). A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi, 28(82), 113-120. https://doi.org/10.21205/deufmd.2026288215
AMA
1.Deveci A, Erkan MA, Medeni İT, Medeni TD. A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks. DEUFMD. 2026;28(82):113-120. doi:10.21205/deufmd.2026288215
Chicago
Deveci, Ali, Mehmet Ali Erkan, İhsan Tolga Medeni, and Tunç Durmuş Medeni. 2026. “A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi 28 (82): 113-20. https://doi.org/10.21205/deufmd.2026288215.
EndNote
Deveci A, Erkan MA, Medeni İT, Medeni TD (January 1, 2026) A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen ve Mühendislik Dergisi 28 82 113–120.
IEEE
[1]A. Deveci, M. A. Erkan, İ. T. Medeni, and T. D. Medeni, “A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks”, DEUFMD, vol. 28, no. 82, pp. 113–120, Jan. 2026, doi: 10.21205/deufmd.2026288215.
ISNAD
Deveci, Ali - Erkan, Mehmet Ali - Medeni, İhsan Tolga - Medeni, Tunç Durmuş. “A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen ve Mühendislik Dergisi 28/82 (January 1, 2026): 113-120. https://doi.org/10.21205/deufmd.2026288215.
JAMA
1.Deveci A, Erkan MA, Medeni İT, Medeni TD. A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks. DEUFMD. 2026;28:113–120.
MLA
Deveci, Ali, et al. “A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi, vol. 28, no. 82, Jan. 2026, pp. 113-20, doi:10.21205/deufmd.2026288215.
Vancouver
1.Ali Deveci, Mehmet Ali Erkan, İhsan Tolga Medeni, Tunç Durmuş Medeni. A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks. DEUFMD. 2026 Jan. 1;28(82):113-20. doi:10.21205/deufmd.2026288215

This journal is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

download?token=eyJhdXRoX3JvbGVzIjpbXSwiZW5kcG9pbnQiOiJmaWxlIiwicGF0aCI6IjliNTAvMDBjMi8xZmIxLzY5MjZmZDIyOGE1NzgyLjA3MzU5MTk2LnBuZyIsImV4cCI6MTc2NDE2OTMzMSwibm9uY2UiOiI2MTU1ODg1NGZlYzhkZTA1OThkNTU2NGFmYTQzYTc0YiJ9.O5b4Ex8bMlFv5797LL8VnE9YWS_X5880dfbmOp2-kc8