Code search embedding method and device based on global information and local information
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- WUHAN UNIV
- Publication Date
- 2021-09-28
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of data search, in particular to a code search embedding method and device based on global information and local information. Background technique
[0002] In the information age, the demand for software development has increased, and developers have a strong demand for technical discussions. Studies have shown that more than 60% of developers search source code every day. The online question-and-answer community can search codes by entering descriptions. Compared with open source projects, developers can find codes that meet the requirements more conveniently and quickly, and can obtain solutions to specific problems encountered in the program, improving the efficiency of software development. Therefore, the matching between natural language query and target code, that is, code search, has attracted more and more researchers' attention.
[0003] Due to the semantic differences between code snippets and na...