- Patent Title: Semantic code search based on augmented programming language corpus
-
Application No.: US17161545Application Date: 2021-01-28
-
Publication No.: US11609748B2Publication Date: 2023-03-21
- Inventor: Mehdi Bahrami , Wei-Peng Chen , Shrikanth Narayanaswamy Chandrasekaran
- Applicant: FUJITSU LIMITED
- Applicant Address: JP Kawasaki
- Assignee: FUJITSU LIMITED
- Current Assignee: FUJITSU LIMITED
- Current Assignee Address: JP Kawasaki
- Agency: Maschoff Brennan
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/33 ; G06F16/9032 ; G06N20/00

Abstract:
A method may include obtaining machine-readable source code. The method may include parsing the source code for one or more code descriptions and identifying a section of the source code corresponding to each of the code descriptions. The method may include determining a description-code pair including a first element representing the code description and a second element representing the section of the source code corresponding to the code description. The method may include generating an augmented programming language corpus based on the description-code pair, the one or more code descriptions, and the source code. The method may include receiving a natural language search query for source-code recommendations, identifying source code from the augmented programming language corpus responsive to the natural language search query, and responding to the natural language search query with the identified source code.
Public/Granted literature
- US20220236964A1 SEMANTIC CODE SEARCH BASED ON AUGMENTED PROGRAMMING LANGUAGE CORPUS Public/Granted day:2022-07-28
Information query