Text classification method and device and computer equipment

A text classification and text technology, applied in the computer field, can solve the problems of ignoring the relationship between category labels and category labels, poor text classification accuracy, etc., to improve the accuracy of intent recognition, improve accuracy, and enhance the capture of text and category labels to be classified The effect of the relationship between and the ability to capture the relationship between class labels and class labels

Active Publication Date: 2019-10-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the prior art, the multi-label task is generally divided into multiple single-label binary classification tasks, and the relationship between the text to be classified and the category label is used for classification. Although this classification method can capture the relationship between the text to be classified and the category label relationship, but ignores the relationship between category labels and category labels, resulting in poor accuracy of text classification

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 and computer equipment
  • Text classification method and device and computer equipment
  • Text classification method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0070] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than th...

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 discloses a text classification method and device and computer equipment, and the method comprises the steps: obtaining a to-be-classified text and a preset class label vector; performing content coding processing on the to-be-classified text based on a coding channel of the text classification model to obtain a content coding vector; determining a to-be-decoded vector according to the preset category label vector and the content coding vector; decoding the to-be-decoded vector based on a decoding channel of a text classification model, the target condition vector and a target category label vector output by the decoding channel at the previous moment to obtain a category label of the to-be-classified text, wherein the target condition vector is a vector determined accordingto a content coding vector and a hidden layer state vector of a decoding channel at the previous moment. According to the method, the capability of capturing the relationship between the to-be-classified text and the category labels and the relationship between the category labels is improved, so that the output category labels of the to-be-classified text are more accurate, and the text classification accuracy is improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a text classification method, device and computer equipment. Background technique [0002] In related technologies, texts that may belong to multiple categories at the same time are called multi-label texts. With the development of artificial intelligence technology, multi-label text classification methods based on machine learning are widely used. [0003] However, in the prior art, the multi-label task is generally divided into multiple single-label binary classification tasks, and the relationship between the text to be classified and the category label is used for classification. Although this classification method can capture the relationship between the text to be classified and the category label relationship, but ignores the relationship between class labels and class labels, resulting in poor accuracy of text classification. Contents of the invention [0004] In ord...

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/35G06F16/33G06F16/38
CPCG06F16/35G06F16/3347G06F16/38
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