Patent ID: 11972213
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A non-transitory computer readable medium storing instructions, wherein the instructions, when executed by a computer processor of a terminal device, causes the terminal device to:
obtain a target sentence used for recognizing a type of a target event;
process the target sentence based on an event recognition model, to obtain the type of the target event, the event recognition model being used for determining the type of the target event by using a trigger word in the target sentence and at least one context word of the trigger word, the trigger word being used for indicating candidate types of the target event, and the candidate types comprising the type of the target event;
determine, according to a context vector of the trigger word, an input layer vector of the trigger word, and a parameter of the event recognition model, a confidence that the target event belongs to each of the candidate types; and
determine the type of the target event according to the confidence that the target event belongs to each of the candidate types; and
output the type of the target event.