KIT-Bibliothek

How to Prepare an API for Programming in Natural Language

Autor

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

Beteiligtes Institut

Institut für Programmstrukturen und Datenorganisation (IPD)

Genre

Lehrmaterialien

Beschreibung

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.

Laufzeit (hh:mm:ss)

00:03:56

Publiziert am

22.07.2019

Fachgebiet

Informatik

Lizenz

Creative Commons Namensnennung 4.0 International

Auflösung 1280 x 720 Pixel
Seitenverhältnis 16:9
Audiobitrate 128000 bps
Audio Kanäle 2
Audio Codec aac
Audio Abtastrate 48000 Hz
Gesamtbitrate 934394 bps
Farbraum yuv420p
Container mov,mp4,m4a,3gp,3g2,mj2
Medientyp video/mp4
Dauer 236 s
Dateiname DIVA-2019-692_hd.mp4
Dateigröße 27.560.913 byte
Bildwiederholfrequenz 25
Videobitrate 800415 bps
Video Codec h264

Mediathek-URL

Embed-Code