Function assistant: A tool for NL querying of APIs

4Citations
Citations of this article
81Readers
Mendeley users who have this article in their library.

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.

Cite

CITATION STYLE

APA

Richardson, K., & Kuhn, J. (2017). Function assistant: A tool for NL querying of APIs. In EMNLP 2017 - Conference on Empirical Methods in Natural Language Processing: System Demonstrations, Proceedings (pp. 67–72). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/d17-2012

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free