Invention Grant
- Patent Title: Multi-perspective, multi-task neural network model for matching text to program code
-
Application No.: US16678341Application Date: 2019-11-08
-
Publication No.: US11132512B2Publication Date: 2021-09-28
- Inventor: Lingfei Wu , Jinjun Xiong , Julia Constanze Hockenmaier , Rajarshi Haldar
- Applicant: International Business Machines Corporation , The Board of Trustees of the University of Illinois
- Applicant Address: US NY Armonk; US IL Urbana
- Assignee: International Business Machines Corporation,The Board of Trustees of the University of Illinois
- Current Assignee: International Business Machines Corporation,The Board of Trustees of the University of Illinois
- Current Assignee Address: US NY Armonk; US IL Urbana
- Agency: Cantor Colburn, LLP
- Agent Joseph Petrokaitis
- Main IPC: G06F40/30
- IPC: G06F40/30 ; G06F16/2452 ; G06N3/04 ; G06N3/08

Abstract:
Embodiments of the invention describe a computer-implemented method that includes receiving a query that includes a query sequence having query characters grouped into query words. A segment of program code is retrieved from a database for evaluation. The program code includes a program code sequence including program code characters grouped into program code words. The query sequence, the query word, the program code sequence, and the program code word are each converted to sequence and word representations. Query sequence-level features, query word-level features, program code sequence-level features, and program code word-level features are extracted from the sequence and word representation. Similarity between the query and the segment of program code is determined by applying a similarity metric technique to the query sequence-level features, the query word-level features, the program code sequence-level features, and the program code word-level features.
Public/Granted literature
- US20210141863A1 MULTI-PERSPECTIVE, MULTI-TASK NEURAL NETWORK MODEL FOR MATCHING TEXT TO PROGRAM CODE Public/Granted day:2021-05-13
Information query