Unlock instant, AI-driven research and patent intelligence for your innovation.

Chinese poetry automatic generation method and device

An automatic generation, poetry technology, applied in natural language data processing, instruments, computing and other directions, can solve the problem of not being able to preface and not afterwords, filling and mechanically copying, and achieve the effect of context coherence

Active Publication Date: 2021-04-02
TSINGHUA UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For the quality of automatically generated poems, there are two key factors: one is that the different sentences of the generated poems must have a consistent theme and artistic conception, and the preface and the postscript cannot be wrong; Flexible and free expression in poetry, not mechanical filling and rote
Most existing Chinese poetry generation methods cannot solve these problems well

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
  • Chinese poetry automatic generation method and device
  • Chinese poetry automatic generation method and device
  • Chinese poetry automatic generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the embodiments of the present invention.

[0023] see figure 1 , the present embodiment discloses a method for automatically generating Chinese poetry, comprising:

[0024] S1. Obtain keywords input by the user, encode the keywords into vectors, and store the vectors in the first area;

[0025] S2. Read the content most relevant to the current verse to be generated from the first area, the s...

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 embodiment of the invention discloses a Chinese poem automatic generation method and device. The method and device can automatically generate high-quality Chinese poems which are closely deducted,consistent in context and close to the human creation level. The method comprises the following steps: S1, acquiring a keyword input by a user, encoding the keyword into a vector, and storing the vector in a first region; S2, reading the most relevant content of the current poem to be generated from the first area, the second area and the third area, and generating the current poem by utilizing the most relevant content; and S3, storing the current poem in the second area, storing an important part in the poem generated last time in the third area, and executing the step S2 when judging and knowing that the whole poem is not generated completely, or ending when judging and knowing that the whole poem is generated completely.

Description

technical field [0001] The embodiment of the present invention relates to the field of artificial intelligence, in particular to a method and device for automatically generating Chinese poetry. Background technique [0002] As a concise and concise literary genre, poetry is a treasure of human culture. Chinese poetry is an important part of Chinese traditional culture for thousands of years. How to make computers automatically understand and use human language is a crucial step in the realization of artificial intelligence. Among them, the automatic generation of poetry, which is a highly artistic embodiment of human wisdom and language, is the only way to achieve computational innovation. In addition to the long-term goal of building artificial intelligence, automatic poetry generation methods can achieve interesting applications, can be used as an auxiliary tool for poetry teaching, and can provide useful reference for literary research on poetry. [0003] For the quali...

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/166
Inventor 孙茂松矣晓沅李若愚杨宗瀚
Owner TSINGHUA UNIV