Invention Grant
- Patent Title: Language conversion method and apparatus based on syntactic linearity, and non-transitory computer-readable storage medium
-
Application No.: US16926197Application Date: 2020-07-10
-
Publication No.: US11409968B2Publication Date: 2022-08-09
- Inventor: Ruiqing Zhang , Chuanqiang Zhang , Hao Xiong , Zhongjun He , Hua Wu , Haifeng Wang
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Fay Sharpe LLP
- Priority: CN201911324032.6 20191220
- Main IPC: G06F40/55
- IPC: G06F40/55 ; G06F40/211 ; G06F40/58

Abstract:
Embodiments of the present disclosure provide a language conversion method and apparatus based on syntactic linearity and a non-transitory computer-readable storage medium. The method includes: encoding a source sentence to be converted by using a preset encoder to determine a first vector and a second vector corresponding to the source sentence; determining a current mask vector according to a preset rule, in which the mask vector is configured to modify vectors output by the preset encoder; determining a third vector according to target language characters corresponding to source characters located before a first source character; and decoding the first vector, the second vector, the mask vector, and the third vector by using a preset decoder to generate a target character corresponding to the first source character.
Public/Granted literature
Information query