Multi-level Semantic Representation Model for Code Search.

Donzhen Wen,Liang Yang,Yingying Zhang,Yuan Lin,Kan Xu,Hongfei Lin
2020-01-01
Abstract:With the huge amount of open-source software is publicly available today, code search has become more and more important to software development. Matching natural language(NL) between programming language(PL) cross the semantic gap is the key to the code search problem. In this paper, we introduce a word-based Multi-level Semantic Representation (MSR) model from the perspective of text representation to maximum semantic matching. Then we perform a series of experiments to find the significance of different parts in code snippets when modeling semantic relevance between natural language and programming language. The conclusion can be used to support further study on semantic matching modeling between PL and NL like the neural matching model.
What problem does this paper attempt to address?