Irony detection method based on intra-sentence word pair relation and context user characteristics
A technology of user characteristics and detection methods, applied in the field of emotion classification, which can solve problems such as inability to capture long-distance dependencies and incoherent sentences
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The present invention will be further described below in conjunction with the accompanying drawings.
[0022] refer to figure 1 , figure 2 , image 3 , Figure 4 and Figure 5 , an irony detection method based on intra-sentence word-pair relations and contextual user characteristics, including the following steps:
[0023] Step 1. Preprocess the comment text that needs irony detection:
[0024] 1.1. Delete words that appear only once in the entire corpus and replace them with UNK tags;
[0025] 1.2. Delete comments with less than 5 words;
[0026] 1.3. Use the W2V word vector model to represent each comment as a column of word vectors no i is the sentence length.
[0027] Step 2. Use the self-attention mechanism to model the association of each word to obtain the intra-sentence attention representation:
[0028] 2.1 pair input sequence Each word in models the relationship (between words): in, is a parameter that needs to be learned through training. ...
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