Natural language text entity relationship extraction method and device
A natural language and entity relationship technology, applied in the field of information processing, can solve problems such as large amount of calculation, achieve low calculation intensity, reduce calculation amount, and solve the effect of long-distance dependence
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] see figure 2 , Embodiment 1 of the present invention provides a natural language text entity relationship extraction method, including:
[0065] S1. Separate and arrange the articles in the experimental corpus to obtain sentences;
[0066] S2. Perform word segmentation and part-of-speech tagging on the obtained sentences, and convert natural language sentences into words;
[0067] S3. Mark the association between words by manual means to form a training set;
[0068] S4. Determine whether the similarity between any two words exceeds a given threshold, and decide whether to generate a link between the corresponding words to form a directed acyclic graph;
[0069] S5. Invoke the Similar-Chain CRF algorithm and the training model to perform training calculations to obtain a parameter model;
[0070] S6 , predicting and analyzing the given natural language text through the parameter model, and outputting a pair of associated nodes; extracting the entity relationship of ...
Embodiment 2
[0098] see image 3 , Embodiment 2 of the present invention provides a natural language text entity relationship extraction device, including:
[0099] Sentence processing module 1, used to separate and arrange the articles in the experimental corpus to obtain sentences;
[0100] The word generation module 2 is used to perform word segmentation and part-of-speech tagging on the obtained sentences, and convert natural language sentences into words;
[0101] The labeling module 3 is used to manually mark the relationship between words and words to form a training set;
[0102] The similarity analysis module 4 is used to judge whether the similarity between any two words exceeds a given threshold, and decide whether to generate a link between the corresponding words to form a directed acyclic graph;
[0103] The training module 5 is used to call the Similar-Chain CRF algorithm and the training model for training calculation, and obtain the parameter model;
[0104] Prediction ...
Embodiment 3
[0119] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, where the computer-readable storage medium stores a program code for a method for extracting an entity relationship from a natural language text, the program code includes a method for executing Embodiment 1 or Instructions for a natural language text entity relation extraction method for any of its possible implementations.
[0120] A computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.
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