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

Text generation method and device, storage medium and electronic equipment

A text and article technology, applied in the field of information processing, can solve problems such as poor user experience, lack of smoothness between sentences, unclear structure, etc., to achieve the effect of solving sentence cohesion and improving experience.

Pending Publication Date: 2019-09-27
BEIJING DA MI TECH CO LTD
View PDF9 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a text generation method, device, storage medium and electronic equipment to solve the problem caused by the unclear structure and insufficient smoothness between sentences caused by the articles generated by AI writing in the prior art. The problem of poor experience

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention is described below based on examples, but the present invention is not limited to these examples. In the following detailed description of the invention, some specific details are set forth in detail. The present invention can be fully understood by those skilled in the art without the description of these detailed parts. In order not to obscure the essence of the present invention, well-known methods, procedures, procedures, components and circuits have not been described in detail.

[0020] Additionally, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.

[0021] Unless the context clearly requires, throughout the specification and claims, "comprises", "comprises" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive meaning; that is, "including but not limited to" meaning.

[0022] In the descr...

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 text generation method and device, a storage medium and electronic equipment, and the method comprises the steps: obtaining theme information; inputting the theme information into a pre-trained machine learning model to generate article corresponding to the theme information, wherein the learning model comprises a first model, a second model and a third model, the first model calculates a first semantic vector based on feature information of the theme information, and outputs a character sequence as a first sentence of the article based on the first semantic vector; the second model is iteratively executed to calculate a second semantic vector based on the feature information of the Nth sentence of the article, and outputs a character sequence based on the second semantic vector as the (N+1)th sentence of the article, N is greater than or equal to 1, and N is a positive integer; the third model judges whether the (N+1)th sentence is a paragraph tail sentence or not according to a predetermined judgment condition, and determines that the (N+1)th sentence is the paragraph tail sentence in response to the judgment result; and outputting the article in response to the generated article reaching the threshold.

Description

technical field [0001] The disclosure of the present invention relates to the field of information processing, in particular to a text generation method, device, storage medium and electronic equipment. Background technique [0002] At present, in the field of artificial intelligence (AI), although AI writing is still at the forefront of science and technology, there are some attempts at home and abroad. For example, in the field of relatively templated content production, AI writing is mainly used in sports News, current affairs news, etc.; in fields with relatively large free space, AI writing mainly tries to be applied to writing poems, couplets, science fiction, etc. [0003] However, in the field of generating articles on specific topics, AI writing is still quite difficult. The main problem is that the structure of articles generated by applying AI writing is not clear, and the sentences are not smooth enough, which brings a poor sense of experience to users. Content...

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/27G06N20/10G06F16/36
CPCG06N20/10G06F16/36G06F40/211Y02D10/00
Inventor 张锐刘浪
Owner BEIJING DA MI 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