07-11-2013 дата публикации
Номер: US20130297318A1
A method of enabling speech commands in an application includes identifying, by a computer processor, a user interaction element within a resource of the application; extracting, by the computer processor, text associated with the identified user interaction element; generating, by the computer processor, a voice command corresponding to the extracted text; and adding the generated voice command to a grammar associated with the application. 1. A method of enabling speech commands in an application , comprising:identifying, by a computer processor, a user interaction element within a resource of the application;extracting, by the computer processor, text associated with the identified user interaction element;generating, by the computer processor, a voice command corresponding to the extracted text; andadding the generated voice command to a grammar associated with the application.2. The method of claim 1 , further comprising:detecting a speech input from a user;comparing the detected speech input to the grammar associated with the application; andperforming an action if the detected speech input matches the grammar;wherein the action corresponds to a generated voice command of the grammar matching the detected speech input.3. The method of claim 1 , wherein the resource of the application comprises one or more of layout files claim 1 , xml files claim 1 , and objects for the application.4. The method of claim 1 , wherein the user interaction element comprises at least one of a menu item claim 1 , button claim 1 , key claim 1 , and operator.5. The method of claim 1 , wherein the computer processor is for executing the application.6. The method of claim 1 , wherein the application is stored on a client device for execution thereon by a computer processor of the client device.7. The method of claim 1 , further comprising:transmitting the resource of the application a remote electronic device;wherein the identifying comprises: identifying, by a computer processor of the ...
Подробнее