Multi-perspective, multi-task neural network model for matching text to program code

Jinjun Xiong (Inventor), Rajarshi Haldar (Inventor), Julia Constanze Hockenmaier (Inventor), Lingfei Wu (Inventor)

Research output: Patent

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.
Original languageEnglish (US)
U.S. patent number11132512
Filing date11/8/19
StatePublished - Sep 28 2021

Fingerprint

Dive into the research topics of 'Multi-perspective, multi-task neural network model for matching text to program code'. Together they form a unique fingerprint.

Cite this