Author:
Nadir Hussain ,Dr. Sheikh Muhammad Saqib ,Hamza Arif ,Muhammad Usman Gurmani
Abstract
This paper discusses the importance of detecting questions in textual data for various applications in natural language processing (NLP), such as question answering and chatbot creation. The proposed approach employs long short-term memory (LSTM) models to accurately identify questions by leveraging the sequential nature of language.The paper highlights that LSTM models address challenges like ambiguous language and varying sentence structures. They allow the model to learn from sequential patterns, crucial for understanding the intent behind the text. The preprocessing steps, including tokenization, embedding, and padding, are detailed to prepare the data for training and testing. The study investigates the impact of hyperparameters like hidden layers, hidden states, and optimizer choice on the LSTM algorithm’s performance. In experiments on benchmark datasets, the proposed LSTM-based approach consistently outperforms conventional machine learning models, achieving a remarkable accuracy of 99.25% on the test dataset. The paper concludes by suggesting future directions, including applyingthe approach to other NLP tasks like named entity recognition, sentiment analysis, and text classification. Further optimization for specific datasets or domains is also encouraged. Overall, this research contributes to robust question detection models in NLP, with potential applications in various fields.
Reference79 articles.
1. D. Saranya and C. Science, “An Efficient Visual based Question Answering System using Machine Learning,” Ann. Rom. Soc. Cell Biol., vol. 25, no. 3, pp. 1467–1477, 2021.
2. X. Liu, R. Xie, C. Lin, and L. Cao, “Question microblog identification and answer recommendation,” Multimed. Syst., vol. 22, no. 4, pp. 487–496, 2016, doi: 10.1007/s00530-014-0411-z.
3. A. Yadav and D. K. Vishwakarma, “Sentiment analysis using deep learning architectures: a review,” Artif. Intell. Rev., vol. 53, no. 6, pp. 4335–4385, Aug. 2020, doi: 10.1007/s10462-019-09794-5.
4. S. Yuan, Y. Zhang, J. Tang, and J. B. Cabotà, “Expert Finding in Community Question Answering: A Review,” Artif. Intell. Rev., vol. 53, no. 2, pp. 843–874, Apr. 2018, doi: 10.1007/s10462-018-09680-6.
5. Y. Wang, M. Wang, and H. Fujita, “Word Sense Disambiguation: A comprehensive knowledge exploitation framework,” Knowledge-Based Syst., vol. 190, no. 2, p. 105030, Feb. 2020, doi: 10.1016/j.knosys.2019.105030.