Text classification method and device, electronic equipment and storage medium

A text classification and text information technology, applied in text database clustering/classification, unstructured text data retrieval, semantic analysis, etc., can solve difficult text data, classification and other problems

Pending Publication Date: 2021-09-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a text classification method, device, electronic equipment and storage medium to solve the problem that it is difficult to classify text data from different types of data sources

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 classification method and device, electronic equipment and storage medium
  • Text classification method and device, electronic equipment and storage medium
  • Text classification method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are of the present application. Some embodiments of the technical solution, but not all embodiments. All other embodiments obtained by persons of ordinary skill in the art without creative work based on the embodiments recorded in the present application documents fall within the protection scope of the technical solutions of the present application.

[0044] The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that data so use...

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 field of computers, in particular to the technical field of artificial intelligence, and discloses a text classification method and device, electronic equipment and a storage medium; the method comprises the steps: obtaining to-be-recognized text information, inputting the text information into a trained first text classification model, and obtaining a target word vector matrix; performing semantic mining processing on each target word vector to obtain a corresponding semantic feature, and finally obtaining a target prediction classification result based on each semantic feature, wherein the first text classification model is obtained by performing parameter adjustment based on a first loss value and a second loss value, the first loss value is an error value between the prediction classification result and the actual classification result, and the second loss value is an error value between the two prediction classification results. According to the invention, two loss values are used for adjusting parameters of the first text classification model, so that a predicted classification result of the first text classification model approaches to an actual classification result and another predicted classification result, and the classification accuracy of the model is further improved.

Description

technical field [0001] The present application relates to the field of computers, in particular to the technical field of artificial intelligence, and discloses a text classification method, an apparatus, an electronic device and a storage medium. Background technique [0002] With the advent of the era of big data, there is a large amount of text data from different data sources on the Internet, such as judging whether the text data such as webpages and official account articles are illegal texts, so as to filter and supervise reasonably. [0003] In order to respond to the needs of text classification tasks, a text classification model can be used to classify text data from different types of data sources, but the text data from different data sources have differences in expression, text length, etc., resulting in the text classification model. The classification effect is relatively poor. You can also use multiple text classification models to classify text data from diff...

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/30
CPCG06F16/35G06F40/30
Inventor 唐亚腾钟滨徐进王志平
Owner TENCENT TECH (SHENZHEN) CO LTD
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