Patent · US Active

Dialog generation method, apparatus, and device, and storage medium

US10740564B2 · kind B2 · utility

2Cited by
10References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 5, 2018
Grant dateAug 11, 2020
Priority date
Expiry dateNov 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.