TY - PAT
T1 - Multi-perspective, multi-task neural network model for matching text to program code
AU - Xiong, Jinjun
AU - Haldar, Rajarshi
AU - Hockenmaier, Julia Constanze
AU - Wu, Lingfei
PY - 2021/9/28
Y1 - 2021/9/28
N2 - 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.
AB - 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.
M3 - Patent
M1 - 11132512
Y2 - 2019/11/08
ER -