Computing device and method for generating machine translation model and machine-translation device

    公开(公告)号:US11520997B2

    公开(公告)日:2022-12-06

    申请号:US16699477

    申请日:2019-11-29

    摘要: A device and a method for generating a machine translation model and a machine translation device are disclosed. The device inputs a source training sentence of a source language and a dictionary data to a generator network so that the generator network outputs a target training sentence of a target language according to the source training sentence and the dictionary data. Then, the device inputs the target training sentence and a correct translation of the source training sentence to a discriminator network so as to calculate an error between the target training sentence and the correct translation according to the output of the discriminator network, and trains the generator network and the discriminator network respectively. The trained generator network is the machine translation model.