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

Claim 0:
1. An intent recognition optimization processing method, implemented by a terminal device, the method comprising:
acquiring a first intent set and at least one original corpus, the first intent set comprising at least one intent;
recognizing, with an intent recognition model, a first intent corresponding to each original corpus from the first intent set, to acquire a first recognition result of the original corpus, wherein the first recognition result of any one of the original corpus comprises the first intent corresponding to the original corpus recognized by the intent recognition model;
acquiring a second recognition result of each original corpus, wherein the second recognition result of any one of the original corpus includes a second intent corresponding to the original corpus recognized through manual tagging;
performing optimization processing on the first intent set, according to the first recognition result and the second recognition result of each original corpus, to obtain a second intent set comprising at least one intent; and
recognizing, with the intent recognition model, an intent of a corpus entered by a user, wherein the recognized intent of the entered corpus is selected from the optimized second intent set; and providing a search result matching the recognized intent, through engine search based on automatic question and answering service;
wherein the first recognition result of each original corpus further comprises an intent confidence of each intent in the first intent set corresponding to the original corpus; and
the acquiring the second recognition result of each original corpus comprises:
determining, according to an intent confidence of each intent in the first intent set corresponding to the original corpus, a confidence information entropy, a highest intent confidence and a secondary highest intent confidence corresponding to each of the original corpus;
determining, according to the confidence information entropy, the highest intent confidence and the secondary highest intent confidence corresponding to each of the original corpus, a tagging value of each of the original corpus;
determining an original corpus that the tagging value thereof exceeds a set threshold as a valuable corpus, to obtain at least one valuable corpus; and
acquiring the second recognition result of each valuable corpus;
wherein the tagging value of the original corpus increases as the confidence information entropy increases, the tagging value of the original corpus decreases as the highest intent confidence increases, and the tagging value of the original corpus decreases as a difference between the highest intent confidence and the second highest intent confidence increases.