Back to Search Start Over

An Intelligent Code Search Approach Using Hybrid Encoders

Authors :
Yao Meng
Source :
Wireless Communications and Mobile Computing, Vol 2021 (2021)
Publication Year :
2021
Publisher :
Hindawi Limited, 2021.

Abstract

The intelligent code search with natural language queries has become an important researching area in software engineering. In this paper, we propose a novel deep learning framework At-CodeSM for source code search. The powerful code encoder in At-CodeSM, which is implemented with an abstract syntax tree parsing algorithm (Tree-LSTM) and token-level encoders, maintains both the lexical and structural features of source code in the process of code vectorizing. Both the representative and discriminative models are implemented with deep neural networks. Our experiments on the CodeSearchNet dataset show that At-CodeSM yields better performance in the task of intelligent code searching than previous approaches.

Details

ISSN :
15308677 and 15308669
Volume :
2021
Database :
OpenAIRE
Journal :
Wireless Communications and Mobile Computing
Accession number :
edsair.doi.dedup.....e46596afbb4745d8307147dceb4b93b4
Full Text :
https://doi.org/10.1155/2021/9990988