A Multi-Perspective Architecture for Semantic Code Search

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Haldar, Rajarshi, Wu, Lingfei, Xiong, Jinjun, Hockenmaier, Julia
Format: Preprint
Veröffentlicht: 2020
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916200054784000
author Haldar, Rajarshi
Wu, Lingfei
Xiong, Jinjun
Hockenmaier, Julia
author_facet Haldar, Rajarshi
Wu, Lingfei
Xiong, Jinjun
Hockenmaier, Julia
contents The ability to match pieces of code to their corresponding natural language descriptions and vice versa is fundamental for natural language search interfaces to software repositories. In this paper, we propose a novel multi-perspective cross-lingual neural framework for code--text matching, inspired in part by a previous model for monolingual text-to-text matching, to capture both global and local similarities. Our experiments on the CoNaLa dataset show that our proposed model yields better performance on this cross-lingual text-to-code matching task than previous approaches that map code and text to a single joint embedding space.
format Preprint
id arxiv_https___arxiv_org_abs_2005_06980
institution arXiv
publishDate 2020
record_format arxiv
spellingShingle A Multi-Perspective Architecture for Semantic Code Search
Haldar, Rajarshi
Wu, Lingfei
Xiong, Jinjun
Hockenmaier, Julia
Software Engineering
Computation and Language
Machine Learning
Programming Languages
The ability to match pieces of code to their corresponding natural language descriptions and vice versa is fundamental for natural language search interfaces to software repositories. In this paper, we propose a novel multi-perspective cross-lingual neural framework for code--text matching, inspired in part by a previous model for monolingual text-to-text matching, to capture both global and local similarities. Our experiments on the CoNaLa dataset show that our proposed model yields better performance on this cross-lingual text-to-code matching task than previous approaches that map code and text to a single joint embedding space.
title A Multi-Perspective Architecture for Semantic Code Search
topic Software Engineering
Computation and Language
Machine Learning
Programming Languages
url https://arxiv.org/abs/2005.06980