Event extraction method, device, equipment and storage medium
By combining the pre-trained event extraction model with event trigger word location labels and category labels, end-to-end event extraction is achieved, which solves the problem of low event extraction efficiency in the existing technology, improves the efficiency and accuracy of event extraction, and ensures event Completeness of extraction.
Patent Information
- Application Number
- CN202110286434.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-17
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-03-17
AI Technical Summary
The existing event extraction methods have cumbersome processing procedures and low efficiency, making it difficult to effectively extract event trigger words and event arguments from text.
Use a pre-trained event extraction model, use text sequences as training samples, and combine event trigger word position labels and category labels for training to achieve end-to-end extraction of event trigger words and event arguments, and use event trigger words to assist in the extraction of event arguments. , ensure the correspondence between trigger words and arguments.
It improves the efficiency and accuracy of event extraction, can comprehensively identify multiple roles in the text, and ensures the completeness and accuracy of event extraction.
Smart Images

Figure CN112861527B
Abstract
Description
Technical Field
[0001] The present application relates to the field of natural language processing technology, and in particular to an event extraction method, device, equipment and storage medium. Background Art
[0002] Event extraction is an important part of information extraction and intelligence analysis. An event represents the occurrence of an action or a change in state. In an event, a verb or noun representing an action is used as the trigger word of the action or state, and also includes the main argument roles (also known as arguments, such as time, place, person, etc.) involved in the action.
[0003] Therefore, extracting event trigger words and event arguments from text is the key to event extraction. Conventional event extraction methods usually extract event trigger words and event arguments from text in steps, thereby obtaining event extraction. The processing flow of the above conventional event extraction methods is cumbersome and the event extraction efficiency is not high. Summary of the invention
[0004] Based on the above requirements, the present application proposes an event extraction method, apparatus, device and storage medium, which can extract event trigger words and event arguments from text, thereby realizing event extraction.
[0005] The technical solutions proposed in this application are as follows:
[0006] An event extraction method, comprising:
[0007] Input the text to be extracted into a pre-trained event extraction model to obtain the category label of each text unit in the text to be extracted as the event extraction result;
[0008] The event extraction model is trained using a text sequence as a training sample, and using the event trigger word position label of the text sequence and the category label of each text unit of the text sequence as a first type of sample label, wherein the category label of the text unit includes the label of the event trigger word type and the event argument type to which the text unit belongs.
[0009] Optionally, the category label of the text unit is a category label sequence, which contains sequence elements corresponding to all event trigger word types and event argument types. In the category label sequence of the text unit, the values of the sequence elements corresponding to the event trigger word type and event argument type to which the text unit belongs are set valid values.
[0010] Optionally, when training the event extraction model, sequence labeling results of event trigger words and arguments in the text sequence are also used as second type sample labels.
[0011] Optionally, the training process of the event extraction model includes:
[0012] Inputting a training sample into the event extraction model to obtain an event extraction result output by the event extraction model; the event extraction result output by the event extraction model includes a first type of result and a second type of result, wherein the first type of result includes a labeling result of a trigger word position of the training sample and a category label labeling result of each text unit of the training sample, and the second type of result includes a sequence labeling result of an event trigger word and an event argument of the training sample;
[0013] Calculate and determine an event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model, as well as the first type sample label and the second type sample label;
[0014] According to the event extraction loss value of the event extraction model, adjusting the operation parameters of the event extraction model;
[0015] The above process is repeated until the event extraction loss value of the event extraction model is less than the set value.
[0016] Optionally, calculating and determining a loss value of the event extraction model according to the event extraction result output by the event extraction model, and the first type sample label and the second type sample label includes:
[0017] Calculate a first event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model and the first type sample label;
[0018] Calculate a second event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model and the second type sample label;
[0019] The event extraction loss value of the event extraction model is calculated and determined according to the first event extraction loss value and the second event extraction loss value.
[0020] Optionally, the event trigger word position label is a coding sequence, and the elements of the coding sequence correspond one-to-one to each text unit of the text sequence, wherein the value of the coding sequence element corresponding to the event trigger word of the text sequence is a set value, and the values of the remaining coding sequence elements are non-set values.
[0021] Optionally, the event extraction model processes the text to be extracted to obtain a category label of each text unit in the text to be extracted, including:
[0022] Performing trigger word recognition processing on the text to be extracted to determine the position of the trigger word in the text to be extracted;
[0023] According to the position of the trigger word in the text to be extracted, the category label of each text unit in the text to be extracted is determined, and the category label of the text unit includes the label of the event trigger word type and event argument type to which the text unit belongs.
[0024] Optionally, the performing trigger word recognition processing on the text to be extracted to determine the position of the trigger word in the text to be extracted includes:
[0025] Generate an initial coding sequence according to the text to be extracted, wherein the sequence elements of the initial coding sequence correspond one-to-one to each text unit of the text to be extracted, and the values of each sequence element of the initial coding sequence are all set initial values;
[0026] Input the text to be extracted and the initial coding sequence into a trigger word extraction module, so that the trigger word extraction module recognizes the trigger words in the text to be extracted and outputs a trigger word tag coding sequence;
[0027] The trigger word mark coding sequence is obtained by the trigger word extraction module setting the value of the element in the initial coding sequence corresponding to the event trigger word in the text to be extracted to a set value.
[0028] Optionally, determining the category label of each text unit in the text to be extracted according to the position of the trigger word in the text to be extracted includes:
[0029] The text to be extracted and the trigger word tag coding sequence are input into an argument extraction module to determine the category label of each text unit in the text to be extracted.
[0030] An event extraction device, comprising:
[0031] An event extraction processing unit, used to input the text to be extracted into a pre-trained event extraction model, and obtain the category label of each text unit in the text to be extracted as the event extraction result;
[0032] The event extraction model is trained using a text sequence as a training sample, and using the event trigger word position label of the text sequence and the category label of each text unit of the text sequence as a first type of sample label, wherein the category label of the text unit includes the label of the event trigger word type and the event argument type to which the text unit belongs.
[0033] An event extraction device, comprising:
[0034] Memory and processor;
[0035] Wherein, the memory is used to store programs;
[0036] The processor is used to implement the above event extraction method by running the program in the memory.
[0037] A storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned event extraction method is implemented.
[0038] The event extraction method proposed in the embodiment of the present application uses a pre-trained event extraction model to perform event extraction on the text to be extracted, and can separately annotate the category labels of each text unit in the text to be extracted, that is, annotate the labels of the event trigger word type and event argument type to which each text unit in the text to be extracted belongs, thereby determining the event trigger words and event arguments from the text to be extracted and obtaining the event extraction result.
[0039] Furthermore, based on the above-mentioned specific training method of the above-mentioned event extraction model, the event extraction model can not only realize end-to-end event trigger word and event argument extraction, reduce model scale and model consumption, and improve event extraction efficiency, but also use event trigger word extraction to assist event argument extraction, thereby ensuring the correspondence between trigger words and arguments during event extraction and improving event extraction accuracy. Moreover, the event extraction model can also comprehensively identify the multiple roles of text in events, thereby ensuring the integrity of event extraction. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0041] Figure 1 It is a flowchart of an event extraction method proposed in an embodiment of the present application;
[0042] Figure 2 is a schematic diagram of a category label sequence provided in an embodiment of the present application;
[0043] Figure 3 is a schematic diagram of the text sequence annotation result provided in the embodiment of the present application;
[0044] Figure 4 is a schematic diagram of the training process of the event extraction model provided in an embodiment of the present application;
[0045] Figure 5is a schematic diagram of the structure of the event extraction model provided in the embodiment of the present application;
[0046] Figure 6 is a structural schematic diagram of an event extraction device provided in an embodiment of the present application;
[0047] Figure 7 It is a structural schematic diagram of an event extraction device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The technical solution of the embodiment of the present application is applicable to the application scenario of extracting events from text. By adopting the technical solution of the embodiment of the present application, event trigger words and event arguments can be determined from the text, thereby realizing event extraction. Moreover, the embodiment of the present application can simultaneously determine event trigger words and event arguments from the text through one information extraction, which has a higher event extraction efficiency.
[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] This application embodiment proposes an event extraction method, see Figure 1 As shown, the method includes:
[0051] S101, obtaining the text to be extracted.
[0052] The above-mentioned text to be extracted is only the text from which the event needs to be extracted, which can be text in any language, any field, and any length.
[0053] S102: Input the text to be extracted into a pre-trained event extraction model to obtain a category label of each text unit in the text to be extracted as an event extraction result.
[0054] The above event extraction model is trained using a text sequence as a training sample, and using the event trigger word position label of the text sequence and the category label of each text unit of the text sequence as the first type of sample label.
[0055] The category label of the text unit includes the label of the event trigger word type and the event argument type to which the text unit belongs.
[0056] Specifically, the embodiment of the present application uses the category label of each text unit in the text as the event extraction result. The category label of the above text unit includes the label of the event trigger word type to which the text unit belongs and the label of the event argument type to which the text unit belongs.
[0057] The above-mentioned text units can be characters, words, phrases, fragments, etc. in the text that can be used as an independent content unit. For example, verbs, nouns, names, time, place, etc. in the text can all be used as a text unit. These text units may be used as trigger words of events or as arguments of events. Thus, text units that are event trigger words and text units that are event arguments can constitute an event.
[0058] It can be understood that when the category labels of each text unit in the text are determined respectively, it is also determined whether each text unit in the text belongs to an event trigger word or an event argument, and the trigger word type and argument type of each text unit can be determined respectively. When the above information is determined, the event trigger word and event argument in the text are determined respectively, that is, the event extraction result is obtained.
[0059] Correspondingly, in the above-mentioned event extraction model training process, the text sequence is used as the training sample, and the category label of each text unit in the text sequence is used as the training sample label for training.
[0060] The category label of the text unit includes the event trigger word type label to which the text unit belongs and the event argument type label to which the text unit belongs.
[0061] The event trigger type to which the above-mentioned text unit belongs refers to the trigger type to which the text unit belongs when it is used as an event trigger, such as a verb, a noun, etc. The event argument type to which the above-mentioned text unit belongs refers to the argument type to which the text unit belongs when it is used as an event argument, such as time, place, person, etc.
[0062] In some cases, a text unit in a text may serve as both an event trigger and an event argument, or as both a type A event argument and a type B event argument.
[0063] For example, in the text "On November 24, a suicide bombing occurred in the United States, resulting in the deaths of three suicides and two civilians", "suicide" is both an attacker argument role and a victim argument role. In this case, the event argument type label corresponding to "suicide" should include both the attacker argument label and the victim argument label.
[0064] In order to be able to comprehensively and accurately represent the event role to which the text unit belongs, the embodiment of the present application, when marking the category label for each text unit of the text sequence, also marks the event trigger word type label to which the text unit belongs, and the event argument type label to which the text unit belongs. That is, corresponding to the same text unit, its category label contains two parts of content, one part is the label content representing the event trigger word type to which the text unit belongs, and the other part is the label content representing the event argument type to which the text unit belongs. In addition, the number of labels representing the event trigger word type to which the text unit belongs and the number of labels representing the event argument type to which the text unit belongs can be determined based on the specific number of event roles played by the text unit.
[0065] Therefore, in an embodiment of the present application, the category label corresponding to the same text unit may include multiple event trigger word type labels and multiple event argument type labels, so that when a text unit plays multiple event roles (trigger words and / or arguments) at the same time, the category label of the text unit can be used to accurately and comprehensively represent the event role played by the text unit.
[0066] Exemplarily, if a text unit in a text sequence only serves as an event trigger in the text sequence, then the text unit can be annotated with an event trigger type label. At this time, the number of category labels of the text unit can be determined according to the specific type of the event trigger, which can be one or more, and the event argument type label of the text unit can be marked as empty; if a text unit only serves as an event argument in the text sequence, then the text unit can be annotated with an event argument type label. At this time, the number of category labels of the text unit can be determined according to the specific type of the event argument, which can be one or more, and the event trigger type label of the text unit can be marked as empty; if a text unit serves as both an event trigger and an event argument in the text sequence, then the text unit should be annotated with an event trigger type label and an event argument type label. At this time, the number of event trigger type labels and the number of event argument type labels of the text unit can be determined according to the specific type of the text unit as an event trigger and the specific type of the event argument, which can be one or more.
[0067] Normally, there is a corresponding relationship between event trigger words and event arguments. For example, some trigger words that represent actions can only be performed by people, so it can be determined that the trigger word should correspond to the person argument role, but not the animal argument role or the object argument role; or, some action trigger words can only be executed with objects, so the trigger word should correspond to the object argument role, that is, the object argument role should be used as the execution object, and the person argument role cannot be used as the execution object.
[0068] Moreover, events are usually driven by trigger words. Therefore, event trigger word extraction should be the primary task of event extraction. When the event trigger word is determined, it can be used as a basis to further extract the argument role corresponding to the trigger word, thereby obtaining the event extraction result. Using event trigger words as a reference for event argument extraction is conducive to more accurate determination of event arguments, ensuring the correct correspondence between the extracted event trigger words and event arguments, and improving the accuracy and efficiency of event extraction.
[0069] However, based on the labeling method of the text unit category labels in the text sequence in the embodiment of the present application, in a text sequence, there may be multiple text units that are used as event trigger words, or one or more text units that are used as event trigger words of different types. And the event trigger word in the text sequence may be only one of the text units.
[0070] Therefore, in order to be able to clearly identify the text unit that ultimately serves as an event trigger word from the various text units in the text sequence, so that the event trigger word can be used for event argument recognition, the embodiment of the present application also marks the position of the event trigger word in the text sequence as an event trigger word position label as part of the training sample label.
[0071] During the model training process, when the event extraction model extracts events from text sequence samples, it first extracts event trigger words from the text sequence, that is, it identifies the event trigger words from the text sequence and labels them, and then determines whether the text unit at the event trigger word position represented by the sample label is marked as an event trigger word. If not, it can be determined that the trigger word extraction has failed, and the parameters need to be corrected to re-extract the event trigger word; if so, continue with subsequent event extraction, that is, refer to the text unit at the event trigger word position, that is, the text unit at the event trigger word position that serves as the event trigger word, and extract event arguments from the text sequence, so as to extract the correct event arguments corresponding to the event trigger word from the text sequence.
[0072] It can be seen that when the embodiment of the present application trains the event extraction model, the event trigger word position label of the text sequence and the category label of each text unit of the text sequence are used together as the sample label of the text sequence. In the embodiment of the present application, the sample label is named the first type sample label. It can be understood that the first type sample label includes the event trigger word position label of the text sequence sample and the category label of each text unit of the text sequence sample. Among them, the category label of the text unit includes the label of the event trigger word type and the event argument type to which the text unit belongs.
[0073] The event extraction model is trained based on the first type of sample labels mentioned above. On the one hand, the event extraction model can output the annotation results of event trigger words and event arguments in the text sequence at one time, that is, end-to-end text event extraction is achieved using one model, and its event extraction efficiency is relatively high. In addition, based on the event extraction model's method of annotating text units with category labels, in the case where the same text unit in the text sequence plays multiple event roles at the same time, the event extraction model can also annotate the multiple event roles of the same text unit through one event extraction, that is, it can more comprehensively identify event trigger words and event arguments in the text, and ensure the comprehensiveness of event extraction.
[0074] On the other hand, when the event extraction model extracts event trigger words and event arguments from a text sequence, it can use event trigger words as the basis for event argument extraction, that is, use event trigger word extraction to assist event argument extraction, thereby ensuring the correspondence between event trigger words and event arguments and improving the accuracy and efficiency of event extraction.
[0075] On this basis, when events are extracted from the text to be extracted, the text to be extracted is input into the event extraction model trained as above, and the category label annotation results of each text unit in the text to be extracted can be obtained, that is, the event extraction results of the text to be extracted can be obtained.
[0076] Based on the above introduction, it can be seen that the embodiment of the present application uses a pre-trained event extraction model to perform event extraction on the text to be extracted, and can separately annotate the category labels of each text unit in the text to be extracted, that is, annotate the labels of the event trigger word type and event argument type to which each text unit in the text to be extracted belongs, thereby determining the event trigger words and event arguments from the text to be extracted and obtaining the event extraction results.
[0077] Furthermore, based on the above-mentioned specific training method of the above-mentioned event extraction model, the event extraction model can not only realize end-to-end event trigger word and event argument extraction, reduce the model scale and model consumption, but also use the event trigger word extraction to assist the event argument extraction, thereby ensuring the correspondence between the trigger word and the argument during event extraction, and improving the accuracy of event extraction. Moreover, the event extraction model can also comprehensively identify the multiple roles of text in the event, thereby ensuring the integrity of event extraction.
[0078] Exemplarily, the embodiment of the present application labels each text unit of the text sequence with a category label in the form of a category label sequence.
[0079] See also Figure 2 As shown, the sequence elements in the category label sequence set in the embodiment of the present application correspond to all event trigger word types and event argument types, that is, the category label sequence contains sequence elements corresponding to all event trigger word types and event argument types.
[0080] Assuming that there are M types of event trigger words and N types of event arguments in the event extraction field, there are M+N sequence elements I in the category label sequence corresponding to the text unit. M+N , where the first M sequence elements I0~I M-1 They correspond to M event trigger word types one by one, and the last N sequence elements I M ~I M+N-1 They correspond one-to-one to the N event argument types respectively.
[0081] Based on the category label sequence set up in the above manner, in the category label sequence corresponding to a certain text unit, the values of the sequence elements corresponding to the event trigger word type and the event argument type to which the text unit belongs are the set valid values, and the values of the sequence elements corresponding to other event trigger word types and event argument types in the category label sequence are not the above-set valid values.
[0082] For example, in the category label sequence of a text unit, the value of the sequence element corresponding to the event trigger word type and event argument type to which the text unit belongs is 1, and the value of the enterprise sequence element is 0.
[0083] For a certain text unit, assuming that the text unit is only used as an event trigger in the text sequence, and is a third type of event trigger, then the value of the third sequence element I2 in the category label sequence of the text unit is 1, and the values of the remaining sequence elements are 0. Assuming that the text unit is only used as an event argument in the text sequence, and is a second type of event argument, then the M+2th sequence element I2 in the category label sequence of the text unit is M+1The value of is 1, and the values of the remaining sequence elements are 0. Assuming that the text unit acts as multiple event arguments in the text sequence, such as both the second type of event argument and the third type of event argument, then the M+2th sequence element I in the category label sequence of the text unit is M+1 and the M+3th sequence element I M+2 The value of the remaining sequence elements is 0.
[0084] It can be seen that based on the above-mentioned category label sequence, any text unit, no matter what event role it plays in the text sequence, can be represented by the same category label. For a text sequence, the category labels corresponding to each text unit contained in it are combined to obtain the form of a category label sequence matrix. Each column in the matrix corresponds to the category label sequence of a text unit in the sequence, and each row in the matrix corresponds to an event trigger word type or event argument type.
[0085] Based on the above training, when the above event extraction model is used to extract events from the text to be extracted, the event extraction result is also in the form of a matrix, where each column in the matrix corresponds to a category label sequence of a text unit in the text to be extracted, and each row in the matrix corresponds to an event trigger word type or event argument type. When the value of an element of the matrix is a set valid value (for example, 1), the text unit corresponding to the element can be determined as the event trigger word or event argument corresponding to the element in the text to be extracted.
[0086] As a preferred training method, when training the above event extraction model, the embodiment of the present application uses not only the above first type sample labels as training sample labels, but also the second type labels as training sample labels.
[0087] Specifically, the second type of labels mentioned above are sequence labeling results of event trigger words and event arguments in the training samples, that is, sequence labeling results of event trigger words and event arguments in the text sequence serving as the training samples.
[0088] The sequence annotation results for the text sequence are as follows Figure 3 As shown. In the sequence labeling result, for each text unit in the text sequence, its unique event role, i.e., event trigger word or event argument, is determined, and the event role labels of each text unit are arranged according to the order of the text unit in the text sequence, so as to obtain the sequence labeling result corresponding to the text sequence. The value of each element in the above sequence labeling result can be represented by a preset numerical value or symbol.
[0089] In the sequence labeling results of text sequences, each text unit has a unique category label, that is, it is either an event trigger or an event argument, and the specific trigger type and argument type when the text unit is an event trigger or an event argument are also uniquely determined. Therefore, the sequence labeling results of text sequences can accurately define event triggers and event arguments in text sequences, which is beneficial for distinguishing event triggers and event arguments from text sequences.
[0090] Therefore, using the above-mentioned second type of sample labels for model training can train the model to accurately distinguish the boundaries between trigger words and trigger words, between trigger words and arguments, and between arguments in the text, thereby helping to more accurately identify event trigger words and event arguments from the text.
[0091] Based on the above first type sample labels and second type sample labels, such as Figure 4 As shown, the training process of the above event extraction model in the embodiment of the present application is as follows:
[0092] S401 , obtaining training samples and first type sample labels and second type sample labels of the training samples.
[0093] The training sample mentioned above is a text sequence containing an event. The first type of sample label of the training sample is the result of the category label annotation of each text unit of the training sample, and the result of the event trigger word position annotation in the training sample. For the specific content of the category label annotation result, please refer to the introduction of the above embodiment; the second type of sample label of the training sample is the result of the sequence annotation of the event trigger word and event argument in the training sample. For the specific content, please refer to the introduction of the above embodiment.
[0094] S402: Input the training samples into the event extraction model to obtain the event extraction results output by the event extraction model.
[0095] The event extraction results output by the above event extraction model include two types of results: first type results and second type results. Among them, the first type results are the category labeling results of each text unit in the input training sample. The category label of the text unit includes the event trigger word labeling results and event argument labeling results. The specific content and form can be found in the above embodiment.
[0096] At the same time, since the event extraction model can identify any text unit in the training samples that can serve as an event trigger word, there may be multiple text units labeled with event trigger word category labels, but an event usually has only one event trigger word, that is, what ultimately serves as an event trigger word is usually just a certain text unit in the text sequence. Therefore, in order to enable the event extraction model to determine the text unit that ultimately serves as an event trigger word while fully identifying the event trigger words in the training samples, the above-mentioned first type of results also include the annotation results of the event trigger word position, that is, the annotation results of the position of the text unit that ultimately serves as the event trigger word. It can be seen that the form and content type of the above-mentioned first type of results are the same as the form and content type of the above-mentioned first type of labels.
[0097] The second type of result mentioned above is the sequence labeling result of the event trigger words and event arguments in the input training sample, and its content type is the same as the content type of the second type of label mentioned above.
[0098] As an optional model setting method, the above-mentioned event extraction model can be trained based on a pre-trained language model. Specifically, in order to ensure that event trigger word extraction and event argument extraction can be implemented in one model and effectively identify the difference between trigger word extraction and argument extraction, the embodiment of the present application selects training based on BERT and its derivative pre-trained language model to obtain the above-mentioned event extraction model.
[0099] It is understandable that when the above-mentioned event extraction model performs event extraction, it determines whether the text unit is an event trigger word or an event argument by identifying the text unit features in the input text. In the process of model training, the main thing is to train the model to accurately grasp the text unit features when identifying various types of texts, so as to achieve accurate event extraction. The model output result is an output result organized in the form of event extraction result output based on the result of feature extraction and recognition of the text by the model. In other words, the first type of results and the second type of results output by the above-mentioned event extraction model, although different in specific content and form, are both obtained based on the model extracting and recognizing text features. Therefore, whether the model is trained using the above-mentioned first type of results or the above-mentioned second type of results, the model performance can be improved and the training effect can be achieved.
[0100] Since the above-mentioned different types of results have unique effects on event extraction, the embodiment of the present application enables the above-mentioned event extraction model to simultaneously output the above-mentioned two types of event extraction results, and trains the model based on the two types of event extraction results, so that the event extraction results output by the event extraction model have the advantages of the above-mentioned different types of results at the same time, thereby enabling the model to achieve better training results more quickly, that is, to quickly achieve the performance of comprehensively and accurately extracting events.
[0101] Based on the above idea, after inputting the training sample into the above event extraction model and obtaining the event extraction result output by the event extraction model, the following step S403 is performed:
[0102] S403: Calculate and determine the event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model, as well as the first type sample label and the second type sample label.
[0103] Specifically, the event extraction loss value of the above-mentioned event extraction model is used to represent the difference between the event extraction result of the event extraction model for the training sample and the events included in the training sample. This difference can reflect the event extraction accuracy of the event extraction model.
[0104] Since the event extraction result output by the above-mentioned event extraction model includes two results, when calculating the event extraction loss value of the event extraction model, the embodiment of the present application calculates it based on the two results output by the event extraction model.
[0105] First, according to the event extraction result output by the event extraction model and the first type sample label, the first event extraction loss value of the event extraction model is calculated.
[0106] Specifically, the difference between the first type of result output by the event extraction model and the first type of sample label of the training sample is calculated as the first event extraction loss value of the event extraction model.
[0107] Then, according to the event extraction result output by the event extraction model and the second type sample label, a second event extraction loss value of the event extraction model is calculated.
[0108] Specifically, the difference between the second type of result output by the event extraction model and the second type of sample label of the training sample is calculated as the second event extraction loss value of the event extraction model.
[0109] Finally, based on the above-mentioned first event extraction loss value and the above-mentioned second event extraction loss value, the event extraction loss value of the event extraction model is calculated and determined.
[0110] Specifically, the first event extraction loss value and the second event extraction loss value are summed, or weighted summed, and the calculated result can be used as the event extraction loss value of the event extraction model.
[0111] S404: Determine whether the event extraction loss value of the above event extraction model is less than a set value.
[0112] If it is less than the set value, step S405 is executed to end the training process. At this point, an event extraction model capable of achieving accurate event extraction can be obtained.
[0113] If it is not less than the set value, step S406 is executed to adjust the operation parameters of the event extraction model according to the event extraction loss value of the event extraction model.
[0114] Then, return to step S401 and re-execute the training process, that is, re-acquire the training samples and the corresponding sample labels, and train the event extraction model after the parameters are modified. Repeat the above training process until when executing the above step S404, it is determined that the event extraction loss value of the event extraction model is less than the set value. At this time, the training of the event extraction model is complete.
[0115] It can be understood that the training process of the event extraction model in the embodiment of the present application combines the model's sequence annotation results for text events and the category label annotation results for text units. Based on the above two event extraction results of the event extraction model, the loss function of the event extraction model is calculated separately and used to correct the model parameters, so that the event extraction model can not only have the ability to accurately distinguish event trigger words and arguments, but also can achieve comprehensive recognition of event trigger words and event arguments, and has better recognition performance for the situation where a text unit plays multiple event roles at the same time.
[0116] As an exemplary implementation, the embodiment of the present application uses a coding sequence as an event trigger word position label.
[0117] As the event trigger word position label of the text sequence, the elements of the coding sequence correspond to each text unit of the text sequence one by one, that is, the length of the coding sequence is the same as the length of the text sequence. Among them, the value of the coding sequence element corresponding to the event trigger word in the text sequence is a set value, and the values of the remaining coding sequence elements are non-set values. In this way, by determining the position of the set value element in the coding sequence, the event trigger word position in the corresponding text sequence can be determined.
[0118] For example, the above coding sequence is recorded as segment_id. For example, if the text sequence is "2 fighter planes of Army A stationed at Site B", the text sequence includes 5 text units, namely "Army A", "2", "Fighter Plane", "Station", and "Site B". Among them, the 4th text unit "Station" is an event trigger word, then the length of the segment_id corresponding to the text sequence is 5 elements, among which the 4th element corresponds to the event trigger word of the text sequence, so the value of this element should be a set value, assuming it is 1, and the values of the remaining elements are non-set values, assuming they are 0, then it can be determined that the segment_id is 00010. According to the segment_id, it can be seen that since the value of the 4th element is a set value, it can be determined that the 4th text unit of the corresponding text sequence is an event trigger word.
[0119] It can be understood that based on the one-to-one correspondence between the elements of the above coding sequence and the text units of the text sequence, the position of the event trigger word in the text sequence can be intuitively and accurately reflected by using the elements of the set values in the above coding sequence.
[0120] Optionally, in the embodiment of the present application, the structure of the above event extraction model adopts a pipeline model structure, for example Figure 5 shown.
[0121] After the text data is input into the event extraction model, the event trigger words are first extracted through the trigger word extraction module, and then the event trigger word extraction results and the text data enter the argument extraction module for argument extraction. Then, the argument extraction module outputs the complete event extraction result, that is, the category label annotation result for each text unit of the text data.
[0122] Based on the above event extraction model structure, the specific processing process of the event extraction model for processing the text to be extracted to obtain the category label of each text unit in the text to be extracted includes the following two steps A1 and A2:
[0123] A1. Perform trigger word recognition processing on the text to be extracted to determine the position of the trigger word in the text to be extracted.
[0124] Specifically, with the help of the trigger word extraction module of the event extraction model, the event trigger words in the text to be extracted can be identified, thereby determining the position of the trigger words in the text to be extracted.
[0125] The process of determining the position of the trigger word in the text to be extracted includes the following two steps A11 and A12:
[0126] A11. Generate an initial coding sequence based on the text to be extracted.
[0127] The above-mentioned initial coding sequence is used to reflect the position of the event trigger word in the text to be extracted. Among them, the sequence elements of the initial coding sequence correspond to each text unit of the text to be extracted one by one, that is, the length of the initial coding sequence is the same as the length of the text to be extracted. The values of each sequence element of the initial coding sequence are all set initial values.
[0128] For example, the above-mentioned initial coding sequence can be recorded as segment_id, and its sequence elements correspond one-to-one to each text unit in the text to be extracted, and the value of each sequence element is an initial value, such as X.
[0129] A12. Input the above text to be extracted and the above initial coding sequence into the trigger word extraction module, so that the trigger word extraction module recognizes the trigger words in the text to be extracted and outputs the trigger word tag coding sequence.
[0130] After receiving the text to be extracted, the trigger word extraction module identifies the event trigger words in the text to be extracted, that is, identifies the text units that serve as event trigger words from each text unit of the text to be extracted.
[0131] Then, the trigger word extraction module sets the value of the sequence element in the received initial coding sequence that corresponds to the event trigger word in the text to be extracted to the set value, sets the value of other sequence elements in the initial coding sequence to non-set values, and outputs the obtained new sequence as a trigger word tag coding sequence.
[0132] A2. Determine the category label of each text unit in the text to be extracted according to the position of the trigger word in the text to be extracted.
[0133] Specifically, the above-mentioned text to be extracted and the above-mentioned trigger word tag coding sequence are input into the argument extraction module, and the argument extraction module identifies and extracts the event arguments in the text to be extracted according to the trigger word tag coding sequence, that is, identifies whether each text unit in the text to be extracted is an event argument, and the specific event argument type. Finally, the argument extraction module comprehensively organizes the trigger word extraction results determined based on the trigger word tag coding sequence and the argument extraction results, and outputs the category labels of each text unit in the text to be extracted.
[0134] Based on the above introduction, it can be seen that in the process of event extraction from the text to be extracted, the event extraction model proposed in the embodiment of the present application uses the event trigger words in the text to be extracted as a reference for extracting event arguments from the text to be extracted, thereby ensuring the correspondence between the event trigger words and the event arguments in the event extraction process and ensuring the accuracy of event extraction.
[0135] The present application also provides an event extraction device, see Figure 6 As shown, the device comprises:
[0136] An event extraction processing unit, used to input the text to be extracted into a pre-trained event extraction model, and obtain the category label of each text unit in the text to be extracted as the event extraction result;
[0137] The event extraction model is trained using a text sequence as a training sample, and using the event trigger word position label of the text sequence and the category label of each text unit of the text sequence as a first type of sample label, wherein the category label of the text unit includes the label of the event trigger word type and the event argument type to which the text unit belongs.
[0138] The event extraction model proposed in the embodiment of the present application can extract events from the text to be extracted with the help of a pre-trained event extraction model, and can separately annotate the category labels of each text unit in the text to be extracted, that is, annotate the labels of the event trigger word type and event argument type to which each text unit in the text to be extracted belongs, thereby determining the event trigger words and event arguments from the text to be extracted and obtaining the event extraction result.
[0139] Furthermore, based on the above-mentioned specific training method of the above-mentioned event extraction model, the event extraction model can not only realize end-to-end event trigger word and event argument extraction, reduce the model scale and model consumption, but also use the event trigger word extraction to assist the event argument extraction, thereby ensuring the correspondence between the trigger word and the argument during event extraction, and improving the accuracy of event extraction. Moreover, the event extraction model can also comprehensively identify the multiple roles of text in the event, thereby ensuring the integrity of event extraction.
[0140] As an optional implementation method, the category label of the above-mentioned text unit is a category label sequence, and the category label sequence contains sequence elements corresponding to all event trigger word types and event argument types. In the category label sequence of the text unit, the values of the sequence elements corresponding to the event trigger word type and event argument type to which the text unit belongs are set valid values.
[0141] As an optional implementation, when training the event extraction model, the sequence labeling results of the event trigger words and arguments in the text sequence are also used as the second type of sample labels.
[0142] As an optional implementation method, the training process of the event extraction model includes:
[0143] Inputting a training sample into the event extraction model to obtain an event extraction result output by the event extraction model; the event extraction result output by the event extraction model includes a first type of result and a second type of result, wherein the first type of result includes a labeling result of a trigger word position of the training sample and a category label labeling result of each text unit of the training sample, and the second type of result includes a sequence labeling result of an event trigger word and an event argument of the training sample;
[0144] Calculate and determine an event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model, as well as the first type sample label and the second type sample label;
[0145] According to the event extraction loss value of the event extraction model, adjusting the operation parameters of the event extraction model;
[0146] The above process is repeated until the event extraction loss value of the event extraction model is less than the set value.
[0147] As an optional implementation, the calculating and determining the loss value of the event extraction model according to the event extraction result output by the event extraction model, and the first type sample label and the second type sample label includes:
[0148] Calculate a first event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model and the first type sample label;
[0149] Calculate a second event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model and the second type sample label;
[0150] The event extraction loss value of the event extraction model is calculated and determined according to the first event extraction loss value and the second event extraction loss value.
[0151] As an optional implementation method, the event trigger word position label is a coding sequence, and the elements of the coding sequence correspond one-to-one to each text unit of the text sequence, wherein the value of the coding sequence element corresponding to the event trigger word of the text sequence is a set value, and the values of the remaining coding sequence elements are non-set values.
[0152] As an optional implementation, the event extraction model processes the text to be extracted to obtain the category label of each text unit in the text to be extracted, including:
[0153] Performing trigger word recognition processing on the text to be extracted to determine the position of the trigger word in the text to be extracted;
[0154] According to the position of the trigger word in the text to be extracted, the category label of each text unit in the text to be extracted is determined, and the category label of the text unit includes the label of the event trigger word type and event argument type to which the text unit belongs.
[0155] As an optional implementation, the trigger word recognition processing is performed on the text to be extracted to determine the position of the trigger word in the text to be extracted, including:
[0156] Generate an initial coding sequence according to the text to be extracted, wherein the sequence elements of the initial coding sequence correspond one-to-one to each text unit of the text to be extracted, and the values of each sequence element of the initial coding sequence are all set initial values;
[0157] Input the text to be extracted and the initial coding sequence into a trigger word extraction module, so that the trigger word extraction module recognizes the trigger words in the text to be extracted and outputs a trigger word tag coding sequence;
[0158] The trigger word mark coding sequence is obtained by the trigger word extraction module setting the value of the element in the initial coding sequence corresponding to the event trigger word in the text to be extracted to a set value.
[0159] As an optional implementation, determining the category label of each text unit in the text to be extracted according to the position of the trigger word in the text to be extracted includes:
[0160] The text to be extracted and the trigger word tag coding sequence are input into an argument extraction module to determine the category label of each text unit in the text to be extracted.
[0161] Specifically, for the specific working contents of each unit of the above-mentioned event extraction device, please refer to the contents of the above-mentioned method embodiment, which will not be repeated here.
[0162] Another embodiment of the present application also provides an event extraction device, see Figure 7 As shown, the device includes:
[0163] Memory 200 and processor 210;
[0164] The memory 200 is connected to the processor 210 and is used to store programs;
[0165] The processor 210 is used to implement the event extraction method disclosed in any of the above embodiments by running the program stored in the memory 200.
[0166] Specifically, the event extraction device may further include: a bus, a communication interface 220 , an input device 230 and an output device 240 .
[0167] The processor 210, the memory 200, the communication interface 220, the input device 230 and the output device 240 are connected to each other via a bus.
[0168] A bus may include a pathway that transfers information between components of a computer system.
[0169] The processor 210 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0170] The processor 210 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0171] The memory 200 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 200 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0172] The input device 230 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0173] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0174] The communication interface 220 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0175] The processor 2102 executes the program stored in the memory 200 and calls other devices, which can be used to implement each step of the event extraction method provided in the embodiment of the present application.
[0176] Another embodiment of the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the event extraction method provided in any of the above embodiments is implemented.
[0177] Specifically, the specific working contents of each part of the above-mentioned event extraction device, as well as the specific processing contents of the computer program on the above-mentioned storage medium when being executed by the processor, can all be found in the contents of the various embodiments of the above-mentioned event extraction method, and will not be repeated here.
[0178] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0179] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0180] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0181] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0182] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0183] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0184] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0185] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0186] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0187] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0188] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An event extraction method, characterized in that: include: Input the text to be extracted into a pre-trained event extraction model to obtain the category label of each text unit in the text to be extracted as the event extraction result; The event extraction model is trained by taking a text sequence as a training sample, taking the event trigger word position label of the text sequence, and the category label of each text unit of the text sequence as the first type sample label, wherein the category label is annotated for each text unit of the text sequence in the form of a category label sequence; the category label of the text unit includes the label of the event trigger word type and the event argument type to which the text unit belongs; in the category label sequence corresponding to the text unit, there are a total of M+N sequence elements I M+N , where the first M sequence elements I0~I M-1 They correspond to M event trigger word types one by one, and the last N sequence elements I M ~I M+N-1 They correspond to N event argument types one by one respectively; the category labels corresponding to the same text unit may include multiple event trigger word type labels and multiple event argument type labels; When training the event extraction model, the sequence labeling results of the event trigger words and arguments in the text sequence are also used as the second type of sample labels; The training process of the event extraction model includes: Inputting a training sample into the event extraction model to obtain an event extraction result output by the event extraction model; the event extraction result output by the event extraction model includes a first type of result and a second type of result, wherein the first type of result includes a labeling result of a trigger word position of the training sample and a category label labeling result of each text unit of the training sample, and the second type of result includes a sequence labeling result of an event trigger word and an event argument of the training sample; Calculate and determine an event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model, as well as the first type sample label and the second type sample label; According to the event extraction loss value of the event extraction model, adjusting the operation parameters of the event extraction model; The above training process is repeated until the event extraction loss value of the event extraction model is less than the set value.
2. The method according to claim 1, characterized in that The category label of a text unit is a category label sequence, which contains sequence elements corresponding to all event trigger word types and event argument types. In the category label sequence of a text unit, the values of the sequence elements corresponding to the event trigger word type and event argument type to which the text unit belongs are the set valid values.
3. The method according to claim 1, characterized in that: The calculating and determining the loss value of the event extraction model according to the event extraction result output by the event extraction model, the first type sample label and the second type sample label includes: Calculate a first event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model and the first type sample label; Calculate a second event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model and the second type sample label; The event extraction loss value of the event extraction model is calculated and determined according to the first event extraction loss value and the second event extraction loss value.
4. The method according to claim 1, characterized in that The event trigger word position label is a coding sequence, and the elements of the coding sequence correspond one-to-one to each text unit of the text sequence, wherein the value of the coding sequence element corresponding to the event trigger word of the text sequence is a set value, and the values of the remaining coding sequence elements are non-set values.
5. The method according to claim 1, characterized in that The event extraction model processes the text to be extracted to obtain the category label of each text unit in the text to be extracted, including: Performing trigger word recognition processing on the text to be extracted to determine the position of the trigger word in the text to be extracted; According to the position of the trigger word in the text to be extracted, the category label of each text unit in the text to be extracted is determined.
6. The method according to claim 5, characterized in that The step of performing trigger word recognition processing on the text to be extracted to determine the position of the trigger word in the text to be extracted includes: Generate an initial coding sequence according to the text to be extracted, wherein the sequence elements of the initial coding sequence correspond one-to-one to each text unit of the text to be extracted, and the values of each sequence element of the initial coding sequence are all set initial values; Input the text to be extracted and the initial coding sequence into a trigger word extraction module, so that the trigger word extraction module recognizes the trigger words in the text to be extracted and outputs a trigger word tag coding sequence; The trigger word mark coding sequence is obtained by the trigger word extraction module setting the value of the element in the initial coding sequence corresponding to the event trigger word in the text to be extracted to a set value.
7. The method according to claim 6, characterized in that The step of determining the category label of each text unit in the text to be extracted according to the position of the trigger word in the text to be extracted includes: The text to be extracted and the trigger word tag coding sequence are input into an argument extraction module to determine the category label of each text unit in the text to be extracted.
8. An event extraction device, characterized in that: include: An event extraction processing unit, used to input the text to be extracted into a pre-trained event extraction model, and obtain the category label of each text unit in the text to be extracted as the event extraction result; The event extraction model is trained by taking a text sequence as a training sample, taking the event trigger word position label of the text sequence, and the category label of each text unit of the text sequence as the first type sample label, wherein the category label is annotated for each text unit of the text sequence in the form of a category label sequence; the category label of the text unit includes the label of the event trigger word type and the event argument type to which the text unit belongs; in the category label sequence corresponding to the text unit, there are a total of M+N sequence elements I M+N , where the first M sequence elements I0~I M-1 They correspond to M event trigger word types one by one, and the last N sequence elements I M ~I M+N-1 They correspond to N event argument types one by one respectively; the category labels corresponding to the same text unit may include multiple event trigger word type labels and multiple event argument type labels; When training the event extraction model, the sequence labeling results of the event trigger words and arguments in the text sequence are also used as the second type of sample labels; The training process of the event extraction model includes: Inputting a training sample into the event extraction model to obtain an event extraction result output by the event extraction model; the event extraction result output by the event extraction model includes a first type of result and a second type of result, wherein the first type of result includes a labeling result of a trigger word position of the training sample and a category label labeling result of each text unit of the training sample, and the second type of result includes a sequence labeling result of an event trigger word and an event argument of the training sample; Calculate and determine an event extraction loss value of the event extraction model according to the event extraction result output by the event extraction model, as well as the first type sample label and the second type sample label; According to the event extraction loss value of the event extraction model, adjusting the operation parameters of the event extraction model; The above training process is repeated until the event extraction loss value of the event extraction model is less than the set value.
9. An event extraction device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to implement the event extraction method as described in any one of claims 1 to 7 by running the program in the memory.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the event extraction method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
English event trigger word extraction method and system
CN109325228A
Method and system for extracting economic events in judicial texts
CN111460830A
Event extraction method and device in text, electronic equipment and storage medium
CN111967268A
