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

Claim 18:
19. The apparatus according to claim 18, wherein the encoding code further comprises second encoding sub-code configured to cause at least one of the at least one processor to:
based on t not being N, obtain a (t+1)th reverse hidden feature vector in the source data; encode the tth piece of the sub-data based on the (t+1)th reverse hidden feature vector, the target word feature vector, and the preset gated nonlinear transformation model, to obtain a tth reverse hidden feature vector corresponding to the tth piece of the sub-data; and encode the (t−1)th piece of the sub-data until a first reverse hidden feature vector of the first piece of the sub-data is obtained; or
t being N, encode the tth piece of the sub-data based on the target word feature vector and the preset gated nonlinear transformation model, to obtain the tth reverse hidden feature vector corresponding to the tth piece of the sub-data,
the encoding code further comprises:
splicing sub-code configured to cause at least one of the at least one processor to respectively splice the first forward hidden feature vector to the Nth forward hidden feature vector and the first reverse hidden feature vector to an Nth reverse hidden feature vector in a one-to-one correspondence, to obtain a first sub-feature vector to an Nth sub-feature vector; and determine the first sub-feature vector to the Nth sub-feature vector as the sub-feature vectors corresponding to the sub-data.