NLP (Natural Language Processing) for NLP (Natural Language Programming)

NLP (Natural Language Processing) for NLP (Natural Language Programming)
复制标题

NLP(自然语言处理)用于 NLP(自然语言编程)

DOI:
10.1007/11671299_34
复制
发表时间:
2006
期刊:
2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)
影响因子:
--
通讯作者:
H. Lieberman
H. Lieberman
中科院分区:
--
文献类型:
--
作者:
Rada Mihalcea;Hugo Liu;H. Lieberman

文献摘要

被引文献

相似文献

自然语言处理在使计算机界面更易于使用方面有很大的希望,因为人们将(希望)能够用自己的语言与计算机交谈,而不是学习计算机命令的专门语言。然而,对于编程来说,与计算机通信的正式编程语言的必要性一直被认为是理所当然的。我们要对这种假设提出质疑。我们相信,现代自然语言处理技术可以使使用自然语言来表达(至少部分)编程思想成为可能,从而大大提高了非专业用户对编程的可访问性。为了证明自然语言编程的可行性,本文处理了一些被认为是最困难的情况:步骤和循环。我们期待在语料库的英语描述作为编程作业,并开发一些技术,语言结构映射到程序结构,我们称之为程序语义。
Natural Language Processing holds great promise for making computer interfaces that are easier to use for people, since people will (hopefully) be able to talk to the computer in their own language, rather than learn a specialized language of computer commands. For programming, however, the necessity of a formal programming language for communicating with a computer has always been taken for granted. We would like to challenge this assumption. We believe that modem Natural Language Processing techniques can make possible the use of natural language to (at least partially) express programming ideas, thus drastically increasing the accessibility of programming to non-expert users. To demonstrate the feasibility of Natural Language Programming, this paper tackles what are perceived to be some of the hardest cases: steps and loops. We look at a corpus of English descriptions used as programming assignments, and develop some techniques for mapping linguistic constructs onto program structures, which we refer to as programmatic semantics.