Integrating Programming by Example and Natural Language Programming

Authors

  • Mehdi Manshadi University of Rochester
  • Daniel Gildea Department of Computer Science
  • James Allen University of Rochester

DOI:

https://doi.org/10.1609/aaai.v27i1.8695

Keywords:

Programming by Example, Natural Language Programming, Programming by Demonstration, Program Induction

Abstract

We motivate the integration of programming by example and natural language programming by developing a system for specifying programs for simple text editing operations based on regular expressions. The programs are described with unconstrained natural language instructions, and providing one or more examples of input/output. We show that natural language allows the system to deduce the correct program much more often and much faster than is possible with the input/output example(s) alone, showing that natural language programming and programming by example can be combined in a way that overcomes the ambiguities that both methods suffer from individually, while providing a more natural interface to the user.

Downloads

Published

2013-06-30

How to Cite

Manshadi, M., Gildea, D., & Allen, J. (2013). Integrating Programming by Example and Natural Language Programming. Proceedings of the AAAI Conference on Artificial Intelligence, 27(1), 661-667. https://doi.org/10.1609/aaai.v27i1.8695