Aspect-Level Sentiment Classification Method Based on BERT and Multilayer Attention Mechanism
A sentiment classification and attention technology, applied in the direction of text database clustering/classification, semantic analysis, instruments, etc., can solve the problems of information loss, gap, complex manual design, etc., to achieve the effect of improving accuracy and precision
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0050] The technical solutions of the present invention are further described below with reference to the accompanying drawings.
[0051] like figure 1 As shown, the aspect-level sentiment classification method based on BERT and multi-layer attention mechanism of the present invention includes the following steps:
[0052] S1. Preprocess the training corpus; including the following sub-steps:
[0053] S11. Extract the Aspect word in each comment (a corpus may contain multiple Aspect words) from the training corpus data, and obtain the Aspect word set DataAspect;
[0054] S12. Extract a comment corresponding to each Aspect word from the training corpus data to obtain a set DataContext;
[0055] S13. Count the sentiment polarity of the Aspect word and the corresponding corpus, where 1 represents positive, 0 represents neutral, and -1 represents negative, and the label set LableSet is obtained;
[0056] S14. Perform position symbol processing on the DataContext, and add a pos...
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