Method and apparatus for processing information
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsShuangjie Li, Miao Yu, Yabing Shi, Xuefeng Hao, Xunchao Song, Ye Jiang, Yang Zhang, Yong Zhu
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsShuangjie Li, Miao Yu, Yabing Shi, Xuefeng Hao, Xunchao Song, Ye Jiang, Yang Zhang, Yong Zhu
Estimating the term…
A method and an apparatus for processing information are provided. The method can include: acquiring a word sequence obtained by performing word segmentation on two paragraphs in a text; inputting the word sequence into a to-be-trained natural language processing model to generate a word vector corresponding to a word in the word sequence; inputting the word vector into a preset processing layer of the to-be-trained natural language processing model; predicting whether the two paragraphs are adjacent, and a replaced word in the two paragraphs; and acquiring reference information of the two paragraphs, and training the to-be-trained natural language processing model to obtain a trained natural language processing model, based on the prediction result and the reference information.
A method for processing information, the method comprising:
An electronic device, comprising:
A non-transitory computer readable medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to perform operations comprising:
Dependencies are inferred from the claim text.