Patent ID: 11907671
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A role labeling method, comprising:
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.