KIT-Bibliothek

How to Prepare an API for Programming in Natural Language

Author

Mathias Landhäußer, Sebastian Weigelt, Martin Blersch

Participating institute

Institut für Programmstrukturen und Datenorganisation (IPD)

Genre

Lehrmaterialien

Description

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 that is to be used. Then a natural language understanding pipeline analyzes the English input and generates source code. The analyses are independent of a particular API; switching
to a different API only requires provision of a new ontology.
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, how we evaluated its results, and how well it performs. As an example we use an API that steers a Lego EV3 robot.

Duration (hh:mm:ss)

00:03:56

Published on

22.07.2019

Subject area

Computer science

License

Creative Commons Attribution 4.0 International

Resolution 1280 x 720 Pixel
Aspect ratio 16:9
Audio bitrate 128000 bps
Audio channels 2
Audio Codec aac
Audio Sample Rate 48000 Hz
Total Bitrate 934394 bps
Color Space yuv420p
Container mov,mp4,m4a,3gp,3g2,mj2
Media Type video/mp4
Duration 236 s
Filename DIVA-2019-692_hd.mp4
File Size 27.560.913 byte
Frame Rate 25
Video Bitrate 800415 bps
Video Codec h264

Media URL

Embed Code