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

Claim 3:
4. The method according to claim 1, wherein the generating the keyword by decoding the hidden state of each decoding step comprises:
determining a correlation of the semantic representation vector to the hidden state of each decoding step, and determining an attention distribution for each decoding step based on the correlation;
determining 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;
determining 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;
determining a word probability for each decoding step based on the initial word probability and the attention distribution; and
determining a decoding result for each decoding step based on the word probability.