Polyglot Semantic Parsing in APIs

Kyle Richardson, Jonathan Berant, Jonas Kuhn
3/19/2018
cs.CL

Official code: yakazimir/Code-Datasets (8 stars, last commit 2018-09-20).

Abstract

Traditional approaches to semantic parsing (SP) work by training individual models for each available parallel dataset of text-meaning pairs. In this paper, we explore the idea of polyglot semantic translation, or learning semantic parsing models that are trained on multiple datasets and natural languages. In particular, we focus on translating text to code signature representations using the software component datasets of Richardson and Kuhn (2017a,b). The advantage of such models is that they can be used for parsing a wide variety of input natural languages and output programming languages, or mixed input languages, using a single unified model. To facilitate modeling of this type, we develop a novel graph-based decoding framework that achieves state-of-the-art performance on the above datasets, and apply this method to two other benchmark SP tasks.

View on arXivView PDF

Code Implementations(1)

Original data for the text to code experiments of Richardson and Kuhn

82E, ForthJul 30, 20178 years ago

Similar Papers

Cite this paper

@article{richardson2018polyglot,
  title  = {Polyglot Semantic Parsing in APIs},
  author = {Kyle Richardson and Jonathan Berant and Jonas Kuhn},
  year   = {2018},
  eprint = {1803.06966},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.06966}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1803.06966.svg)](https://codeofpaper.com/paper/1803.06966)

Discussion