Method and apparatus for dynamic grammars and focused semantic parsing
First Claim
Patent Images
1. A method of utilizing and modifying a grammar in a semantic parser, the method comprising:
- identifying a set of surface semantic non-terminals from user input from a first user using a context-free grammar;
using a language-independent semantic description language grammar that is separate from the context-free grammar and that describes relationships between semantic non-terminals to identify a semantic parse based in part on the identified semantic non-terminals; and
changing the semantic description language grammar based on a change in users from the first user to a second user.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a dialogue system in which semantic ambiguity is reduced by selectively choosing which semantic structures are to be made available for parsing based on previous information obtained from the user or other context information. In one embodiment, the semantic grammar used by the parser is altered so that the grammar is focused based on information about the user or the dialogue state. In other embodiments, the semantic parsing is focused on certain parse structures by giving preference to structures that the dialogue system has marked as being expected.
19 Citations
13 Claims
-
1. A method of utilizing and modifying a grammar in a semantic parser, the method comprising:
-
identifying a set of surface semantic non-terminals from user input from a first user using a context-free grammar; using a language-independent semantic description language grammar that is separate from the context-free grammar and that describes relationships between semantic non-terminals to identify a semantic parse based in part on the identified semantic non-terminals; and changing the semantic description language grammar based on a change in users from the first user to a second user. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of parsing text to form a semantic structure, the method comprising:
-
setting a focus structure based on a dialogue on a state determined after a first input wherein the focus structure indicates an expected semantic structure and is separate from grammars used to identify possible semantic structures; identifying possible semantic structures for text associated with a second input using the grammars; and returning only those semantic structures that correlate to the focus structure. - View Dependent Claims (9, 10)
-
-
11. A computer-readable storage medium having computer-executable instructions for performing steps comprising:
-
setting a focus semantic parse that is separate from grammars used to form candidate semantic parses and that is based on a dialog state determined after a first user input; parsing a text associated with a second user input to form candidate semantic parses using the grammars; comparing the candidate semantic parses to the focus parse; and giving preference to a candidate semantic parse that best matches the focus parse. - View Dependent Claims (12, 13)
-
Specification