CPC G06F 40/58 (2020.01) [G06N 3/04 (2013.01)] | 20 Claims |
1. A target information determining method, comprising:
encoding to-be-processed text information, to obtain a source vector representation sequence;
obtaining a source context vector corresponding to a first instance according to the source vector representation sequence, wherein the source context vector corresponding to the first instance indicates to-be-processed source content in the to-be-processed text information at the first instance;
obtaining a past translation vector corresponding to a second instance that represents a translated source content in the source vector representation sequence at the second instance, a future translation vector corresponding to the second instance that represents an untranslated source content in the source vector representation sequence at the second instance, and the second instance is an adjacent instance before the first instance;
determining a past translation vector corresponding to the first instance and a future translation vector corresponding to the first instance according to the source context vector corresponding to the first instance, the past translation vector corresponding to the second instance, and the future translation vector corresponding to the second instance; and
inputting the past translation vector corresponding to the second instance, the future translation vector corresponding to the first instance and the source context vector corresponding to the first instance to a decoder, to obtain target information of the first instance, wherein the decoder includes two hidden layers respectively directed to the past translation vector corresponding to the second instance and the future translation vector corresponding to the first instance.
|