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

Text generation method and device

A text and target text technology, applied in the field of non-transitory computer-readable storage media, can solve the problems of semantic mismatch of text content, difficulty in ensuring the controllability of generated text semantics, etc., and achieve the effect of improving controllability

Active Publication Date: 2021-03-26
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, machine-generated text content is prone to mismatch with pre-set semantics
And it is difficult to guarantee the controllability of the generated text semantics by using the encoder-decoder (Encoder-Decoder) structure

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
  • Text generation method and device
  • Text generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0037] This application provides a text generation method, such as figure 1 shown, including:

[0038] S101: Obtain multiple text generation requirement information;

[0039] S102: Encoding the multiple text generation requirement information using multiple encoding methods to obtain multiple encoding results, and obtain a context vector based on the multiple encod...

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, electronic equipment and a non-instantaneous computer readable storage medium storing computer instructions, and relates to the field of text processing. According to the specific implementation scheme, the following steps are included: obtaining multiple pieces of text generation demand information; encoding the plurality of text generation demand information by adopting a plurality of encoding modes to obtain a plurality of encoding results, and obtaining a context vector based on the plurality of encoding results; and based on theplurality of text generation demand information related control signals, the plurality of text generation demand information related topic correlation control modes and the context vector, performingdecoding processing to obtain a target text.

Description

technical field [0001] The present application relates to the field of information processing, in particular to the field of text processing. The present application provides a method and device for generating text, electronic equipment, and a non-transitory computer-readable storage medium storing computer instructions. Background technique [0002] Text Generation (Text Generation) technology refers to the use of computer automation to generate similar natural language text technology. In recent years, artificial intelligence technology has developed rapidly, and breakthroughs have been made in the field of natural language processing. Intelligent text generation can quickly and effectively cover market demand through batch, low-cost, and automated generation of content text. Among them, a text generation method is based on a neural network, although text generation based on a neural network can generate text at low cost and has certain domain generalization. But machine...

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/126G06F40/30G06K9/62G06N3/04G06N3/08
Inventor 王璐焦阳刘杰杨羿李一朱延峰陈晓冬刘林
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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