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

Title generation method and device, electronic device and storage medium

A technology for generating devices and titles, which is applied in the fields of digital data processing, character and pattern recognition, instruments, etc., can solve problems such as affecting article distribution and user benefits, affecting the ecological quality of content, and inaccurate semantics, achieving high reliability, Avoid the effect of incoherent sentences and accurate semantics

Pending Publication Date: 2020-01-21
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the author publishes on the network platform, there is often a problem of difficulty in writing the title
Poor quality titles not only affect the distribution of articles and user revenue, but also affect the quality of the entire content ecosystem
At present, the method of automatically generating titles has the defects of unsound sentences and inaccurate semantics

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
  • Title generation method and device, electronic device and storage medium
  • Title generation method and device, electronic device and storage medium
  • Title generation method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0084] As an exemplary implementation, such as figure 1 As shown, the embodiment of this application provides a title generation method, including:

[0085] Step S101, input the text to be processed into the language generation model, and obtain multiple candidate titles corresponding to the text to be processed and their probabilities.

[0086] In the embodiment of the present application, the language generation model may include any model capable of generating some candidate texts and their probabilities according to the text to be processed, and the candidate texts may be used as candidate titles of the text to be processed. For example, a language generation model can be a seq2seq model, a sequence-to-sequence model. The seq2seq model includes an encoder (encoder) and a decoder (decoder). The text to be processed is input into the encoder, and the encoder outputs an intermediate semantic vector as the input of the decoder. The decoder can use various algorithms to searc...

example 1

[0135] Example 1. A Pointer-generate (pointer generation network) mechanism can be added to solve the OOV problem and the problem that the generated title is not accurate in describing the text details.

example 2

[0136] Example 2. A coverage (coverage) mechanism or an intra-attention (internal attention) mechanism can be added to solve the problem of overlapping words in the title.

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 title generation method and device, an electronic device and a storage medium, and relates to the field of natural language processing. According to the specific implementation scheme, the title generation method comprises the steps of inputting a to-be-processed text into a language generation model to obtain a plurality of candidate titles corresponding to the to-be-processed text and probabilities of the candidate titles; calculating the confusion degree of the plurality of candidate titles; and generating the title of the to-be-processed text according to the probabilities and the confusion degrees of the plurality of candidate titles. The title with lower confusion degree and higher reliability can be generated, and the situation that the generated title statement is not smooth or inaccurate in semantics is avoided.

Description

technical field [0001] The present application relates to a field of data processing, in particular to a field of natural language processing. Background technique [0002] With the rise of online platforms, more and more people will write articles and publish them on the Internet. When the author publishes an article on an online platform, there is often a problem of difficulty in writing the title. Poor quality titles not only affect the distribution of articles and user revenue, but also affect the quality of the entire content ecosystem. At present, the method of automatically generating titles has the defects of not being fluent in sentences and not accurate in semantics. Contents of the invention [0003] The embodiment of the present application provides a title generation method, device, electronic equipment and storage medium to solve the problems existing in related technologies. The technical solution is as follows: [0004] In the first aspect, the embodimen...

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): G06F40/258G06F40/289G06F40/30G06K9/62
CPCG06F18/24
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