We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:


References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Computation and Language

Title: Function Assistant: A Tool for NL Querying of APIs

Abstract: In this paper, we describe Function Assistant, a lightweight Python-based toolkit for querying and exploring source code repositories using natural language. The toolkit is designed to help end-users of a target API quickly find information about functions through high-level natural language queries and descriptions. For a given text query and background API, the tool finds candidate functions by performing a translation from the text to known representations in the API using the semantic parsing approach of Richardson and Kuhn (2017). Translations are automatically learned from example text-code pairs in example APIs. The toolkit includes features for building translation pipelines and query engines for arbitrary source code projects. To explore this last feature, we perform new experiments on 27 well-known Python projects hosted on Github.
Comments: in Proceedings of EMNLP-2017 (system demonstrations)
Subjects: Computation and Language (cs.CL)
DOI: 10.18653/v1/D17-2012
Cite as: arXiv:1706.00468 [cs.CL]
  (or arXiv:1706.00468v2 [cs.CL] for this version)

Submission history

From: Kyle Richardson [view email]
[v1] Thu, 1 Jun 2017 19:26:32 GMT (1049kb,D)
[v2] Fri, 15 Sep 2017 11:57:36 GMT (867kb,D)

Link back to: arXiv, form interface, contact.