Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text consistency calculation method and device

A calculation method and consistent technology, applied in the field of data processing, can solve problems such as difficulty in accurately evaluating the quality of articles, not considering the true meaning of the words in the article, and not considering the importance of sentences in the article.

Active Publication Date: 2019-08-30
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, for articles created on the Internet, the quality of the article is generally evaluated only based on the semantic consistency of the article, and does not involve the logical consistency of the article. The importance of each sentence in the article is not considered, and the semantic consistency is calculated by calculating the The similarity between the title and the text of the article is used to determine the semantic consistency, without considering the true meaning of the words in the article, making it difficult to accurately assess the quality of the article

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 consistency calculation method and device
  • Text consistency calculation method and device
  • Text consistency calculation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0027] The method and device for calculating text consistency in the embodiments of the present application are described below with reference to the accompanying drawings.

[0028] figure 1 It is a schematic flow chart of a text consistency calculation method provided in the embodiment of the present application. like figure 1 As shown, the text consistency calculation method includes the following steps:

[0029] In step 101, the article to be processed is obtained, and the article includes: title and text.

[0030] 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 provides a text consistency calculation method and device. The method comprises the steps of obtaining an article to be processed; extracting a plurality of sentences related to the title from the text; for each sentence in the plurality of sentences, inputting the sentence and the title into a preset semantic consistency model, and obtaining a semantic vector corresponding to the sentence; determining a semantic vector corresponding to the article according to the semantic vector corresponding to each sentence; for each sentence combination in the plurality of sentences, inputting the sentence combination into a preset logic consistency model, obtaining a logic label corresponding to the sentence combination, and determining a logic vector corresponding to the article according to the logic label corresponding to each sentence combination; and according to the logic vector and the semantic vector, determining the text consistency value of the article. According to the method, the quality of the text can be accurately evaluated on the basis of the semantic consistency and the logic consistency of the text, meanwhile, a user can be helped to evaluate and assist the writing quality, and the use experience of the user is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a text consistency calculation method and device. Background technique [0002] At present, for articles created on the Internet, the quality of the article is generally evaluated only based on the semantic consistency of the article, and does not involve the logical consistency of the article. The importance of each sentence in the article is not considered, and the semantic consistency is calculated by calculating the The similarity between the title and the text of the article is used to determine the semantic consistency, without considering the true meaning of the words in the article, making it difficult to accurately evaluate the quality of the article. Contents of the invention [0003] The purpose of this application is to solve one of the technical problems in the related art at least to a certain extent. [0004] Therefore, the first purpose of thi...

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/27G06K9/62G06N3/04
CPCG06F40/205G06F40/30G06N3/045G06F18/22
Inventor 赖佳伟付志宏何径舟杨宇鸿张小彬徐梦笛
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products