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

Long text generation method and system, medium, and equipment

A technology for generating systematic and long texts, applied in the field of data processing, can solve problems such as unrelated, consistent, and incoherent texts before and after generation, and achieve the effect of avoiding inconsistencies

Pending Publication Date: 2022-02-08
北京香侬慧语科技有限责任公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing technology, when long text is automatically generated, the content of the generated text cannot be semantically consistent with the previously generated content, resulting in the inability to connect the front and rear of the final generated text, making it difficult to understand, or even irrelevant before and after the generation , the problem of sentences that do not match the grammar, the application proposes a long text generation method, system, medium and equipment

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
  • Long text generation method and system, medium, and equipment
  • Long text generation method and system, medium, and equipment
  • Long text generation method and system, medium, and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0019] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above drawings are used to distinguish similar objects and not necessarily Describe a particular order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that th...

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 long text generation method and system, a medium and equipment, and belongs to the technical field of data processing. The method comprises the following steps: partitioning a to-be-generated text according to a preset text length of the to-be-generated text, obtaining N text generation blocks, wherein N is an integer larger than 2; layering each text generation block according to a text generation rule to obtain a plurality of text generation layers; inputting a source text into a text generator, sequentially generating texts corresponding to text generation layers and text generation blocks according to a text sequence, and further obtaining the to-be-generated text. According to the method, a to-be-generated text is partitioned, each text generation block is layered, and corresponding texts are generated in a sequence of one layer and one block, so that the consistency and the semantic consistency of a generated long text are ensured, and the inconsistency of the long text is avoided.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a long text generation method, system, medium and equipment. Background technique [0002] Traditional text generation models are completely linear. The so-called linearity is to generate characters one by one. For example, to generate a simple sentence of "I love Beijing", the model will first generate "I", and then generate "love", "Beijing" and "Beijing" one by one . Whether it is a sentence with only a few words or an article with hundreds or thousands of words, the linear generation method is used without exception. [0003] Although this method is very simple, it has a serious flaw: when generating long text, the content generated later cannot be consistent with the content generated before. For example, "I love Beijing" is generated at the beginning, but after hundreds of characters are generated, "I love Nanjing" may be generated again. This kind of i...

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/166G06F16/34
CPCG06F40/166G06F16/345
Inventor 韩庆宏卜贺纯卢辰鑫何豪杰王思宽王铎李晓雅
Owner 北京香侬慧语科技有限责任公司
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