Conference paper
Cite …

How to Prepare an API for Programming in Natural Language

DOI: 10.5445/IR/1000098646
Publisher's version published on Oct 4, 2019
CC BY 4.0
Abstract

Natural language interfaces are becoming more and more

common but are extremely difficult to build, to maintain, and to port to

new domains. NLCI, the Natural Language Command Interpreter, is an

architecture for building and porting such interfaces quickly.

NLCI accepts commands as plain English texts and translates the input sentences into sequences of API calls that implement the intended

actions. At its core is an ontology that models the API.

In this demonstration we show how a developer can provide a natural

language interface for his or her API by preparing an API ontology. We

also show how NLCI analyzes the input text. As an example we use an

API that steers a Lego EV3 robot. A short video illustrating the process

is available at http://dx.doi.org/10.5445/DIVA/2019-692.