Case-related news viewpoint sentence recognition method based on BERT and BiLSTM-Attention
A recognition method and a technology of opinion sentences, which are applied in the field of opinion sentence recognition and neural networks, can solve the problems of complex feature engineering and invisible noise in the opinion sentence recognition method, and achieve the effect of improving classification and recognition effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0053] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
[0054] Such as figure 1 Shown, the inventive method is divided into six steps:
[0055] Step S1: Input the news text involved in the case, perform preprocessing, perform word segmentation on the text, and remove stop words.
[0056] For example, there is a Chinese sentence sentence1=['I love natural language processing'], sent1=I / love / nature / language / processing after word segmentation.
[0057] Step S2: use BERT to pre-train word vectors, for example, a certain sentence S has a length of n, and S={w 1 ,w 2 ,...w n}, where w i is the i-th word in the sentence S, w i can be mapped to a word vector e i , where 1≤i≤n.
[0058] At the same time, there is a word vector matrix: W∈R d*|V| , where |V| is the vocabulary length and d is the word vector dimension.
[0059] Get the word vector corresponding to each word through the word vector ma...
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