Splitting utterances for quick responses
First Claim
1. A method for building a classifier, comprising:
- preparing, by a processor, a plurality of pairs for an information retrieval task, each of the plurality of pairs including (i) a training-stage speech recognition result for a respective sequence of training words and (ii) an answer label corresponding to the training-stage speech recognition result;
obtaining, by the processor using a search engine, a respective rank for the answer label included in each of the plurality of pairs to obtain a set of ranks;
determining, by the processor, for each of the plurality of pairs, an end of question part in the training-stage speech recognition result based on the set of ranks;
building, by the processor, the classifier such that the classifier receives a recognition-stage speech recognition result and returns a corresponding end of question part for the recognition-stage speech recognition result, based on the end of question part determined for the plurality of pairs;
splitting, by the processor, the recognition-stage speech recognition result at the corresponding end of question part for the recognition-stage speech recognition result;
generating, by the processor, a set of answer candidates for replying to the corresponding end of question part for the recognition-stage speech recognition result; and
providing, by a display device, the set of answer candidates to a user.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, a system, and a classifier are provided. A method includes preparing, by a processor, pairs for an information retrieval task. Each pair includes (i) a training-stage speech recognition result for a respective sequence of training words and (ii) an answer label corresponding to the training-stage speech recognition result. The method further includes obtaining, by the processor, a respective rank for the answer label included in each pair to obtain a set of ranks. The method also includes determining, by the processor, for each pair, an end of question part in the training-stage speech recognition result based on the set of ranks. The method additionally includes building, by the processor, the classifier such that the classifier receives a recognition-stage speech recognition result and returns a corresponding end of question part for the recognition-stage speech recognition result, based on the end of question part determined for the pairs.
7 Citations
17 Claims
-
1. A method for building a classifier, comprising:
-
preparing, by a processor, a plurality of pairs for an information retrieval task, each of the plurality of pairs including (i) a training-stage speech recognition result for a respective sequence of training words and (ii) an answer label corresponding to the training-stage speech recognition result; obtaining, by the processor using a search engine, a respective rank for the answer label included in each of the plurality of pairs to obtain a set of ranks; determining, by the processor, for each of the plurality of pairs, an end of question part in the training-stage speech recognition result based on the set of ranks; building, by the processor, the classifier such that the classifier receives a recognition-stage speech recognition result and returns a corresponding end of question part for the recognition-stage speech recognition result, based on the end of question part determined for the plurality of pairs; splitting, by the processor, the recognition-stage speech recognition result at the corresponding end of question part for the recognition-stage speech recognition result; generating, by the processor, a set of answer candidates for replying to the corresponding end of question part for the recognition-stage speech recognition result; and providing, by a display device, the set of answer candidates to a user. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for building a classifier, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
-
preparing, by a processor, a plurality of pairs for an information retrieval task, each of the plurality of pairs including (i) a training-stage speech recognition result for a respective sequence of training words and (ii) an answer label corresponding to the training-stage speech recognition result; obtaining, by the processor using a search engine, a respective rank for the answer label included in each of the plurality of pairs to obtain a set of ranks; determining, by the processor, for each of the plurality of pairs, an end of question part in the training-stage speech recognition result based on the set of ranks; building, by the processor, the classifier such that the classifier receives a recognition-stage speech recognition result and returns a corresponding end of question part for the recognition-stage speech recognition result, based on the end of question part determined for the plurality of pairs; splitting, by the processor, the recognition-stage speech recognition result at the corresponding end of question part of the recognition-stage speech recognition result; generating, by the processor, a set of answer candidates for replying to the corresponding end of question part for the recognition-stage speech recognition result; and providing, by a display device, the set of answer candidates to a user. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a processor, configured to; prepare a plurality of pairs for an information retrieval task, each of the plurality of pairs including (i) a training-stage speech recognition result for a respective sequence of training words and (ii) an answer label corresponding to the training-stage speech recognition result; obtain, using a search engine, a respective rank for the answer label included in each of the plurality of pairs to obtain a set of ranks; determine for each of the plurality of pairs, an end of question part in the training-stage speech recognition result based on the set of ranks; build a classifier that receives a recognition-stage speech recognition result and returns a corresponding end of question part for the recognition-stage speech recognition result, based on the end of question part determined for the plurality of pairs; split the recognition-stage speech recognition result at the corresponding end of question part of the recognition-stage speech recognition result; and generate a set of answer candidates for replying to the corresponding end of question part for the recognition-stage speech recognition result; and a display device for providing the set of answer candidates to a user.
-
-
16. A classifier for detecting an end of question part in speech recognition results, the classifier comprising;
-
a storage unit for storing a plurality of clusters, each of the plurality of clusters comprising at least one partial set of words, each of the partial set of words being a set of words from a beginning of a training-stage speech recognition result to the end of question part of the training-stage speech recognition result; a processor unit for calculating, in response to receiving a recognition-stage speech recognition result incrementally in a word by word manner as an input, a similarity between the input and the plurality of clusters; and outputting the end of question part for the recognition-stage speech recognition result based on the similarity between the input and any of the plurality of clusters being less than a predetermined threshold; splitting the recognition-stage speech recognition result at the corresponding end of question part of the recognition-stage speech recognition result; generating a set of answer candidates for replying to the corresponding end of question part for the recognition-stage speech recognition result; and a display device for providing the set of answer candidates to a user.
-
-
17. A method for detecting an end of question part in speech recognition results, the method comprising;
-
storing, in a storage unit, a plurality of clusters, each of the plurality of clusters comprising at least one partial set of words, each of the partial set of words being a set of words from a beginning of a training-stage speech recognition result to the end of question part of the training-stage speech recognition result; calculating, by a processor, in response to receiving a recognition-stage speech recognition result incrementally in a word by word manner as an input, a similarity between the input and the plurality of clusters; and outputting, by the processor, the end of question part for the recognition-stage speech recognition result based on the similarity between the input and any of the plurality of clusters being less than a predetermined threshold; splitting, by the processor, the recognition-stage speech recognition result at the corresponding end of question part for the recognition-stage speech recognition result; generating, by the processor, a set of answer candidates for replying to the corresponding end of question part for the recognition-stage speech recognition result; and providing, by a display device, the set of answer candidates to a user.
-
Specification