计算机科学 > 软件工程
[提交于 2020年12月3日]
标题:Designing Voice-Controllable APIs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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).
提交历史
来自:Matúš Sulír[v1] 2020年12月3日 星期四 00:00:00 UTC