Method for generating cross-lingual textual semantic model, and electronic device
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYaqian Han, Shuohuan Wang, Yu Sun
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsYaqian Han, Shuohuan Wang, Yu Sun
Estimating the term…
A method for generating a cross-lingual textual semantic model includes: acquiring a set of training data that includes pieces of monolingual non-parallel text and pieces of bilingual parallel text; determining a semantic vector of each piece of text in the set of training data by inputting each piece of text into an initial textual semantic model; determining a distance between semantic vectors of each two pieces of text in the set of training data based on the semantic vector of each piece of text in the set of training data; determining a gradient modification based on a parallel relationship between each two pieces of text in the set of training data and the distance between the semantic vectors of each two pieces of text in the set of training data; and acquiring a modified textual semantic model by modifying the initial textual semantic model based on the gradient modification.
A method for generating a cross-lingual textual semantic model, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium stored with computer instructions, wherein, the computer instructions are configured to cause a computer to perform a method for generating a cross-lingual textual semantic model, the method comprising:
Dependencies are inferred from the claim text.