Integrating Programming by Example and Natural Language Programming

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.

Cite

Text

Manshadi et al. "Integrating Programming by Example and Natural Language Programming." AAAI Conference on Artificial Intelligence, 2013. doi:10.1609/AAAI.V27I1.8695

Markdown

[Manshadi et al. "Integrating Programming by Example and Natural Language Programming." AAAI Conference on Artificial Intelligence, 2013.](https://mlanthology.org/aaai/2013/manshadi2013aaai-integrating/) doi:10.1609/AAAI.V27I1.8695

BibTeX

@inproceedings{manshadi2013aaai-integrating,
  title     = {{Integrating Programming by Example and Natural Language Programming}},
  author    = {Manshadi, Mehdi Hafezi and Gildea, Daniel and Allen, James F.},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2013},
  pages     = {661-667},
  doi       = {10.1609/AAAI.V27I1.8695},
  url       = {https://mlanthology.org/aaai/2013/manshadi2013aaai-integrating/}
}