A text generation method and device based on artificial intelligence

An artificial intelligence and text technology, applied in special data processing applications, instruments, electronic digital data processing, etc., can solve the problem that poetry cannot satisfy rhythm and semantics, and does not consider the limitations of poetry semantics and rhythm.

Pending Publication Date: 2019-04-23
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application proposes an artificial intelligence-based text generation method, device, computer equipment, and storage medium, by decoding the hidden state obtained by encoding the above sentence at least twice according to the semantics and prosody of the above sentence respectively, so that The generated foll

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
  • A text generation method and device based on artificial intelligence
  • A text generation method and device based on artificial intelligence
  • A text generation method and device based on artificial intelligence

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0025] In the prior art, when the artificial intelligence-based text generation method automatically generates poems, it is realized through the Encoder-Decoder model. The whole process of generating poems does not consider the limitation of rhythm in poetry generation, and is only a generation method of one decoding. Therefore, the generated poems do not meet the requirements of prosody and semantics, and cannot meet the needs of users.

[0026] In view of the above-mentioned problems in the prior art, the embodiment of the pr

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 provides a text generation method and device based on artificial intelligence, a computer device and a readable storage medium, and the method comprises the steps of coding a preceding language statement to obtain a hidden state of the preceding language statement, and carrying out at least twice decoding on the hidden state of the preceding language statement according to semanticsand rhythm of the preceding language statement to obtain a following language statement matched with the preceding language statement. According to the method, at least two times of decoding are carried out on the hidden state obtained by encoding the preceding language statement according to the semantics and the rhythm of the preceding language statement, so that the generated following languagestatement can meet the limitation of the semantics and the rhythm at the same time, the generated following language statement has poetry, and the requirements of users are met.

Description

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

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
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products