  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).
