Vajra

Viktor Schlegel, Benedikt Lang, Siegfried Handschuh and André Freitas

Abstract

Building natural language programming systems that are geared towards end-users requires the abstraction of formalisms inherently introduced by programming languages, capturing the intent of natural language inputs and mapping it to existing programming language constructs. We present a novel end-user programming paradigm for Python, which maps natural language commands into Python code. The proposed semantic parsing model aims to reduce the barriers for producing well-formed code (syntactic gap) and for exploring third-party APIs (lexico-semantic gap). The proposed method was implemented in a supporting system and evaluated in a usability study involving programmers as well as non-programmers. The results show that both groups are able to produce code with or without prior programming experience.

Venue
IUI 2019
Volume
Proceedings of the 24th International Conference on Intelligent User Interfaces
DOI
10.1145/3301275.3302267
PDF
https://dl.acm.org/doi/pdf/10.1145/3301275.3302267
Anthology ID
2019.iui.6

Cite

@inproceedings{schlegel-etal-2019-vajra,
    title = {{Vajra}},
    author = {Viktor Schlegel and Benedikt Lang and Siegfried Handschuh and André Freitas},
    booktitle = {Proceedings of the 24th International Conference on Intelligent User Interfaces},
    isbn = {9781450362726},
    year = {2019},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3301275.3302267},
    url = {https://doi.org/10.1145/3301275.3302267},
    abstract = {Building natural language programming systems that are geared towards end-users requires the abstraction of formalisms inherently introduced by programming languages, capturing the intent of natural language inputs and mapping it to existing programming language constructs. We present a novel end-user programming paradigm for Python, which maps natural language commands into Python code. The proposed semantic parsing model aims to reduce the barriers for producing well-formed code (syntactic gap) and for exploring third-party APIs (lexico-semantic gap). The proposed method was implemented in a supporting system and evaluated in a usability study involving programmers as well as non-programmers. The results show that both groups are able to produce code with or without prior programming experience.}
}