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

Ancient poem generation method capable of controlling emotion and style

A technology of ancient poetry and style, applied in the field of artificial intelligence, can solve the problems of lack of diversity of verses, mismatch of user intentions, and low semantic coherence.

Active Publication Date: 2021-01-22
SOUTHEAST UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, in the field of ancient poetry generation, there are many models that can generate rhyming poems that meet user needs, but these models can only generate verses based on a single keyword, resulting in the generated ancient poems.
And these models do not take into account the influence of style and emotion on ancient poems at the same time. Therefore, the verses generated by these models lack diversity, and most of them do not match the user's intentions.

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
  • Ancient poem generation method capable of controlling emotion and style
  • Ancient poem generation method capable of controlling emotion and style
  • Ancient poem generation method capable of controlling emotion and style

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:

[0020] The invention provides a method for generating ancient poems with controllable emotion and style. The rhyming ancient poems generated by this method can meet the restrictions of style and emotion at the same time and have more keyword tags, which can better understand the needs of users and further enhance the diversity of ancient poems.

[0021] The method for generating ancient poetry with controllable emotion and style provided by the present invention, wherein the logic flow chart is as follows figure 1 As shown, the logic flow chart of keyword preprocessing in the ancient poem generation module is as follows figure 2 As shown, the logic flow chart for generating ancient poems in the ancient poem generation module is as follows image 3 As shown, an example of the ancient poetry classification module is Figure 4 As shown, it spec...

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 an ancient poem generation method capable of controlling emotion and style. The method is composed of an ancient poem classification module, an ancient poem generation module and an ancient poem scoring and interaction module. Firstly, ancient poems in a corpus are classified according to styles, emotions and main keyword fine grit, then corresponding labels are determined according to formats, styles, emotions and input texts given by a user, escort poems with controllable styles and emotions are automatically generated, and meanwhile the method can interact with the user to achieve modification and retouching. An encoder pre-training model and a self-attention mechanism with a mask are adopted to ensure automatic association between generated poems and multiple labels. Automatic evaluation and manual evaluation show that the poems with controllable emotions and styles can be generated, and the poem quality exceeds the evaluation baseline level.

Description

technical field [0001] The invention belongs to the technical field of artificial intelligence, relates to an ancient poem text generation technology, in particular to an ancient poem generation technology with controllable emotion and style. Background technique [0002] The ancient poetry generation system aims to generate user-satisfied rhyming poems according to user needs. First, the poetry writing system must be able to analyze, extract, and summarize keywords suitable for ancient poetry based on the text information provided by users. Generate and correct ancient poems. After the ancient poems are generated, the poetry writing system must also be able to automatically score and interact, and continue to modify and polish the generated ancient poems. [0003] At present, in the field of ancient poetry generation, there are many models that can generate poems that rhyme and meet user needs, but these models can only generate verses based on a single keyword, resulting ...

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): G06F16/33G06F16/335G06F16/35G06F16/383
CPCG06F16/35G06F16/3344G06F16/335G06F16/383
Inventor 邵一展汪鹏邵彤高捷
Owner SOUTHEAST UNIV
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