期刊文献+

融合韵律特征的诗歌生成模型

Poetry Generative Model Incorporating Prosodic Features
下载PDF
导出
摘要 诗歌生成中的韵律规范和主题一致性一直以来都是自然语言生成领域的研究热点。为提升诗歌生成中的韵律规范,提出了基于Transformer结合韵律特征的诗歌生成模型(Transformer and prosodic features poetry generation model,TPPG)。根据韵律特征建立平仄韵律词库和平声韵脚词库,在Transformer编码器中引入平仄韵律编码,模型训练过程中可以捕获更多平仄韵律特征的信息,学习到多种诗歌韵律;最终根据建立的平声韵脚词库规范诗歌生成韵脚,运用极大后验概率对于候选的诗歌选择当前赋有韵律特征规范的最优诗句,整体提升诗歌规范性和流畅性。实验结果表明TPPG模型生成的诗歌能够很好地符合韵律,在人工评价和机器评价中均有提高。 Prosody specification and topic consistency in poetry generation have always been a research hotspot in the field of natural language generation.In order to improve the prosody specification in poetry generation,this paper proposes a poem generation model based on Transformer combined with prosody(Transformer and prosodic features poetry generation model,TPPG).According to the prosodic features,the prosodic thesaurus and the prosodic thesaurus are established,and the prosodic coding is introduced into the Transformer encoder.During the model training process,more prosodic feature information can be captured,and a variety of poetic rhythms can be learned.Finally,the rhyme is generated according to the established rhyme lexicon,and the optimal verse with the rhythm feature specification is selected for the candidate poem by using a large posterior probability,which improves the standardization and fluency of the poem as a whole.The experimental results show that the poetry generated by TPPG model can conform to rhythm well,and it has improved in both manual evaluation and machine evaluation.
作者 吴林东 何向真 万福成 WU Lindong;HE Xiangzhen;WAN Fucheng(Key Laboratory of Linguistic and Cultural Computing Ministry of Education,Northwest Minzu University,Lanzhou 730030,China)
出处 《计算机工程与应用》 CSCD 北大核心 2024年第13期162-170,共9页 Computer Engineering and Applications
基金 甘肃省科技计划项目(20JR5RA507) 中央高校基本科研业务费专项资金(31920230054) 甘肃省研究生创新之星项目(2023CXZX-201)。
关键词 诗歌生成 韵律库 韵律编码 韵律特征 poetry generation rhythm library prosodic encoding prosodic features
  • 相关文献

参考文献3

二级参考文献6

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部