Emotion analysis method and system for enterprise subjects in financial news
A sentiment analysis, enterprise technology, applied in the field of data processing, can solve the problems of RNN gradient disappearance, limited memory effect, powerlessness, etc., to achieve the effect of high classification accuracy, reduced labor costs, and easy maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Such as figure 1 Shown, the present invention provides a kind of sentiment analysis method of business main body in financial news, it is characterized in that, described method comprises the following steps:
[0043] S1: collect news data, perform model training according to the collected news data, and obtain a classification prediction model;
[0044] S2: Input the news data to be classified into the classification prediction model, and perform classification prediction on the emotional labels of the business entities in the news data to be classified.
[0045] Preferably, the step S1 includes: using crawler technology to collect financial news data; and summarizing the names of companies that need attention into a table.
[0046] Specifically, a web crawler is used to grab as many financial news materials as possible from news data sources, and the financial news materials are stored in the database in the form of text. Sources of news data include the company new...
Embodiment 2
[0067] Figure 6 A flow chart of the method for training the classification prediction model and classifying the emotional labels of the enterprise subjects is shown in the present invention.
[0068] Among them, the specific implementation of the method for training the classification prediction model and the method for classifying the emotional labels of the main body of the enterprise is the same as the implementation of the model training method and label classification method described in the first embodiment. Let me repeat.
Embodiment 3
[0070] The present invention provides an emotional analysis system for business entities in financial news, the system includes a data capture module, a model training module, and a label classification prediction module;
[0071] The data capture module is used to collect financial news data using crawler technology;
[0072] The model training module is used to obtain training samples and test samples Sample=(N, ST, T, L) from the data set according to a predetermined ratio; text is input into the BERT model, and the hidden layer of the last layer of the BERT model is obtained Layer output as a word vector representation of the text;
[0073] Use the deep learning network to encode the full text of the news N and put it into the main memory of the model, and store the vector representation of each sentence obtained after processing into the main storage module; use the deep learning network to encode the sentence S where the main body of the enterprise is located and put it ...
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