Method for dialogue processing, electronic device, and storage medium
AssigneeMashang Consumer Finance Co., Ltd.
InventorYue FENG
Life of this patent
Estimating the term…
Abstract
A method and apparatus for dialogue processing includes: the dialogue prediction processing is performed on first input information to obtain a first reply text for the first input information; based on a second reply text that has been generated for second input information, a first parameter value for representing coherence between the first reply text and the second reply text is determined, where the second reply text is a reply text obtained by performing dialogue prediction processing on the second input information; and the adjustment processing is performed on the first reply text and the second reply text based on the first parameter value to obtain a third reply text for replying to the second input information and the first input information.
Claims20
A method for dialogue processing, comprising:
- performing dialogue prediction processing on first input information to obtain a first reply text for the first input information;
- determining, based on a second reply text that has been generated for second input information, a first parameter value for representing coherence between the first reply text and the second reply text, wherein the second reply text is a reply text obtained by performing dialogue prediction processing on the second input information;
- and
- performing adjustment processing on the first reply text and the second reply text based on the first parameter value to obtain a third reply text for replying to the second input information and the first input information.
An electronic device, comprising:
- a memory, configured to store computer-executable instructions or computer programs;
- and
- a processor, configured to execute the computer-executable instructions or computer programs stored in the memory to implement operations of:
- performing dialogue prediction processing on first input information to obtain a first reply text for the first input information;
- determining, based on a second reply text that has been generated for second input information, a first parameter value for representing coherence between the first reply text and the second reply text, wherein the second reply text is a reply text obtained by performing dialogue prediction processing on the second input information;
- and
- performing adjustment processing on the first reply text and the second reply text based on the first parameter value to obtain a third reply text for replying to the second input information and the first input information.
A non-transitory computer-readable storage medium having stored thereon computer-executable instructions or computer programs that, when executed by a processor, cause the processor to implement operations of:
- performing dialogue prediction processing on first input information to obtain a first reply text for the first input information;
- determining, based on a second reply text that has been generated for second input information, a first parameter value for representing coherence between the first reply text and the second reply text, wherein the second reply text is a reply text obtained by performing dialogue prediction processing on the second input information;
- and
- performing adjustment processing on the first reply text and the second reply text based on the first parameter value to obtain a third reply text for replying to the second input information and the first input information.
Dependencies are inferred from the claim text.