Text sentiment classification model training method and device, computer equipment and medium

A technology of emotion classification and model training, applied in the field of artificial intelligence, can solve the problems that word2vec cannot solve polysemy and grammar, and is not suitable for medical long text classification, so as to achieve great practical application value, overcome word limit, and improve efficiency Effect

Pending Publication Date: 2020-11-24
深圳赛安特技术服务有限公司
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventor found in the process of implementing the present invention that word2vec cannot solve the problems of polysemy and grammar. Although the pre-training model BERT can solve the problems of polysemy and grammar, it can only solve the problems of text length less than 512 word text
It can be seen that the current text classification method has a good classification effect for short texts, but it is not suitable for the classification of long medical texts.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text sentiment classification model training method and device, computer equipment and medium
  • Text sentiment classification model training method and device, computer equipment and medium
  • Text sentiment classification model training method and device, computer equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to more clearly understand the above objects, features and advantages of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments may be combined with each other under the condition of no conflict.

[0060]Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.

[0061] figure 1 This is a flowchart of the text emotion classification model training method provided by the first embodiment of the present invention. The text sentiment classification model training meth...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of artificial intelligence, and provides a text sentiment classification model training method and device, computer equipment and a medium. The method comprises the following steps: obtaining a plurality of long texts, and segmenting each long text to obtain a plurality of text statements; calculating a TextRank value of each text statement in each longtext, and generating a text abstract for each long text according to the TextRank value; calculating an emotion score of each text statement in each text abstract; sorting a plurality of text statements in each text abstract according to the emotion scores, and generating a text data set according to the sorted text statements; and training a plurality of text data sets based on the pre-trainingmodel to obtain a text sentiment classification model. The sentiments of the long texts can be accurately classified, and the position information, the time sequence information and the semantic information of the original long texts are not lost.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence, in particular to a text emotion classification model training method, device, computer equipment and medium. Background technique [0002] Sentiment analysis of long medical texts is an important part of network public opinion monitoring, which can effectively distinguish negative information, enable managers to verify and explain negative information in a timely and effective manner, and monitor the outbreak of network public opinion at all times. [0003] At present, the word2vec method is mostly used to encode text to achieve text classification, or the pre-trained model BERT is used to achieve text classification. However, in the process of implementing the present invention, the inventor found that word2vec cannot solve problems such as polysemy and grammar. Although the pre-training model BERT can solve problems such as polysemy and grammar, it can only solve the problems of...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/35G06F40/289G06F40/30G06F40/242
CPCG06F16/355G06F40/242G06F40/289G06F40/30
Inventor 宋威
Owner 深圳赛安特技术服务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products