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

Claim 7:
8. The terminal device according to claim 7, wherein the processor, when executing the instructions to determine the type of the target event according to the input layer vector of each word, is configured to:
transform the input layer vector of each word into a hidden layer vector, wherein
the set of words comprises the trigger word being any one of the words;

determine, according to a hidden layer vector of each context word and a hidden layer vector of the trigger word, an attention weight of each context word when using the trigger word, wherein
each context word comprises a word of the set of words other than the trigger word;

determine the context vector of the trigger word according to the input layer vector of each context word and the attention weight of each context word; and
determine the type of the target event according to the context vector of the trigger word and the input layer vector of the trigger word.