Next Word Prediction for Urdu using Deep Learning Techniques
A language model for next-word prediction is a probabilistic representation of a natural language that utilizes text corpora to generate word probabilities. These models play a crucial role in text generation, machine translation, and question-answering applications. The focus of this study is to develop an improved algorithm for next-word prediction in Urdu. The study implements deep learning models, including RNN, LSTM, and Bi-LSTM, on a subset of the Ur-Mono Urdu corpus containing 3,000 and 5,000 sentences. To prepare the data for experimentation, tokenization and stemming data cleaning techniques are applied. The study achieved an accuracy of 87% using the RNN model on the first 3,000 sentences of the Ur-Mono dataset and 84% accuracy using the RNN model on the first 5,000 sentences of the Ur-Mono dataset. In conclusion, it can be stated that when the corpus size is small, the RNN outperforms both the LSTM and BiLSTM. However, as the corpus size increases, the Bi-LSTM exhibits superior performance compared to both RNN and LSTM.
Authors
- Muhammad Ullah
- Naveed Hussain (ORCID: https://orcid.org/0000-0003-3874-2088)
- Mukhtiar Ahmad Mukhtiar Ahmad
- Mehmood Anwar
- Ali Saeed (ORCID: https://orcid.org/0000-0002-3779-2633)
- M Usman Bhatti
Institutions
- Universiti Malaysia Terengganu (MY)
- University of Central Punjab (PK)
- Riphah International University (PK)
- Dalian University of Technology (CN)
Publication Details
- Journal
- VFAST Transactions on Software Engineering
- Published
- 2025-02-27
- DOI
- https://doi.org/10.21015/vtse.v13i1.2044
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00