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

Claim 4:
5. The method according to claim 2, wherein the sub-data in the source data is represented by a tth piece of the sub-data, t being greater than or equal to 1 and less than or equal to N, and N being a total number of pieces of the sub-data in the source data, and
the encoding the sub-data in the source data based on the target word feature vector and the preset gated nonlinear transformation model comprises:
based on t being not 1, obtaining a (t−1)th forward hidden feature vector in the source data; encoding the tth piece of the sub-data based on the (t−1)th forward hidden feature vector, the target word feature vector, and the preset gated nonlinear transformation model, to obtain a tth forward hidden feature vector corresponding to the tth piece of the sub-data; and encoding a (t+1)th piece of the sub-data until an Nth forward hidden feature vector of an Nth piece of the sub-data is obtained; or
based on t being 1, encoding a first piece of the sub-data based on the target word feature vector and the preset gated nonlinear transformation model, to obtain a first forward hidden feature vector corresponding to the first piece of the sub-data,
the first forward hidden feature vector to the Nth forward hidden feature vector being the sub-feature vectors corresponding to the sub-data.