Drammar-fused aspect-level text sentiment classification method and system
A technology for sentiment classification and text, applied in text database clustering/classification, semantic analysis, neural learning methods, etc., can solve problems such as ignoring grammatical information, misidentifying key context words, etc., achieve simple models, improve accuracy, and improve The effect of accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] This embodiment provides an aspect-level text sentiment classification method that integrates grammar;
[0033] Such as figure 1 As shown, an aspect-level text sentiment classification method that integrates grammar, including:
[0034] S101: Acquiring aspect-level emotional texts to be classified; preprocessing the aspect-level emotional texts to be classified to obtain text information to be classified;
[0035] S102: Input the text information to be classified into the trained deep learning model, and obtain the classification result of the aspect-level emotional text to be classified;
[0036] Among them, the trained deep learning model first performs word embedding processing on the text information to be classified to obtain the text word vector matrix; then, aggregates the text word vector matrix to obtain the hidden state of the text; then, the hidden state of the text Perform weighting processing to obtain a text representation with grammar awareness; then, f...
Embodiment 2
[0098] This embodiment provides an aspect-level emotional text classification system that integrates grammar;
[0099] An aspect-level sentimental text classification system incorporating grammar, including:
[0100] A preprocessing module configured to: acquire aspect-level emotional texts to be classified; perform preprocessing on the aspect-level emotional texts to be classified to obtain text information to be classified;
[0101] The classification module is configured to: input the text information to be classified into the trained deep learning model to obtain the classification result of the aspect-level emotional text to be classified;
[0102] Among them, the trained deep learning model first performs word embedding processing on the text information to be classified to obtain the text word vector matrix; then, aggregates the text word vector matrix to obtain the hidden state of the text; then, the hidden state of the text Perform weighting processing to obtain a te...
Embodiment 3
[0107] This embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein, the processor is connected to the memory, and the one or more computer programs are programmed Stored in the memory, when the electronic device is running, the processor executes one or more computer programs stored in the memory, so that the electronic device executes the method described in Embodiment 1 above.
[0108] It should be understood that in this embodiment, the processor can be a central processing unit CPU, and the processor can also be other general-purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate array FPGA or other programmable logic devices , discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, o...
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