Patent ID: 9400633
Filing Date: 2016-07-26
CPC Classification: G06F,G10L,H04M

Claim Text:
1. A method of enabling voice interaction for invoking at least one capability of a web application including at least one web page rendered by a web browser, the method comprising: detecting, by an agent associated with the web browser, a first document object model event; analyzing, in response to detecting the first document object model event, a document object model of the at least one web page to identify one or more items in the document object model at a first point in time; determining based, at least in part, on the identified one or more items, that the at least one web page comprises the at least one capability at the first point in time; enabling voice input to invoke the at least one capability of the web application in response to the identifying that the at least one web page comprises the at least one capability at the first point in time, wherein enabling voice input comprises updating at least one grammar associated with a speech engine based, at least in part, on the one or more items identified in the document object model at the first point in time; detecting, by the agent, a second document object model event indicating that a context of the web application has changed since the first point in time; analyzing, in response to detecting the second document object model event, the document object model of the at least one web page to identify at least one new item in the document object model at a second point in time; and updating the at least one grammar based, at least in part, on the at least one new item identified in the document object model at the second point in time.