A Chinese sentiment analysis method and system
A technology of sentiment analysis and emotion, applied in the field of sentiment analysis, can solve problems such as the lack of delicateness in analyzing emotions, and achieve the effect of improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045]This embodiment provides a Chinese sentiment analysis method, such asfigure 1 As shown, the method includes the following steps:
[0046]S101. Obtain all emotional words in the Chinese sentence, and acquire the positive emotional weight and the negative emotional weight of each emotional word.
[0047]First, we have a weighted sentiment dictionary. Each sentiment word in the weighted sentiment dictionary is marked with a positive sentiment weight and a negative sentiment weight. In this way, when the sentiment word is obtained, we can get the sentiment word matrix about the sentiment word (Include emotional words, and the positive and negative emotional weights corresponding to the emotional words).
[0048]S102: Obtain an adverb corresponding to each emotional word from the Chinese sentence, and acquire the weight of the corresponding adverb, and modify the positive emotional weight or the negative emotional weight of the emotional word according to the weight of the corresponding adv...
Embodiment 2
[0056]The Chinese sentiment analysis method provided by the embodiment of the present invention supplements the steps and content on the basis of the first embodiment. For the details of the present embodiment, please refer to the first embodiment.
[0057]Such asfigure 2 As shown, the Chinese sentiment analysis method includes the following steps:
[0058]S100. Construct a weighted emotion dictionary in advance; the weighted emotion dictionary includes emotion words and positive emotion weights and negative emotion weights corresponding to the emotion words.
[0059]With the evolution of Chinese, sentiment words are still increasing. In the process of text analysis, we have accumulated a large number of sentiment words and built a weighted sentiment dictionary, including about 20,000 Chinese sentiment words. The original sentiment dictionary is as follows Table 1 only arbitrarily divides emotional vocabulary into positive emotional inclination and negative emotional inclination. In addition...
Embodiment 3
[0091]The Chinese sentiment analysis system provided by the embodiment of the present invention corresponds to the method in the first embodiment. For the details of the present embodiment, please refer to the first embodiment.
[0092]referenceimage 3 , A Chinese sentiment analysis system, including the following modules:
[0093]The first obtaining module 101 is used to obtain all the emotional words in the Chinese sentence, and obtain the positive emotional weight and the negative emotional weight of each emotional word.
[0094]The second acquiring module 102 is configured to acquire the adverb corresponding to each emotional word from the Chinese sentence, and acquire the weight of the corresponding adverb.
[0095]The modification module 103 is used to modify the positive emotion weight or the negative emotion weight of the emotion word according to the weight of the corresponding adverb.
[0096]The third obtaining module 104 is configured to obtain a negative word corresponding to each emo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


