KIT | KIT-Bibliothek | Impressum | Datenschutz

NLCI : a natural language command interpreter

Landhäußer, Mathias 1; Weigelt, Sebastian 1; Tichy, Walter F. ORCID iD icon 1
1 Institut für Programmstrukturen und Datenorganisation (IPD), Karlsruher Institut für Technologie (KIT)


Natural language interfaces are becoming more and more common, because they are powerful and easy to use. Examples of such interfaces are voice controlled navigation devices, Apple’s personal assistant Siri, Google Voice Search, and translation services. However, such interfaces are extremely difficult to build, to maintain, and to port to new domains. We present an approach for building and porting such interfaces quickly. NLCI is a natural language command interpreter that accepts action commands in English and translates them into executable code. The core component is an ontology that models an API. Once the API is “ontologized”, NLCI translates input sentences into sequences of API calls that implement the intended actions. Two radically different APIs were ontologized: openHAB for home automation and Alice for building 3D animations. Construction of the ontology can be automated if the API uses descriptive names for its components. In that case, the language interface can be generated completely automatically. Recall and precision of NLCI on a benchmark of 50 input scripts are 67 and 78 %, resp. Though not yet acceptable for practical use, the results indicate that the approach is feasible. ... mehr

DOI: 10.1007/s10515-016-0202-1
Zitationen: 27
Zitationen: 25
Zugehörige Institution(en) am KIT Institut für Programmstrukturen und Datenorganisation (IPD)
Publikationstyp Zeitschriftenaufsatz
Publikationsjahr 2016
Sprache Englisch
Identifikator ISSN: 0928-8910, 1573-7535
KITopen-ID: 1000057822
Erschienen in Automated software engineering
Verlag Springer
Band 24
Heft 4
Seiten 839-861
Schlagwörter Programming in natural language, End-user programming, Knowledge-based software engineering, Program synthesis, Natural language processing for software engineering
Nachgewiesen in Scopus
Web of Science
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page