A method and device for generating text

A text and generative technology, applied in the Internet field, can solve the problem that the text generation method cannot meet the actual business needs.

Active Publication Date: 2020-05-05
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of this specification provides a method and device for text generation, which is used to solve the problem that the text generation method in the prior art cannot meet the actual business needs

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In the current existing technology, when the target text is generated from the original text (for example, the title or abstract of the short text is generated according to the short text), the technical difficulty is no longer how to generate a grammatically smooth target text, but how to generate a target text that satisfies the The target text of increasingly diverse business needs, for example, the generated target text needs to increase the click volume of the original text, and the generated target text needs to be strongly related to the original text, etc.

[0077] For this reason, this manual abandons the planning text generation method commonly used in the prior art, and uses the extractive text generation model and the generative text generation model to generate the target text. Both the extractive text generation model and the generative text generation model are based on actual The business indicators are trained for the training target to ensure that the g...

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

This application discloses a method and device for text generation. Since the text generation method provided in this manual is trained in advance according to the sample text and the business indicators corresponding to the sample text to obtain the extractive text generation model and the generative text generation model, when generating the target text When using the above-mentioned extractive text generation model and generative text generation model, the first target text candidate set and the second text candidate set are obtained, and then according to the predicted business indicators corresponding to each target text in the two candidate sets, the corresponding target text is selected. Target text, so the generated target text can be made to meet actual business needs.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a method and device for generating text. Background technique [0002] With the development of the mobile Internet, the creation of online content can be roughly divided into Professionally-Generated Content (PGC) and User-Generated Content (UGC). Most of the information in the form of PGC appears in the form of long texts. It is more formal, while UGC information mostly appears in the form of short articles, which is more casual. One of the important differences between the two is that most of the long-form information has titles, while most of the short-form information does not have titles. [0003] For example, if the evaluation of the same restaurant appears in a more formal form of PGC, the author of the long article will generally write a title for the information in the form of the long article, and then publish it on the Internet, while if it is in the mor...

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): G06F40/289G06F40/211G06F40/30G06F16/33G06F16/35G06N3/04G06N3/08
CPCG06N3/084G06F40/211G06F40/289G06F40/30G06N3/045
Inventor 李忆纯杨肖魏扬威柳明海张众一
Owner BEIJING SANKUAI ONLINE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products