Supercharge Your Innovation With Domain-Expert AI Agents!

A text classification method and device

A text classification and classifier technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as waste of human resources

Active Publication Date: 2017-12-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, this application provides a text classification method and device for solving the problem of wasting a lot of human resources in the existing manual labeling training set

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
  • A text classification method and device
  • A text classification method and device
  • A text classification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0043] The text classification method of the present application is used to obtain a corresponding training set for a specified classification category. This application needs to label a verification set when generating the training set corresponding to the specified classification category for the first time, and the verification set includes samples of several labeled categories. The number of validation sets is much smaller than the training set. When labeling the new corpus in ...

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. The method comprises the following steps: utilizing each unlabeled linguistic data training word vector model in a corpus to obtain a target word vector model; according to the target word vector model, carrying out word expansion on a preset keyword corresponding to an appointed classification category to obtain a phrase set corresponding to the appointed classification category; according to the corpus, independently training a classifier for each phrase in the phrase set to obtain a target classifier independently corresponding to each phrase; according to a preset validation set, carrying out classification accuracy verification on the target classifier corresponding to each phrase, and selecting the phrase of which the classification accuracy conforms to a first set condition as a target phrase; and according to the target phrase contained in each piece of linguistic data in the corpus, selecting the linguistic data which meets a second set condition, labelling the linguistic data as a positive example sample of the appointed classification category, and adding the positive example sample into a training set. By use of the scheme of the invention, when the training set is generated for the first time, only multiple keywords need to be selected, a plurality of verification samples need to be labelled, and therefore, the new linguistic data can be subsequently automatically labelled.

Description

technical field [0001] The present application relates to the technical field of sample classification, and more specifically, to a text classification method and device. Background technique [0002] Text classification means that the computer automatically classifies and marks the text collection according to a certain classification system. Text classification usually includes the following steps: establishment of a classification system, obtaining a labeled training set, training a classification model, and using the trained classification model to predict the category of new text. [0003] Among them, the process of obtaining the labeled training set is to perform category labeling on the corpus of unknown categories, and the labeled corpus forms the training set. The size of the training set and the accuracy of the corpus annotation will directly affect the recognition accuracy of the trained classification model. The way of obtaining labeled training sets in the pri...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/355
Inventor 卢铮段焕中
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More