|
This article is cited in 1 scientific paper (total in 1 paper)
Applying deep learning to C# call sequence synthesis
A. E. Chebykin, I. A. Kirilenko Faculty of Mathematics and Mechanics, Saint Petersburg State University
Abstract:
Many common programming tasks, like connecting to a database, drawing an image, or reading from a file, are long implemented in various frameworks and are available via corresponding Application Programming Interfaces (APIs). However, to use them, a software engineer must first learn of their existence and then of the correct way to utilize them. Currently, the Internet seems to be the best and the most common way to gather such information. Recently, a deep-learning-based solution was proposed in the form of DeepAPI tool. Given English description of the desired functionality, sequence of Java function calls is generated. In this paper, we show the way to apply this approach to a different programming language (C# over Java) that has smaller open code base; we describe techniques used to achieve results close to the original, as well as techniques that failed to produce an impact. Finally, we release our dataset, code and trained model to facilitate further research.
Keywords:
API, deep learning, code search, RNN, transfer learning.
Citation:
A. E. Chebykin, I. A. Kirilenko, “Applying deep learning to C# call sequence synthesis”, Proceedings of ISP RAS, 30:3 (2018), 63–86
Linking options:
https://www.mathnet.ru/eng/tisp325 https://www.mathnet.ru/eng/tisp/v30/i3/p63
|
Statistics & downloads: |
Abstract page: | 188 | Full-text PDF : | 208 | References: | 27 |
|