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

Claim 2:
3. The method according to claim 2, wherein determining, by the terminal device, the type of the target event according to the input layer vector of each word comprises:
transforming, by the terminal device, 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;

determining, by the terminal device according to a hidden layer vector of each of the at least one context word(s) and a hidden layer vector of the trigger word, an attention weight of each context word, wherein each context word comprises a word of the set of words other than the trigger word;
determining, by the terminal device, 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
determining, by the terminal device, the type of the target event according to the context vector of the trigger word and the input layer vector of the trigger word.