Naturalizing a Programming Language via Interactive Learning
Naturalizing a Programming Language via Interactive Learning
复制标题
通过交互式学习自然化编程语言
DOI:
10.18653/v1/p17-1086
复制
发表时间:
2017
影响因子:
10.9
通讯作者:
Christopher D. Manning
中科院分区:
文献类型:
--
作者:
Sida I. Wang;Samuel Ginn;Percy Liang;Christopher D. Manning
Our goal is to create a convenient natural language interface for performing well-specified but complex actions such as analyzing data, manipulating text, and querying databases. However, existing natural language interfaces for such tasks are quite primitive compared to the power one wields with a programming language. To bridge this gap, we start with a core programming language and allow users to “naturalize” the core language incrementally by defining alternative, more natural syntax and increasingly complex concepts in terms of compositions of simpler ones. In a voxel world, we show that a community of users can simultaneously teach a common system a diverse language and use it to build hundreds of complex voxel structures. Over the course of three days, these users went from using only the core language to using the naturalized language in 85.9% of the last 10K utterances.