Context interpretation in natural language processing using previous dialog acts
First Claim
Patent Images
1. A computer-implemented method comprising:
- under control of a natural language processing system comprising one or more computing devices configured with specific computer-executable instructions,storing context information associated with a first natural language input and a first response to the first natural language input, wherein the context information comprises a semantic representation of the first natural language input and a semantic representation of the first response to the first natural language input, and wherein the first response to the first natural language input comprises a prompt, by the natural language processing system, for information from a user;
receiving (i) a second natural language input, and (ii) a third natural language input, wherein the second natural language input is received in response to the first response and prior to receiving the third natural language input, and wherein the third natural language input is received in response to a second response, by the natural language processing system, to the second natural language input;
determining that the second response does not comprise a second prompt, by the natural language processing system, for the information prompted by the first response;
determining, subsequent to determining that the second response does not comprise the second prompt, that the first response comprises the prompt for information;
determining that the third natural language input is associated with a same domain as the first natural language input;
determining that a semantic representation of the third natural language input comprises a slot value corresponding to the information prompted by the first response;
determining, based at least partly on the third natural language input relating to the information prompted by the first response, to merge the semantic representation of the third natural language input with the semantic representation of the first natural language input;
generating natural language processing results for the third natural language input by merging the semantic representation of the third natural language input with the semantic representation of the first natural language input instead of a semantic representation of the second natural language input; and
generating a third response to the third natural language input based at least partly on the natural language processing results.
1 Assignment
0 Petitions
Accused Products
Abstract
Features are disclosed for processing and interpreting natural language, such as interpretations of user utterances, in multi-turn dialog interactions. Context information regarding interpretations of user utterances and system responses to the user utterances can be maintained. Subsequent user utterances can be interpreted using the context information, rather than being interpreted without context. In some cases, interpretations of subsequent user utterances can be merged with interpretations of prior user utterances using a rule-based framework. Rules may be defined to determine which interpretations may be merged and under what circumstances they may be merged.
27 Citations
19 Claims
-
1. A computer-implemented method comprising:
under control of a natural language processing system comprising one or more computing devices configured with specific computer-executable instructions, storing context information associated with a first natural language input and a first response to the first natural language input, wherein the context information comprises a semantic representation of the first natural language input and a semantic representation of the first response to the first natural language input, and wherein the first response to the first natural language input comprises a prompt, by the natural language processing system, for information from a user; receiving (i) a second natural language input, and (ii) a third natural language input, wherein the second natural language input is received in response to the first response and prior to receiving the third natural language input, and wherein the third natural language input is received in response to a second response, by the natural language processing system, to the second natural language input; determining that the second response does not comprise a second prompt, by the natural language processing system, for the information prompted by the first response; determining, subsequent to determining that the second response does not comprise the second prompt, that the first response comprises the prompt for information; determining that the third natural language input is associated with a same domain as the first natural language input; determining that a semantic representation of the third natural language input comprises a slot value corresponding to the information prompted by the first response; determining, based at least partly on the third natural language input relating to the information prompted by the first response, to merge the semantic representation of the third natural language input with the semantic representation of the first natural language input; generating natural language processing results for the third natural language input by merging the semantic representation of the third natural language input with the semantic representation of the first natural language input instead of a semantic representation of the second natural language input; and generating a third response to the third natural language input based at least partly on the natural language processing results. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
15. A system comprising:
-
a computer-readable memory storing executable instructions; and one or more processors in communication with the computer-readable memory, wherein the one or more processors are programmed by the executable instructions to at least; store context information associated with a first natural language input and a first response by the system to the first natural language input, wherein the context information comprises a semantic representation of the first natural language input and a semantic representation of the first response, and wherein the first response comprises a prompt for information; receive (i) a second natural language input and (ii) a third natural language input, wherein the second natural language input is received in response to the first response and prior to receiving the third natural language input, and wherein the third natural language input is received in response to a second response by the system to the second natural language input; determine that the second response does not comprise a second prompt by the system for the information prompted by the first response; determine, subsequent to determining that the second response does not comprise the second prompt, that the first response comprises the prompt for information; determine that the third natural language input is associated with a same domain as the first natural language input; determine that a semantic representation of the third natural language input comprises a slot value corresponding to the information prompted by the first response; determine, based at least partly on the third natural language input relating to the information prompted by the first response, to merge the semantic representation of the third natural language input with the semantic representation of the first natural language input; generate natural language processing results for the third natural language input by merging the semantic representation of the third natural language input with the semantic representation of the first natural language input instead of a semantic representation of the second natural language input; and generate a third response to the third natural language input based at least partly on the natural language processing results. - View Dependent Claims (16, 17, 18, 19)
-
Specification