Logo image
Applying natural language processing techniques to code
Dissertation   Open access

Applying natural language processing techniques to code

Aviel J. Stein
Doctor of Philosophy (Ph.D.), Drexel University
May 2022
DOI:
https://doi.org/10.17918/00001100
pdf
Stein_Aviel_20222.59 MBDownloadView

Abstract

Artificial intelligence Deep learning (Machine learning) Natural language processing (Computer science) Source code (Computer science)
Analyzing source code is becoming a helpful method as the amount of code and the number of coders increases. Developing software is a mentally strenuous activity because it involves understanding and formalizing solutions to complex problems. As solutions are adapted and the problem themselves change, the code changes with it. Traditionally, source code analysis (SCA) uses methods and tools that rely on the rigid structure of code to work, and while useful, are not always able to adapt to new information and code. By comparison, the natural language processing (NLP) field leverages naturally occurring patterns within natural language text to help people understand and interpret text robustly on a large scale. This works shows that methods from NLP can be applied to code to extract information automatically in broad and more adaptable ways. We show several examples of how techniques developed for NLP can be successfully applied to software to create source code tools that can help developers improve source code.

Metrics

95 File views/ downloads
277 Record Views

Details

Logo image