Unlock instant, AI-driven research and patent intelligence for your innovation.

Text classification method and device and storage medium

A text classification and text technology, applied in the field of communication, can solve problems such as poor classification effect

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

AI Technical Summary

Problems solved by technology

At present, many methods simply combine the features of the text on both sides, or directly input them into a model with a self-attention mechanism for classification, and the classification effect is poor.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] 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, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0057] Embodiments of the present invention provide a text classification method, device and storage medium. Wherein, the text classification may be integrated in an electronic device, and the electronic device may be a computer device, a server, or a terminal.

[0058] Text classification refers to the process in which a computer automatically classifies input text according to a certain category system through an algorithm. For example, see Figure 1a , firstly, after the e...

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 embodiment of the invention discloses a text classification method and device and a storage medium. According to the embodiment of the invention, the method comprises: obtaining to-be-classified text pairs; wherein the to-be-classified text pair comprises a first text and a second text; selecting a first keyword of the first text and a second keyword of the second text from the to-be-classified text pair; performing feature extraction on texts in the to-be-classified text pair; then, according to the word feature information of the first text and the word feature information of the secondkeyword, obtaining a second text; obtaining first attention feature information, and obtaining second attention feature information according to the word feature information of the second text and theword feature information of the second keyword, and then classifying the to-be-classified text pairs based on the first attention feature information, the second attention feature information, the first semantic feature information and the second semantic feature information to obtain a classification result. According to the scheme, the text classification accuracy can be effectively improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a text classification method, device and storage medium. Background technique [0002] With the development of artificial intelligence (AI), natural language processing technology has become an important research direction in Internet applications. In the Natural Language Processing (NLP) method based on deep neural network, the classification of text pairs is a very basic and important problem, which is widely used in search, recommendation, dialogue and other fields. Usually, in a pair of texts, text A refers to user questions, and text B refers to content sources to be matched, such as questions in the question-and-answer library, content of web pages, text descriptions of products, and so on. Text pair classification should not only consider the information of a single text, but also consider the interaction information between text pairs. At present, many methods si...

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): G06K9/62G06F16/36
CPCG06F16/367G06F18/24G06F18/253
Inventor 缪畅宇
Owner TENCENT TECH (SHENZHEN) CO LTD