Invention Grant
- Patent Title: Source code retrieval
-
Application No.: US17085894Application Date: 2020-10-30
-
Publication No.: US11651014B2Publication Date: 2023-05-16
- Inventor: Mehdi Bahrami , Manisha Mukherjee , Wei-Peng Chen
- Applicant: FUJITSU LIMITED
- Applicant Address: JP Kawasaki
- Assignee: FUJITSU LIMITED
- Current Assignee: FUJITSU LIMITED
- Current Assignee Address: JP Kawasaki
- Agency: Maschoff Brennan
- Main IPC: G06F16/33
- IPC: G06F16/33 ; G06F40/226 ; G06N3/08 ; G06N3/04 ; G06F8/70 ; G06F8/30 ; G06F16/332 ; G06F11/36

Abstract:
A method may include obtaining training code and extracting features from the training code. The extracted features of the training code may be mapped to natural language code vectors by a deep neural network. A natural language search query requesting source-code suggestions may be received, and the natural language search query may be mapped to a natural language search vector by the deep neural network. The method may include mapping the natural language search query to the natural language search vector in the same or a similar method as mapping the extracted features of the training code to natural language code vectors, and the natural language search vector may be compared to the natural language code vectors. Source code responsive to the natural language search query may be suggested based on the comparison between the natural language search vector and the natural language code vectors.
Public/Granted literature
- US20220138240A1 SOURCE CODE RETRIEVAL Public/Granted day:2022-05-05
Information query