Text category prediction method and device, equipment, storage medium and program product

A prediction method and category technology, applied in the computer field, can solve problems such as inability to accurately represent multi-level and multi-category, missing prediction results, etc.

Active Publication Date: 2022-07-05
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, the first classifier and the third classifier have prediction results, while the second classifier lacks prediction results. For example, the multi-level category predicted for the short text "rice cooker shelf" is: "furniture_UNK _Shelf Shelf", where UNK stands for unknown, which cannot accurately represent the multi-level and multi-category corresponding to the text

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 category prediction method and device, equipment, storage medium and program product
  • Text category prediction method and device, equipment, storage medium and program product
  • Text category prediction method and device, equipment, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0089] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

[0090] Artificial intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence...

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 a text category prediction method and device, computer equipment, a storage medium and a computer program product. The method relates to an automatic text classification technology of artificial intelligence, and comprises the following steps: performing semantic coding according to a semantic vector of each word in a short text through a coding layer of a trained text category prediction model to obtain a semantic coding vector of the short text; through a decoding layer of the text category prediction model, performing first decoding according to the semantic coding vector to obtain a first decoding hidden vector, and after obtaining a first category corresponding to the short text based on the first decoding hidden vector, continuing to perform current decoding according to a decoding hidden vector obtained by previous decoding and the category; obtaining a decoding hidden vector and a category of the current decoding until the decoding is finished; and combining the plurality of categories obtained by decoding according to the hierarchy to obtain the category path corresponding to the short text, so that the problem of consistency of father and child nodes of the multi-hierarchy category path can be improved, and the category path of the text can be accurately predicted.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a text category prediction method, device, computer equipment, storage medium and computer program product, and also to a text category prediction model processing method, device, computer equipment, storage medium and computer program products. Background technique [0002] With the gradual development of machine learning and deep learning techniques, significant progress has been made in classifying text using well-performing neural networks. Automatic text classification technology, especially short text classification, is widely used in various industries, such as commodity search, commodity intelligent recommendation, news classification, human-machine writing judgment, spam identification, user sentiment classification, and intelligent copywriting generation. [0003] In the multi-category classification of short texts, the categories usually have a hierarchica...

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
IPC IPC(8): G06F16/35G06F40/30G06N3/04G06N3/08
CPCG06F16/353G06F40/30G06N3/08G06N3/044G06N3/045
Inventor朱秀红张伟曹训黄泽谦
OwnerTENCENT TECH (SHENZHEN) CO LTD