Patent ID: 11899699
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. The electronic device according to claim 9, wherein the at least one processor is further enabled to:
determine a correlation of the semantic representation vector to the hidden state of each decoding step, and determine an attention distribution for each decoding step based on the correlation;
determine a semantic vector of the hidden state of each decoding step based on the attention distribution of each decoding step and the semantic representation sequence;
determine an initial word probability for each decoding step based on the hidden state of each decoding step and the semantic vector of the hidden state of each decoding step;
determine a word probability for each decoding step based on the initial word probability and the attention distribution; and
determine a decoding result for each decoding step based on the word probability.