Dialog generation method, apparatus, and device, and storage medium
US10740564B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jun 5, 2018 |
| Grant date | Aug 11, 2020 |
| Priority date | — |
| Expiry date | Nov 25, 2038 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06N3/09
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A dialog generation method, apparatus, and device, and a storage medium are provided. The method includes converting each term in a Kth round of a query sentence into a first word vector, and calculating a positive latent vector and a negative latent vector of each term according to the first word vector, where K denotes a positive integer greater than or equal to 2. A content topic of the Kth round of the query sentence is obtained, and converted into a second word vector. An initial latent vector output for the Kth round of the query sentence is determined according to the second word vector, the positive latent vector of a last term in the Kth round of the query sentence, a latent vector of a last term in a (K-1)th round of a reply sentence output for a (K-1)th round of the query sentence, and an initial latent vector of the (K-1)th round of the reply sentence output for the (K-1)th round of the query sentence. A reply sentence for the Kth round of the query sentence is generated according to the positive latent vector and the negative latent vector of each term in the Kth round of the query sentence and the initial latent vector output for the Kth round of the query sentence.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.