Method for automatically generating Chinese poetry based on corpus and metrical rule

An automatic generation, ancient poetry technology, applied in the creation of semantic tools, natural language data processing, special data processing applications, etc., can solve problems such as unsystematic methods, and achieve the effect of flexible settings

Active Publication Date: 2017-04-19
TIANJIN UNIV
View PDF5 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

So far, some preliminary results have been obtained in the aspects of corpus establishment, lexical semantic analysis, creative style analysis, co-lingual coping, etc., but in terms of automatic generation of ancient poems, there is no systematic method except for some spontaneous folk researches. .In comparison, foreign researches on au...

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 for automatically generating Chinese poetry based on corpus and metrical rule
  • Method for automatically generating Chinese poetry based on corpus and metrical rule
  • Method for automatically generating Chinese poetry based on corpus and metrical rule

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0035] 1. The collection of poems contains all the poems in the data. The more poems in the collection, the larger and more accurate the collection of candidate words obtained based on the words appearing. Therefore, we should expand the scope of poetry collection at the beginning as much as possible. The ancient poems of poets from pre-Qin to modern times are used as the entire training set. Word segmentation processing is performed on all verses in the collection of poems.

[0036] 2. Enter the word segmentation results into the verse corpus. During the input process, there is no need to record the name of the poem where the original verse is located, the author and other information, only the word segmentation results and the punctuation marks of the word segmentation verses. Such as Figure 4 The verse corpus shown in the screenshot schematic.

[0037] 3. The system prompts the user to input verses and the type of verses to be generated as required. The system defaults...

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 method for automatically generating a Chinese poem based on a corpus and a metrical rule. The method is mainly used for screening according to the characteristics of a poem and the verse corresponding relationship, generating new verses and forming a new poem, and comprises the following specific steps of: (1), dividing poem anthologies by utilizing a word segmentation tool; (2), according to punctuations of original verses, entering a word segmentation result in a verse corpus in a couplet form; (3), performing initial setting for automatic generation of the Chinese poem: inputting the first verse of the poem according to the type of the generated poem selected by a user; (4), obtaining a candidate word set of appearance words; and (5), generating new verses according to the type of the poem and the input verses, taking the new verses as given verses, repeating the steps (4) to (6), and generating the next verse till the verse number corresponding to the determined type of the poem is satisfied. By means of the method disclosed by the invention, for the given verses, corresponding verses can be automatically generated, so that a coherent poem can be formed; and thus, the disadvantages of our country in the field of automatic generation of Chinese poems are made up.

Description

technical field [0001] The invention designs a corpus-based association database system, and in particular relates to an association database system based on ancient Chinese poems. Background technique [0002] Poetry is a special style that uses highly condensed language to express rich meanings. It has the characteristics of condensed and leaping. It is the crystallization of human wisdom in language and even thinking to express as much artistic conception as possible with limited lines. With the development of computer technology and the maturity of the field of artificial intelligence, it is possible for computers to simulate human thinking and creation. [0003] The computerized research on ancient Chinese poetry began in the mid-1990s. So far, some preliminary results have been obtained in the aspects of corpus establishment, lexical and semantic analysis, creative style analysis, co-lingual coping, etc., but in terms of automatic generation of ancient poems, there is...

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
IPC IPC(8): G06F17/27G06F17/30
CPCG06F16/36G06F40/205G06F40/253G06F40/284
Inventor 李克非张怡
Owner TIANJIN UNIV
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