Pre-processing partial inputs for accelerating automatic dialog response
First Claim
1. An apparatus comprising:
- a memory; and
a processor coupled to the memory and configured to;
receive a speech input from a user;
process a first portion of the input via more than one service module, including at least a speech-to-text service module, while continuing to receive more of the input to determine a first speculative result, wherein processing the first portion of the input comprises executing at least one service module coupled to a corresponding speculation buffer;
process a second portion of the input via the more than one service module, including at least the speech-to-text service module, to determine a second speculative result, wherein processing the second portion of the input comprises executing the at least one service module coupled to the corresponding speculation buffer, wherein the second portion of the input includes the first portion of the input as well as more of the input not included in the first portion of the input;
process the input via the more than one service module, including at least the speech-to-text service module, to determine a final output, wherein processing the input comprises executing the at least one service module coupled to the corresponding speculation buffer, wherein the final output is the first speculative result when the second speculative result and the first speculative result are the same, and wherein the final output is the second speculative result when the second speculative result and the first speculative result are not the same; and
output the final output to the user.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus comprising a memory and a processor coupled to the memory. The processor receives input from a user, processes a first portion of the input via more than one service module while receiving a second portion of the input to determine a first speculative result, wherein processing the first portion of the input comprises executing at least one service module coupled to a corresponding speculation buffer, processes a second portion of the input via the more than one service module to determine a second speculative result, wherein processing the second portion of the input comprises executing the at least one service module coupled to the corresponding speculation buffer, processes the input via the more than one service module to determine a final output, wherein processing the input comprises executing the at least one service module coupled to the corresponding speculation buffer, and outputs the final output to the user.
9 Citations
19 Claims
-
1. An apparatus comprising:
-
a memory; and a processor coupled to the memory and configured to; receive a speech input from a user; process a first portion of the input via more than one service module, including at least a speech-to-text service module, while continuing to receive more of the input to determine a first speculative result, wherein processing the first portion of the input comprises executing at least one service module coupled to a corresponding speculation buffer; process a second portion of the input via the more than one service module, including at least the speech-to-text service module, to determine a second speculative result, wherein processing the second portion of the input comprises executing the at least one service module coupled to the corresponding speculation buffer, wherein the second portion of the input includes the first portion of the input as well as more of the input not included in the first portion of the input; process the input via the more than one service module, including at least the speech-to-text service module, to determine a final output, wherein processing the input comprises executing the at least one service module coupled to the corresponding speculation buffer, wherein the final output is the first speculative result when the second speculative result and the first speculative result are the same, and wherein the final output is the second speculative result when the second speculative result and the first speculative result are not the same; and output the final output to the user. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method comprising:
-
obtaining a speech-to-text (STT) result based on an input; providing the STT result as input to a next stage of a speculative processing system; determining whether the input exists in a speculation buffer of the next stage resulting from previous processing of a portion of the input; obtaining a speculative processing result corresponding to the input from the speculation buffer when the input exists in the speculation buffer from the previous processing of the portion of the input; providing the speculative processing result as a second input to a subsequent stage of the speculative processing system when the input exists in the speculation buffer; processing the input to determine an output when the input does not exist in the speculation buffer; and providing the output as the second input to the subsequent stage of the speculative processing system when the input does not exist in the speculation buffer. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A computer program product for performing domain adaptation of a domain, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
-
receive an input from a user; perform speech-to-text (STT) processing to determine a transcript of the input; perform natural language processing (NLP) to determine an intent expressed by the transcript; determine an output corresponding to the intent and a speculative processing result of a portion of the input, wherein the speculative processing result is a result of speculative processing of the portion of the input determined before an entirety of the input is received, wherein the output corresponds to the speculative processing result when the speculative processing result corresponds to the intent, and wherein the output corresponds to the intent when the speculative processing result does not correspond to the intent; and transmit the output to an output device to cause presentation of the output to the user. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification