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
期刊:
影响因子:
--
通讯作者:
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.