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

Text generation method, device, equipment and storage medium

A text and original text technology, applied in the field of equipment and storage media, devices, and text generation methods, can solve problems such as logical errors, achieve semantic correctness, improve accuracy, and improve logicality

Active Publication Date: 2022-04-26
PING AN TECH (SHENZHEN) CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a text generation method, device, equipment and storage medium, which is used to solve the technical problem in the prior art that the text generated by the language model is prone to logic errors

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] Embodiments of the present invention provide a text generation method, device, device, and storage medium. By acquiring the original text to be edited and performing semantic recognition, the first content and the second content are obtained; based on the correspondence between preset words and slots relationship, respectively mark the slots of the words in the first content and the second content, and generate the first slot text and the second slot text; call the language model, and carry out the corresponding words of each slot in the first slot text Adjusting, generating the first adjustment text; extracting the corresponding context content of each slot in the second slot text according to the slot mark and inputting it into the automatic question answering model for question and answer search, and obtaining the answer data associated with the words corresponding to the slot; Based on the answer data, the content of the second slot text is adjusted, and combined wit...

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 present invention relates to the technical field of artificial intelligence, and discloses a text generation method, device, device and storage medium. The method includes: obtaining the original text to be edited and performing semantic recognition to obtain the first content and the second content; The corresponding relationship between the words and the slots in the first content and the second content are respectively slot marked to generate the first slot text and the second slot text; the language model is called, and each text in the first slot text is Adjust the words corresponding to each slot to generate the first adjusted text; extract the context content corresponding to each slot in the second slot text according to the slot mark and input it into the automatic question answering model for question and answer search, and obtain the corresponding slot corresponding to the slot The answer data associated with the word; based on the answer data, the content of the second slot text is adjusted, and combined with the first adjusted text to form the final expression text. This increases the accuracy and logic of the text generation.

Description

technical field [0001] The present invention relates to the field of natural language processing, in particular to a text generation method, device, equipment and storage medium. Background technique [0002] The current automatic text generation can greatly improve people's productivity in dealing with clerical work. Citation text generation technology can significantly reduce a worker's paperwork load. In different fields, the requirements for text generation are also different, but in some specific fields, such as the field of legal documents, due to the nature of work and other characteristics, the requirements for text generation are relatively high. The generated text not only requires correct grammar, but also conforms to the logic. [0003] At present, text generation mainly relies on the language model to modify and adjust the input text sentences to be modified, so as to generate grammatically correct texts. However, because the existing language models mainly re...

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/279G06F40/166G06F40/117G06F40/30G06F16/33
CPCG06F40/279G06F40/30G06F40/166G06F40/117G06F16/3344G06F16/3334
Inventor 邓黎明庄伯金钱江王少军
Owner PING AN TECH (SHENZHEN) 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