Role labeling method, electronic device and storage medium
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsZhenglin Pan, Jie Bai, Yi Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Baidu Netcom Science Technology Co., Ltd.
InventorsZhenglin Pan, Jie Bai, Yi Wang
Estimating the term…
The disclosure provides a role labeling method. The method includes: obtaining a dialogue sentence to be labeled and context information corresponding to the dialogue sentence, and splicing the context information and the dialogue sentence to obtain a spliced text; extracting location information of a role name of the dialogue sentence in the spliced text from the spliced text; determining a first candidate role name of the dialogue sentence based on the location information; determining a second candidate role name of the dialogue sentence from role names in the spliced text; and determining a target role name of the dialogue sentence based on the first candidate role name and the second candidate role name, and performing role labeling on the dialogue sentence based on the target role name.
A role labeling method, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are configured to make a computer execute a role labeling method, the method comprising:
Dependencies are inferred from the claim text.