APP下载

基于改进的深度学习古诗自动生成系统研究

2021-04-03吕敬褚丽莉龚瑞雪

现代信息科技 2021年19期
关键词:深度学习

吕敬 褚丽莉 龚瑞雪

摘  要:近年来,利用深度学习技术实现古诗自动生成逐渐火热。研究者多采用基于语句或基于图片作为古诗自动生成系统的输入,完成古诗的自动生成。研究发现,目前基于语句作为输入时多受限于输入字数的限制,导致无法满足想要进行自由创作的需要。为此,文章基于深度学习利用LSTM神经网络实现了一种古诗自动生成系统,该系统可基于任意长度语句作为输入实现古诗自动生成;为了方便操作和查看,利用Tkinter实现了系统功能的可视化;最后通过人工评估方法论证了系统的可行性。

关键词:深度学习;古诗自动生成;LSTM;任意长度

中图分类号:TP18     文獻标识码:A文章编号:2096-4706(2021)19-0097-04

Research on Automatic Generation System of Ancient Poetry Based on

Improved Deep Learning

LYU Jing, CHU Lili, GONG Ruixue

(Liaoning University of Technology, Jinzhou  121001, China)

Abstract: In recent years, the use of deep learning technology to realize the automatic generation of ancient poetry is becoming more and more popular. Researchers often use sentences or pictures as the input of the automatic generation system of ancient poetry to complete the automatic generation of ancient poetry. It is found that the current sentence based input is limited by the number of words, which can not meet the needs of free creation. Therefore, based on deep learning, this paper realizes an automatic generation system of ancient poetry by using LSTM neural network. The system can realize the automatic generation of ancient poetry based on arbitrary length sentences input; in order to facilitate operation and viewing, Tkinter is used to realize the visualization of system functions; finally, the feasibility of the system is demonstrated by manual evaluation method.

Keywords: deep learning; automatic generation of ancient poetry; LSTM; arbitrary length

0  引  言

古诗在中国传统文化中占据举足轻重的地位。在中华文明上下五千年中,文人墨客将古诗作为记录生活、寄托情感、反映应生活状态的重要载体,那些传世著作更是对人们产生了深远的影响。

古诗创作讲究平仄押韵、格律对称,同时要求诗句连贯、主题一致,要通过简短凝练的文字表达出一定的意境,具有语言优美、概括性强且发人深省、回味悠长等特点[1]。这给普通人进行古诗创作带来了难度,而如何利用现代技术进行诗歌创作也成为一个富有挑战的课题。

深度学习(Deep Learning, DL)由机器学习发展而来,是近年来备受关注的领域。经过不断地迭代更新,深度学习已成为人工智能领域的重要分支,是人工智能的“新宠儿”[2]。深度学习其内部含有多个隐藏层的多层感知器,旨在利用神经网络模型模拟出人类大脑的学习过程,从而对海量数据样本进行规律提取、特征分析从而具有人类大脑的判断思考能力。……

登录APP查看全文

猜你喜欢

深度学习
从合坐走向合学:浅议新学习模式的构建
面向大数据远程开放实验平台构建研究
基于自动智能分类器的图书馆乱架图书检测
搭建深度学习的三级阶梯
有体验的学习才是有意义的学习
电子商务中基于深度学习的虚假交易识别研究
利用网络技术促进学生深度学习的几大策略
MOOC与翻转课堂融合的深度学习场域建构
大数据技术在反恐怖主义中的应用展望
深度学习算法应用于岩石图像处理的可行性研究