Supporting Developers with Natural Language Queries

Supporting Developers with Natural Language Queries

inproceedings
Gerald Reif, Harald C. Gall, Michael Würsch, Giacomo Ghezzi
The feature list of modern IDEs is growing steadily and mastering these tools becomes more and more demanding, especially for novice programmers. Despite their remarkable capabilities, IDEs often still cannot directly answer the questions that arise during program comprehension tasks. Instead developers have to map their questions to multiple concrete queries that can be answered only by combining several tools and examining the output of each of them manually to distill an appropriate answer. Existing approaches have in common that they are either limited to a set of predefined, hardcoded questions, or that they require to learn a specific query language only suitable for that limited purpose. We present a framework to query for information about a software system using guided-input natural language resembling plain English. For that, we model data extracted by classical software analysis tools with an OWL ontology and use knowledge processing technologies from the Semantic Web to query it. We also present a case study that demonstrates how our framework can be used to answer queries about static source code information for program comprehension purposes.
Supporting Developers with Natural Language Queries
2010
IEEE Computer Society
May
165-174
Proceedings of the 32nd International Conference on Software Engineering
s.e.a.l.