Patent ID: 11934788
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 18:
19. A non-transitory machine-readable media, having instructions stored on the machine-readable media, the instructions configured to, when executed, cause a machine to:
receive a target paragraph and a context sentence of the target paragraph from a specific user scenario, the context sentence comprising a sentence in one or more paragraphs before the target paragraph in the specific user scenario, a sentence in one or more paragraphs after the paragraph in the specific user scenario, or a sentence in the target paragraph;
input the target paragraph and the context sentence into a memory encoding model, the target paragraph comprising at least one sentence, the memory encoding model comprising at least an input layer, a memory layer, and an output layer;
generate an original vector set and a memory vector set of the target paragraph in the input layer, the original vector set comprising a respective sentence vector of each sentence in the target paragraph, the memory vector set comprising a respective word vector of each word in the context sentence of the target paragraph;
determine a first target sentence matrix of the original vector set in the memory layer according to the original vector set and the memory vector set, the first target sentence matrix describing the target paragraph according to a relationship between the original vector set and the memory vector set;
obtaining a paragraph vector of the target paragraph in the output layer according to the first target sentence matrix; and
processing the paragraph vector to generate an output result associated with the target paragraph for the specific user scenario.