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

Automatic text generation method and device, electronic device and storage medium

A text and sample technology, applied in text database browsing/visualization, unstructured text data retrieval, electronic digital data processing, etc., can solve the problems of fixed text format, inability to generate text with rich content and various styles

Pending Publication Date: 2021-02-26
GLOBAL TONE COMM TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two traditional text generation methods, one is the generation method based on rules and templates, and the other is the generation method based on extraction. The format of the text generated by these two methods is relatively fixed, and it cannot generate text with rich content and diverse styles.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048] Because the text format generated by the traditional text generation method is relatively fixed, it cannot generate text with rich content and various styles. For this reason, an embodiment of the present invention provides an automatic text generation method to solve the problems existing in the prior art.

[0049] figure 1 It is a ...

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 embodiment of the invention provides an automatic text generation method and device, an electronic device and a storage medium. The method comprises the steps of firstly, obtaining keywords and estimated statement number of a to-be-generated text; determining the paragraph number and paragraph subject terms of the to-be-generated text based on the keyword, the estimated statement number and apre-constructed word association graph; and finally, generating the to-be-generated text based on a Transformer model, the number of paragraphs of the to-be-generated text and paragraph subject terms.The method is a novel text generation method achieved through a Transformer model, paragraph subject terms are screened and determined, extension and constraint of generated text subjects can be achieved, and the generated text has a core thought; and meanwhile, the Transformer model is utilized, so that the generated text is not single in content and fixed in format as a text generated by a traditional method.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence, in particular to a text automatic generation method, device, electronic equipment and storage medium. Background technique [0002] At present, text generation based on artificial intelligence (AI) is a challenging task in the field of natural language processing, and its purpose is to enable computers to write high-quality articles like humans. This requires the model adopted to have a stronger ability to understand and generate text. There are two traditional text generation methods, one is the generation method based on rules and templates, and the other is the generation method based on extraction. The format of the text generated by these two methods is relatively fixed, and it cannot generate text with rich content and diverse styles. . Contents of the invention [0003] Embodiments of the present invention provide a text automatic generation method, device, electronic e...

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 Applications(China)
IPC IPC(8): G06F40/211G06F40/216G06F40/242G06F40/284G06F40/30G06F16/34G06F16/36
CPCG06F40/211G06F40/216G06F40/242G06F40/284G06F40/30G06F16/367G06F16/345
Inventor 夏维孙赫张恒高鹏
Owner GLOBAL TONE COMM TECH
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