Abstract

Text retrieval activity involves retrieving the source code which software developers conduct on a daily basis. Current methods for retrieving source code rely on regular expressions and assume that the developers searching the code base are well-versed in the source code. Software developers ought to possess freedom to formulate queries on the codebase using natural language sentences as opposed to a search being a keyword or pattern-based, which are difficult to remember. When a bug is raised, developers who are new to the source code base may issue an NLQ to the code base to obtain the code where they must provide a fix. Nevertheless, the performance of a text search is highly dependent on query quality, and it succeeds when the textual query is of good quality. Predicting query quality in advance on a source code retrieval system can alert developers when a query is unlikely to succeed, thereby saving them time and effort from going through a long list of results. In this paper, the quality of the query is predicted using a back-propagation approach to train a feed-forward neural network (multi-layer perceptron). The model is trained and evaluated on a dataset that is created from the source code documentation. Natural language processing pre-retrieval metrics are exploited to study the significance of training the model. The model proves to be a good predictor of query quality with 85.75% accuracy.

Original languageEnglish
Title of host publication2023 IEEE 4th Annual Flagship India Council International Subsections Conference
Subtitle of host publicationComputational Intelligence and Learning Systems, INDISCON 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350333558
DOIs
Publication statusPublished - 2023
Event4th IEEE Annual Flagship India Council International Subsections Conference, INDISCON 2023 - Mysore, India
Duration: 05-08-202307-08-2023

Publication series

Name2023 IEEE 4th Annual Flagship India Council International Subsections Conference: Computational Intelligence and Learning Systems, INDISCON 2023

Conference

Conference4th IEEE Annual Flagship India Council International Subsections Conference, INDISCON 2023
Country/TerritoryIndia
CityMysore
Period05-08-2307-08-23

All Science Journal Classification (ASJC) codes

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Computer Vision and Pattern Recognition
  • Computational Mathematics
  • Control and Optimization
  • Health Informatics

Fingerprint

Dive into the research topics of 'Automatic Query Quality Prediction Using Feed Forward Neural Network'. Together they form a unique fingerprint.

Cite this