Short-text emotion analysis method and device based on concept based on text emotion
A short text and text technology, applied in the field of information processing, can solve the problem of low accuracy of sentiment analysis 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
[0061] figure 1 It is a schematic flowchart of a short text sentiment analysis method based on concepts and text sentiment in an embodiment of the present invention. Such as figure 1 As shown, the method includes:
[0062] Step 110: Perform data preprocessing on the short text;
[0063] Further, the data preprocessing of the short text also includes: performing word segmentation processing on the short text; performing part-of-speech tagging on the short text; performing dependency syntax analysis on the short text to obtain binary metaphrase.
[0064] Specifically, preprocessing the short text mainly includes the following aspects:
[0065] Perform word segmentation processing on the text data, divide the short text into text-word sequences, and mark the divided words according to their semantics. Perform dependency syntactic analysis on the text-word sequence, and extract the binary phrases in the sentence according to the syntactic structure of the sentences in the tex...
specific Embodiment approach 1
[0102] The determining the final emotional polarity category according to the text concept feature vector and the text emotion feature vector also includes: performing feature fusion according to the text concept feature vector and the text emotion feature vector to obtain comprehensive text features; According to the integrated text features, the final emotional polarity category is determined.
[0103] Specifically, the two features extracted in the second section: the concept feature vector and the text emotion feature vector are fused to obtain a richer text feature that not only retains the text semantic information but also contains the sentence emotional features, and remembers the final text feature The vector is w(d), then w(d) is expressed as the concatenation of the concept feature vector and the text emotion feature:
[0104] w(d)=concatenate(w c (d),w s (d))
[0105] where w c (d) and w s (d) represent the concept feature vector of the text and the emotional ...
specific Embodiment approach 2
[0106] According to the text concept feature vector and the text emotion feature vector, determining the final emotion polarity category also includes: training an SVM classifier according to the text concept feature vector to obtain a text concept feature classification model; according to the text emotion feature The vector training SVM classifier obtains the text emotion feature classification model; according to the text concept feature classification model and the text emotion feature classification model, the category probability distribution of unknown samples is weighted to determine the final emotion polarity category.
[0107] Specifically, an SVM classifier is trained on the text concept feature vector and the text emotion feature vector to obtain two classification models of feature vectors: a concept feature classification model and a text emotion feature classification model. The final emotional polarity category is obtained by weighting the category probability d...
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