Patent ID: 11954439
Assignee: BOE TECHNOLOGY GROUP CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A data labeling device, wherein the device comprises:
a processor; and
a memory, wherein the memory stores a computer instruction, and the computer instruction, when executed by the processor, causes the processor to perform the operations of:
based on a knowledge graph, remotely acquiring data to be labeled;
performing data cleaning and pre-labeling to the data to be labeled, to obtain pre-labeled data; and
performing labeling correction to the pre-labeled data;
wherein the computer instruction, when executed by the processor, causes the processor to further perform the operations of:
determining whether the data to be labeled contain a pronoun;
if yes, according to an inter-sentence meaning of the data to be labeled, replacing the pronoun in the data to be labeled with a corresponding entity word, and according to a plurality of instances of the entity word and entity types of the plurality of entity words, pre-labeling the data to be labeled obtained after the pronoun replacement to obtain the pre-labeled data; and
if no, according to a plurality of entity words and entity types of the plurality of entity words, pre-labeling the data to be labeled, to obtain the pre-labeled data;
wherein the step of determining whether the data to be labeled contain a pronoun comprises:
performing sentence segmentation to the data to be labeled obtained after the data cleaning, performing word segmentation to sentences obtained after the sentence segmentation by using a Natural Language Processing toolkit, to obtain multiple segmented words corresponding to the data to be labeled, and determining whether the obtained segmented words include a pronoun, wherein the Natural Language Processing toolkit is Jieba or Stanford CoreNLP.