Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Emotion analysis and generation method for news comments

A technology of sentiment analysis and sentiment classification, applied in semantic analysis, instrumentation, computing, etc., can solve the problems of not considering the semantics of the original news text at the same time, lack of high-quality related data sets, and viewing comments in isolation, so as to improve the ability of natural language generation Effect

Active Publication Date: 2022-05-06
SICHUAN UNIV
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the existing technology still has the following problems: when the existing pre-trained language model is migrated to the two downstream tasks of news comment sentiment analysis and generation, in order to ensure the effect, it still relies on a large amount of labeled data, and there is still a lack of high-level training in the field. High-quality relevant data sets, and manual labeling is time-consuming and laborious; most of the existing news comment sentiment analysis methods treat comments in isolation, without considering the semantics of the original news text at the same time; most of the existing comment generation methods are weak in controllability, only based on The original news text randomly generates comments, and it is impossible to set the desired emotional polarity at the time of generation to achieve public opinion guidance and other purposes; and research usually separates the two tasks of news comment sentiment analysis and generation, and lacks mutual promotion of the two tasks. relationship considerations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Emotion analysis and generation method for news comments
  • Emotion analysis and generation method for news comments
  • Emotion analysis and generation method for news comments

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The specific implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific examples. It should be understood that terms such as "having", "comprising" and "including" as used herein do not exclude the presence or addition of one or more other networks or combinations thereof.

[0044] Such as Figure 1~4 As shown, a method for sentiment analysis and generation of news comments, which specifically includes the following steps:

[0045] S1. Prepare the initial data set, which includes manually labeled small-scale data set A and large-scale unsupervised data set B;

[0046] Collect about 300,000 pieces of news covering various topics with more than 10 comments on Weibo, Toutiao, Tencent News and other websites, with Top 100 hot comments for each piece of news (collect all less than 100), and sample 5,000 pieces of them The news is manually and accurately labeled as a small-scale data se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an emotion analysis and generation method for news comments, and the method specifically comprises the following steps: preparing an initial data set which comprises a manually labeled small-scale data set A and a large-scale unsupervised data set B; on the basis of the data set B, using an open source sentiment classification tool to establish a large-scale pseudo-tag data set C for the news comment sentiment analysis model; pre-training a news comment sentiment analysis model based on the large-scale pseudo-tag data set C; after pre-training, performing fine tuning on the manually labeled small-scale data set A to obtain a final news comment sentiment analysis model; using the final news comment sentiment analysis model to carry out pseudo label labeling on the data set B again to obtain a large-scale pseudo label data set D; pre-training a controllable news comment generation model based on the large-scale pseudo-tag data set D; and after pre-training, carrying out fine tuning on the manually labeled small-scale data set A to obtain a final controllable news comment generation model.

Description

technical field [0001] The invention belongs to the field of sentiment analysis and text generation in natural language processing, and in particular relates to a method for sentiment analysis and generation of news comments. Background technique [0002] News comments are one of the important windows to listen to the voices of the people and understand their appeals. Faced with the massive news comments generated by the Internet all the time, natural language understanding technology is used to automatically analyze and monitor the mass news comments in real time. Public sentiment and detection of malicious and false comments are of great significance to policy formulation and risk control. While monitoring public opinion, use natural language generation technology to automatically and controllably generate comments for news, which is beneficial to guide the correct direction of public opinion and control negative public opinion. [0003] Sentiment analysis can be abstract...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/247G06F40/284G06F40/30G06F40/216
CPCG06F40/247G06F40/284G06F40/30G06F40/216Y02D10/00
Inventor 彭德中张蔚琪吕建成彭玺桑永胜胡鹏孙亚楠王旭陈杰王骞
Owner SICHUAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products