Creating and editing grammars for speech recognition graphically
First Claim
1. A computer-implemented method of providing a user interface for allowing a user to edit grammars for speech recognition, the method comprising:
- operating in a first editing mode for allowing the user to enter first inputs to specify a first grammar, such that in response to the first inputs, a first set of graphical objects and a corresponding first grammar specification language (GSL) sequence representing the first grammar are generated; and
operating in a second editing mode for allowing the user to enter second inputs to specify a second GSL sequence, the second GSL sequence including a second grammar, such that in response to the second inputs, a second set of graphical objects representing the second GSL sequence is generated.
5 Assignments
0 Petitions
Accused Products
Abstract
A graphical tool is provided for allowing a developer of a speech-enabled application to create and edit grammars for speech recognition. The tool provides a user interface that has two editing modes, which the user can quickly and easily switch between. In the first editing mode, the user can specifying a grammar by writing or editing a Grammar Specification Language (GSL) listing. In response to such user inputs, the tool automatically generates or modifies a set of displayable graphical objects representing the grammar. In the second editing mode, the displayable objects are displayed, such that each object represents one or more speech expressions, and the logical relationships between the expressions are graphically represented. The user may edit the set of displayed objects in the second editing mode, including adding or deleting objects, modifying an expression represented by an object, or altering the logical relationships between the expressions. User inputs directed to the objects in the second editing mode are automatically reflected in the GSL listing when the user switches back to the first editing mode.
-
Citations
41 Claims
-
1. A computer-implemented method of providing a user interface for allowing a user to edit grammars for speech recognition, the method comprising:
-
operating in a first editing mode for allowing the user to enter first inputs to specify a first grammar, such that in response to the first inputs, a first set of graphical objects and a corresponding first grammar specification language (GSL) sequence representing the first grammar are generated; and
operating in a second editing mode for allowing the user to enter second inputs to specify a second GSL sequence, the second GSL sequence including a second grammar, such that in response to the second inputs, a second set of graphical objects representing the second GSL sequence is generated. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method of providing a user interface for allowing a user to create and edit grammars for speech recognition, the method comprising:
-
receiving first user inputs specifying a first grammar for speech recognition;
in response to the first user inputs, generating a first set of graphical objects representing the first grammar and generating a corresponding first grammar specification language (GSL) sequence representing the first grammar;
receiving second user inputs specifying a second GSL sequence representing a second grammar for speech recognition; and
in response to the second user inputs, generating data representing a second set of graphical objects, the second of graphical objects representing the second grammar. - View Dependent Claims (7)
-
-
8. A computer-implemented method of providing a user interface for allowing a user to create and edit grammars for speech recognition, the method comprising:
-
receiving first user inputs specifying a modification to a displayed set of graphical objects, the displayed set of graphical objects representing a grammar; and
in response to the first user inputs, concurrently modifying the displayed set of graphical objects and a grammar specification language (GSL) sequence textually representing the grammar. - View Dependent Claims (9, 10)
receiving second user inputs specifying a modification to the GSL sequence; and
in response to the second user inputs, modifying the GSL sequence and the set of graphical objects.
-
-
10. A method as recited in claim 8, wherein the grammar may comprise a plurality of expressions and logical relationships between the expressions.
-
11. A computer-implemented method of providing a user interface for allowing a user to edit grammars for speech recognition, the method comprising:
-
receiving first user inputs specifying a modification to a displayed grammar specification language (GSL) sequence, the displayed GSL sequence including a grammar; and
in response to the first user inputs, modifying the displayed GSL sequence and data representing a set of displayable graphical objects, the displayable graphical objects representing the grammar. - View Dependent Claims (12, 13)
receiving second user inputs specifying a modification to the GSL sequence; and
in response to the second user inputs, modifying the GSL sequence and the set of graphical objects.
-
-
13. A method as recited in claim 11, wherein the grammar may comprise a plurality of expressions and logical relationships between the expressions.
-
14. A computer-implemented method of providing a user interface for allowing a user to create and edit grammars for speech recognition, the method comprising:
-
receiving first user inputs specifying a first grammar;
in response to the first user inputs, generating a first set of graphical objects representing the first grammar and generating a corresponding first grammar specification language (GSL) sequence representing the first grammar;
displaying the first set of graphical objects;
receiving second user inputs directed to the displayed first set of graphical objects, the second user inputs specifying a modification to the first grammar;
in response to the second user inputs, concurrently modifying the first set of graphical objects and the first GSL sequence according to the second user inputs;
receiving third user inputs directed to the first GSL sequence, the third user inputs specifying a modification to the first GSL sequence;
in response to the third user inputs, concurrently modifying the first GSL sequence and the first set of graphical objects according to the third user inputs. - View Dependent Claims (15)
-
-
16. A method of operating an editor for allowing a user to create and edit grammars for speech recognition, the method comprising:
-
receiving first user inputs specifying a first grammar specification language (GSL) sequence, the first GSL sequence representing a first set of expressions and logical relationships associated with the first set of expressions;
in response to the first user inputs displaying the first GSL sequence, and defining a first set of graphical objects representing the first set of expressions and the logical relationships associated with the first set of expressions; and
displaying the first set of graphical objects according to the logical relationships associated with the first set of expressions. - View Dependent Claims (17, 18, 19)
receiving second user inputs specifying a modification to the first set of graphical objects; and
in response to the second user inputs, modifying the first GSL sequence.
-
-
18. A method as recited in claim 16, further comprising:
-
receiving second user inputs specifying a modification to the first GSL sequence; and
in response to the second user inputs, modifying the first set of graphical objects.
-
-
19. A method as recited in claim 16, further comprising:
-
receiving second user inputs specifying a modification to the first set of graphical objects;
in response to the second user inputs, modifying the first GSL sequence;
receiving third user inputs specifying a modification to the first GSL sequence; and
in response to the third user inputs, modifying the first set of graphical objects.
-
-
20. A computer-implemented method of operating an editor for allowing a user to create and edit grammars for speech recognition, the method comprising:
-
receiving first user inputs, the first user inputs specifying a first set of expressions for speech recognition and logical relationships associated with the first set of expressions;
in response to the first user inputs displaying a first set of graphical objects according to the logical relationships associated with the first set of expressions, and generating a first grammar specification language (GSL) sequence, the first GSL sequence including the first set of expressions and the logical relationships associated with the first set of expressions;
receiving second user inputs specifying second GSL sequence, the second GSL sequence including a second set of expressions for speech recognition and logical relationships associated with the second set of expressions;
in response to the second user inputs displaying the second GSL sequence, and defining a second set of graphical objects representing the second set of expressions and the logical relationships associated with the second set of expressions;
displaying the first GSL sequence; and
displaying the second set of graphical objects according to the logical relationships associated with the second set of expressions. - View Dependent Claims (21, 22, 23)
receiving third user inputs specifying a modification to the first set of graphical objects; and
in response to the third user inputs, modifying the first GSL sequence.
-
-
22. A method as recited in claim 20, further comprising:
-
receiving third user inputs specifying a modification to the first GSL sequence; and
in response to the third user inputs, modifying the first set of graphical objects.
-
-
23. A method as recited in claim 20, further comprising:
-
receiving third user inputs specifying a modification to the first set of graphical objects;
in response to the third user inputs, modifying the first GSL sequence;
receiving fourth user inputs specifying a modification to the first GSL sequence; and
in response to the fourth user inputs, modifying the first set of graphical objects.
-
-
24. A method of enabling a remote computer system to provide a user interface to allow a user to create and edit grammars for speech recognition, the method comprising transmitting to a remote computer system sequences of instructions for execution on the remote computer system, the sequences of instructions for configuring the remote computer system to perform the steps of:
-
receiving first user inputs specifying a first grammar;
generating, in response to the first user inputs, a first set of graphical objects representing the first grammar and generating a corresponding first grammar specification language (GSL) sequence representing the first grammar;
receiving second user inputs specifying a script representing a second grammar; and
generating, in response to the second user inputs, data representing a second set of graphical objects, the second of graphical objects representing the second grammar. - View Dependent Claims (25)
-
-
26. A device for providing a user interface to allow a user to create and edit grammars for speech recognition, the device comprising:
-
a GSL editor configured to receive user inputs specifying a listing of a first grammar specification language (GSL) sequence representing a grammar;
a first GSL parser configured to parse the first GSL sequence according to a first GSL syntax to generate a first representation of the grammar, the first GSL parser further configured to modify the first representation in response to inputs specifying a modification to the listing;
a first GSL generator configured to receive the representation and configured to generate the listing of the first GSL sequence based on the first representation, the first GSL generator further configured to automatically update the listing of the first GSL sequence in response to a modification to the first representation;
a graphical object generator configured to receive the first representation and configured to generate a set of graphical objects based on the first representation, the graphical objects for graphically representing the first GSL sequence when displayed, the graphical object generator further configured to automatically update the set of graphical objects in response to a modification to the first representation; and
a graphical editor configured to receive user inputs directed to the set of graphical objects and specifying a modification to the grammar, the first editor further configured to modify the first representation according to the user inputs. - View Dependent Claims (27, 28)
a second GSL parser configured to parse a second GSL sequence according to a second GSL syntax to generate a second representation of a grammar, the second GSL syntax different from the first GSL syntax, the second GSL parser further configured to modify the second representation in response to inputs specifying a modification to a listing of the second GSL sequence; and
a second GSL generator configured to receive the second representation and to generate the listing of the second GSL sequence based on the second representation, the second GSL generator further configured to automatically update the listing of the second GSL sequence in response to a modification to the second representation.
-
-
28. A method as recited in claim 27, wherein:
-
the second GSL generator is further configured to receive the first representation and to generate the listing of the first GSL sequence based on the first representation according to the second GSL syntax; and
the first GSL generator is further configured to receive the second representation and to generate the listing of the second GSL sequence based on the second representation according to the first GSL syntax.
-
-
29. A computer system comprising:
-
a processor;
a display device coupled to the processor; and
a storage device coupled to the processor and having instructions stored therein which configure the computer system for operating in a first editing mode for allowing the user to enter first inputs to specify a first grammar, such that in response to the first inputs, a first set of graphical objects representing the first grammar and a corresponding first grammar specification language (GSL) sequence representing the first grammar are generated; and
operating in a second editing mode for allowing the user to enter second inputs to specify second GSL sequence, the second GSL sequence including a second grammar, such that in response to the second inputs, a second set of graphical objects representing the second GSL sequence is automatically generated. - View Dependent Claims (30, 31, 32, 33, 34)
-
-
35. A device for providing a user interface to allow a user to create and edit grammars for speech recognition, the device comprising:
-
means for receiving first user inputs specifying a first grammar;
means for generating, in response to the first user inputs, a first set of graphical objects representing the first grammar and generating a corresponding first grammar specification language (GSL) sequence representing the first grammar;
means for receiving second user inputs specifying a script representing a second grammar; and
means for generating, in response to the second user inputs, data representing a second set of graphical objects, the second of graphical objects representing the second grammar.
-
-
36. A machine readable program storage medium having stored therein sequences of instructions which, when executed by a computer system, cause the computer system to:
-
receive first user inputs specifying a first grammar for speech recognition;
generate, in response to the first user inputs, a first set of graphical objects representing the first grammar and generating a corresponding first grammar specification language (GSL) sequence representing the first grammar;
receive second user inputs specifying a script representing a second grammar for speech recognition; and
generate, in response to the second user inputs, data representing a second set of graphical objects, the second of graphical objects representing the second grammar. - View Dependent Claims (37)
-
-
38. A computer system comprising:
-
a processor;
a display device coupled to the processor; and
a storage device coupled to the processor and having instructions stored therein which configure the computer system for receiving first user inputs, the first user inputs specifying a first set of expressions and logical relationships associated with the first set of expressions;
in response to the first user inputs displaying a first set of graphical objects according to the logical relationships associated with the first set of expressions, and generating a first grammar specification language (GSL) sequence, the first GSL sequence including the first set of expressions and the logical relationships associated with the first set of expressions;
receiving second user inputs specifying second GSL sequence, the second GSL sequence including a second set of expressions and logical relationships associated with the second set of expressions;
in response to the second user inputs displaying the second GSL sequence, and defining a second set of graphical objects representing the second set of expressions and the logical relationships associated with the second set of expressions;
displaying the first GSL sequence; and
displaying the second set of graphical objects according to the logical relationships associated with the second set of expressions. - View Dependent Claims (39, 40, 41)
receiving third user inputs specifying a modification to the first set of graphical objects; and
in response to the third user inputs, modifying the first GSL sequence.
-
-
40. A computer system as recited in claim 38, wherein the instructions further comprise instructions which configure the computer system for:
-
receiving third user inputs specifying a modification to the first GSL sequence; and
in response to the third user inputs, modifying the first set of graphical objects.
-
-
41. A computer system as recited in claim 38, wherein the instructions further comprise instructions which configure the computer system for:
-
receiving third user inputs specifying a modification to the first set of graphical objects;
in response to the third user inputs, modifying the first GSL sequence;
receiving fourth user inputs specifying a modification to the first GSL sequence; and
in response to the fourth user inputs, modifying the first set of graphical objects.
-
Specification