Social network text sentiment analysis method based on deformable self-attention mechanism
A social network and sentiment analysis technology, applied in the field of social network text sentiment analysis, can solve the problems of learning local context features without different words, and not directly modeling multi-scale context features.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0050] Such as figure 1 It is a flow chart of the social network text sentiment analysis method based on the deformable self-attention mechanism disclosed in this embodiment, such as figure 1 As shown, the method includes the following steps:
[0051] S1. Segment each sentence in the user utterance text data into words. The data can be Chinese data or English data, and English data is taken as an example here. This sentence is a user's evaluation of a movie in a social network, and the sentiment classification label is negative. Such as figure 2 As shown, the sentence "The film has little insight into history." is segmented into words, and the segmented word sequence is obtained: [The, file, has, little, insight, into, history], and each word is used as a word vector express N is the number of words, here is 7, 1≤i≤7, the size of each word vector dimension is emb dimension, here is 300 dimensions;
[0052] S2, the word vector sequence Input the code representation ...
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