Designing Voice-Controllable APIs
Mat\'u\v{s} Sul\'ir, Jaroslav Porub\"an

TL;DR
This paper introduces a method for API developers to design voice-controllable APIs by using pattern matching and annotations, enabling more natural language to API call mapping during API development.
Contribution
It proposes a novel approach for API developers to incorporate voice command mapping directly into API design using patterns and annotations.
Findings
Pattern-based mapping improves natural language to API call translation.
Annotations help handle complex or ambiguous mappings.
Method facilitates more natural voice interactions with APIs.
Abstract
The main purpose of a voice command system is to process a sentence in natural language and perform the corresponding action. Although there exist many approaches to map sentences to API (application programming interface) calls, this mapping is usually performed after the API is already implemented, possibly by other programmers. In this paper, we describe how the API developer can use patterns to map sentences to API calls by utilizing the similarities between names and types in the sentences and the API. In the cases when the mapping is not straightforward, we suggest the usage of suitable annotations (attribute-oriented programming).
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Speech and dialogue systems · Software Engineering Research
