Event extraction method and device
The invention provides an event extraction method and device, and the method comprises the steps: carrying out the fine adjustment of a general information extraction model according to small sample data, inputting raw corpus data into the fine-adjusted general information extraction model, and carr...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides an event extraction method and device, and the method comprises the steps: carrying out the fine adjustment of a general information extraction model according to small sample data, inputting raw corpus data into the fine-adjusted general information extraction model, and carrying out the prediction, so as to obtain new sample data, the method comprises the following steps of: firstly, extracting UIE (User Identity Element), newly added sample data, then taking the small sample data and the newly added sample data as training data to train an ERNIE model, encoding a target text according to the trained ERNIE model to obtain a corresponding feature vector, and finally, decoding the feature vector according to a Global Pointer model to obtain an event element, extracting the event element based on the UIE, the ERNIE and the Global Pointer, and finally, extracting the event element based on the UIE, the ERNIE and the Global Pointer. According to the method, the training samples can be expa |
---|