Event extraction method and system based on attention mechanism
An event extraction and attention technology, applied in the field of information extraction, can solve problems such as low recall rate, error propagation, event trigger words cannot be used in downstream tasks, etc., and achieve the effect of wide application range and improved recall rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] Embodiment 1, a kind of event extraction method based on attention mechanism, such as figure 1 shown, including the following steps:
[0053] S100. Constructing an extracted word prediction model:
[0054] S200, data preprocessing:
[0055] Obtain the text to be processed and its event type, extract the vector of each word in the text to be processed, obtain text vector data, extract the vector of each word in the event type, and generate event type vector data;
[0056] S300. Prediction of extracted words:
[0057] Inputting the text vector data and the event type vector data into the extracted word prediction model to obtain a tag sequence formed by tags corresponding to each word in the text to be processed;
[0058] The label is used to indicate whether the corresponding character belongs to the extracted word, and when it belongs to the extracted word, the position of the word in the extracted word and the category of the extracted word.
[0059] In this embodi...
Embodiment 2
[0106] Embodiment 2, an event extraction system, including a model building module and an extraction module:
[0107] The model construction module is used to use event trigger words and event arguments as extraction words, collect sample texts and event types thereof, and mark sample labels for each word corresponding to each extraction word in the sample texts; also use Extracting the vector of each word in the sample text to obtain a sample text vector, extracting the vector of each word in the event type to obtain a sample type vector; and the sample label training to obtain the extracted word prediction model;
[0108] The extraction module includes a preprocessing unit, a prediction unit and an extraction unit;
[0109] The preprocessing unit is used to obtain the text to be processed and its event type, extract the vector of each word in the text to be processed, obtain text vector data, extract the vector of each word in the event type, and generate event type vector da...
Embodiment 3
[0120] Embodiment 3. A computer-readable storage medium stores a computer program, and when the program is executed by a processor, the steps of the method described in Embodiment 1 are implemented.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com