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

Method and apparatus for automatically generating poem

A generation device and automatic generation technology, applied in the computer field, can solve the problems that the correlation between the whole poem and the subject words is difficult to guarantee, the logical correlation of the poems is not strong, and the names of people and places cannot be processed, so as to improve the user experience and improve the logical correlation Sexuality, generating reasonable effects

Active Publication Date: 2016-09-21
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF2 Cites 51 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1) The topic words are only used to generate the first poem, so the correlation between the whole poem and the topic words is difficult to guarantee;
[0006] 2) The subject headings must be in the specified thesaurus, and it is not possible to handle subject names that may not be in the thesaurus, such as names of people and places;
[0007] 3) When each poem is generated, only the information of the previous poem can be used, but the information of all the poems that have been generated before can not be used, so the logical correlation between the poems is not strong;

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
  • Method and apparatus for automatically generating poem
  • Method and apparatus for automatically generating poem
  • Method and apparatus for automatically generating poem

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

[0070] The term "computer equipment" in this context, also referred to as "computer", refers to an intelligent electronic device that can perform predetermined processing procedures such as numerical calculations and / or logic calculations by running predetermined programs or instructions, which may include a processor and The memory is realized by the processor...

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 objective of the present invention is to provide a method and an apparatus for automatically generating a poem. The method comprises: acquiring a poem genre corresponding to a to-be-generated poem and a subject heading that is selected for each to-be-generated line in the to-be-generated poem; according to the poem genre, determining a poem model based on a concentration mechanism; according to the subject heading of the to-be-generated line and all historical reference lines that have been generated before the to-be-generated line is generated, generating the to-be-generated line by using the poem model; using the generated to-be-generated line as a historical reference poem; and repeating executing the operations of generating the to-be-generated line and using the generated to-be-generated line as the historical reference line, until generating the to-be-generated poem. Compared with the prior art, the subject heading is allocated for each to-be-generated line by the method, and the subject heading is involved in the generation process of the whole to-be-generated poem, and when generating each to-be-generated line, all generated lines in the to-be-generated poem are used to improve logical associations between lines and enhance usage experience of users.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a technology for automatically generating poetry. Background technique [0002] As an integral part of China's long and splendid classical literature, Chinese classical poetry has both the beauty of Chinese and the inspiration of art. According to the given keywords, it is a very challenging technical problem to generate fluent and natural poems that are related to the keywords, meet the metrical requirements of the poems. [0003] Existing techniques for generating poetry are largely based on statistical translation models. Specifically, in order to generate the first sentence poem, first obtain the words related to the input topic word, get a candidate list of words, and then arrange and combine these words to screen out the candidate poems that meet the level, and then use the language model to score, select The sentence with the highest score is used as the first sentence...

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): G06F17/27
CPCG06F40/20G06F40/205
Inventor 王哲和为伍海洋李伟何中军胡晓光吴华王海峰
Owner BEIJING BAIDU NETCOM SCI & TECH 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