Supercharge Your Innovation With Domain-Expert AI Agents!

Sentence sorting method and device, terminal equipment and storage medium

A classification method and storage medium technology, applied in the field of sentence classification, can solve problems such as inaccurate matching, achieve the effects of improving accuracy, obvious separability, and reducing computational complexity

Active Publication Date: 2018-11-30
龙马智芯(珠海横琴)科技有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above problems, the object of the present invention is to provide a sentence classification method, device, terminal equipment and storage medium, which can solve the problem of inaccurate matching when classifying sentences, can improve the accuracy of topic judgment, and make the sentence The classification results obtained when classifying are more rationalized

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
  • Sentence sorting method and device, terminal equipment and storage medium
  • Sentence sorting method and device, terminal equipment and storage medium
  • Sentence sorting method and device, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 2 example

[0065] On the basis of the first embodiment, the step S40 is specifically:

[0066] According to the weight and frequency of occurrence of each keyword of each topic, calculate the similarity between the sentence to be classified and each topic; wherein, the frequency of occurrence of each keyword is the occurrence of the corresponding participle frequency;

[0067] Classify the sentences to be classified according to the similarity.

[0068] In this embodiment, after receiving a new sentence to be classified, each topic is matched with the new sentence, and the weight of each keyword of each topic is combined with the frequency of occurrence to calculate the relationship between the new sentence and the new sentence. The similarity of each topic, and then judge the topic to which the new sentence belongs according to the similarity.

[0069] In an implementation in this embodiment, when calculating the similarity between the new sentence and each topic, specifically:

[00...

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 sentence sorting method. The method comprises the steps that sentences of all subjects are acquired from a to-be-processed training library to obtain segmental words of all the subjects and the occurrence frequencies of all the segmental words; according to the occurrence frequencies of all the segmental words, key words of all the subjects are acquired from the segmentalwords of all the subjects; the weight of each key word of each subject is calculated; according to the weight and occurrence frequency of each key word of each subject, to-be-sorted sentences are sorted; the occurrence frequency of each key word is the occurrence frequency of a corresponding segmental word. The invention further discloses a sentence sorting device, terminal equipment and a storage medium, the problem that in the sorting process of the sentences, the matching is not accurate can be solved, and the accuracy of subject judgment is improved, so that the sentence sorting is more reasonable.

Description

technical field [0001] The present invention relates to the technical field of sentence classification, in particular to a sentence classification method, device, terminal equipment and storage medium. Background technique [0002] Sentence classification is a key problem in spoken language understanding (SLU) and natural language processing (NLP). For example, sentence classification, sentiment classification, user intent classification, etc. can be performed on sentences. The current method for classifying sentences is to judge the topic or category to which the sentence to be classified belongs by matching the frequency of keywords of each topic with the keywords of the sentence to be classified. [0003] However, the inventor found in the process of implementing the present invention that some keywords may appear in multiple topics, and some keywords have a higher frequency of occurrence, which easily leads to inaccurate matching when sentences are classified, and reduc...

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): G06F17/30G06F17/27
CPCG06F40/216
Inventor 郑权张峰聂颖
Owner 龙马智芯(珠海横琴)科技有限公司
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