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

Method and device for classifying sentences based on TF-IDF algorithm and computer storage medium

A TF-IDF, sentence technology, applied in computing, text database clustering/classification, special data processing applications, etc., can solve the problem of inaccurate sentences in news reports

Pending Publication Date: 2021-08-10
CAPITAL NORMAL UNIVERSITY
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a sentence-based TF-IDF feature and preset topic categories to classify news battle report sentences to solve the problem that news battle report sentences are not accurate enough

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
  • Method and device for classifying sentences based on TF-IDF algorithm and computer storage medium
  • Method and device for classifying sentences based on TF-IDF algorithm and computer storage medium
  • Method and device for classifying sentences based on TF-IDF algorithm and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present 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 creative efforts fall within the protection scope of this application.

[0044] see figure 1 , figure 1 It is a flow chart of the method for classifying sentences based on TF-IDF provided by the embodiment of the present application, such as figure 1 shown, including the following steps:

[0045] Step S101. Acquire news battle report sentences, and preprocess the sentences.

[0046] In the embodiment of the present application, the news battle report sentence is obtained from the existing news battle report articles; wherein the news battle ...

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 provides a method and a device for classifying sentences based on TF-IDF (term frequency-inverse document frequency). The method comprises the following steps: obtaining news wartime sentences, and preprocessing the sentences; extracting TF-IDF (term frequency-inverse document frequency) features of the preprocessed sentences; and classifying the news combat sentences based on the TF-IDF features of the sentences and a preset theme category. In this way, the sentences are preprocessed, and the sentences are classified according to the TF-IDF features and the preset theme categories, so that the classification accuracy is improved.

Description

technical field [0001] The present application relates to the field of text classification, in particular to a method, device and computer storage medium for classifying sports news battle report sentences based on the TF-IDF algorithm. Background technique [0002] With the rapid development of information technology, people have higher and higher requirements for the timeliness of news, especially sports event reports, which often need to be released quickly after the game is over; , audio, video) to automatically generate battle report news, which has become a research hotspot. [0003] However, the battle report news needs to reflect the scores of both sides in different stages of the game, the game trend, the game results and other information; therefore, it is necessary to analyze, train, and classify the historical news battle report sentences in order to generate theme templates for users to write battle report articles, thereby improving the battle report news. Com...

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/289G06F40/44
CPCG06F16/35G06F40/289G06F40/44
Inventor 朱海平张凯王春辉彭馨葭李雪伟蔡红王文超
Owner CAPITAL NORMAL UNIVERSITY