CPC G10L 15/22 (2013.01) [G06F 40/211 (2020.01); G06F 40/284 (2020.01); G10L 15/183 (2013.01); G10L 15/26 (2013.01); G10L 2015/223 (2013.01)] | 17 Claims |
1. A computer-implemented method for identifying a user interface element referenced by a natural language command, the computer-implemented method comprising:
receiving, from a remote device over a network, a natural language command and user interface metadata describing a set of user interface elements visible within a user interface of the device;
selecting a grammar corresponding to the device, the grammar being a context-free grammar having a slot and containing two numerical non-terminals indicating a row and a column of a selected one of the visible user interface elements;
parsing the natural language command according to the selected grammar, the slot being filled by text;
matching the text with a user interface element in the user interface metadata; and
providing a descriptor of the matched user interface element to the device.
|