# NLP2Code: Code Snippet Content Assist via Natural Language Tasks

arXiv: https://arxiv.org/abs/1701.05648 · HTML: https://mlsanity.com/paper/1701.05648/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 20 Jan 2017.

## Built on by (most cited first, 4 of 4)

- [CCT-Code: Cross-Consistency Training for Multilingual Clone Detection and Code Search](https://mlsanity.com/paper/2305.11626/) (2023)
- [deGraphCS: Embedding Variable-based Flow Graph for Neural Code Search](https://mlsanity.com/paper/2103.13020/) (2021)
- [Plot2API: Recommending Graphic API from Plot via Semantic Parsing Guided Neural Network](https://mlsanity.com/paper/2104.01032/) (2021)
- [Searching by Code: a New SearchBySnippet Dataset and SnippeR Retrieval Model for Searching by Code Snippets](https://mlsanity.com/paper/2305.11625/) (2023)

## Abstract (arXiv)

Developers increasingly take to the Internet for code snippets to integrate into their programs. To save developers the time required to switch from their development environments to a web browser in the quest for a suitable code snippet, we introduce NLP2Code, a content assist for code snippets. Unlike related tools, NLP2Code integrates directly into the source code editor and provides developers with a content assist feature to close the vocabulary gap between developers' needs and code snippet meta data. Our preliminary evaluation of NLP2Code shows that the majority of invocations lead to code snippets rated as helpful by users and that the tool is able to support a wide range of tasks.
