| CPC G06F 16/358 (2019.01) [G06F 16/367 (2019.01); G06F 40/40 (2020.01)] | 20 Claims |

|
1. An event detection method, the method comprising:
obtaining a to-be-processed text;
extracting one or more groups of instance data from the to-be-processed text by using an extraction model, each group of instance data including a first entity instance, a first entity type corresponding to the first entity instance, a second entity instance, a second entity type corresponding to the second entity instance, and a relationship description between the first entity type and the second entity type;
determining one or more extracted triplets based on the one or more groups of instance data, to obtain an extracted graph, an extracted triplet including the first entity type, the second entity type, and the relationship description between the first entity type and the second entity type in the instance data;
obtaining graph ontology definition data of one or more candidate events, and obtaining an ontology definition graph corresponding to each candidate event based on the graph ontology definition data, the graph ontology definition data of the one or more candidate events including an entity type used to indicate an entity and a relationship description used to indicate a relationship between entity types;
determining a similarity between the extracted graph and each ontology definition graph of the one or more candidate events; and
determining an event corresponding to the to-be-processed text from the one or more candidate events based on each similarity.
|