检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:梁嘉怡 卢雅敏 赵峻 LIANG Jiayi;LU Yamin;ZHAO Jun(Shenzhen Power Supply Bureau Co.,Ltd.,Shenzhen Guangdong 518000,China)
出 处:《信息与电脑》2022年第13期100-102,共3页Information & Computer
摘 要:针对传统软件在文档自动生成实际应用存在耗时较长的问题,提出基于FreeMarker模板引擎的文档自动生成软件设计。首先,利用摘要、关键词、正文和结论 4个模板生成模板文件,将文件上传到数据库中;其次,按照文档生成需求,利用FreeMarker模板引擎在模板文档数据库中进行检索;再次,对检索到的文件进行标记,生成超文本文件;最后,将超文本文件所有节点属性替换成FreeMarker模板语言(FreeMarker Template Language,FTL),生成FTL文件流,从而实现文档自动生成。实验结果表明,设计软件生成文档所用的时间短于传统软件,具有良好的应用前景。Aiming at the problem of time-consuming in the practical application of traditional software in automatic document generation,a software design of automatic document generation based on FreeMarker template engine is proposed.Firstly,the template file is generated by using the four templates of summary,keyword,text and conclusion,and the file is uploaded to the database.Secondly,according to the document generation requirements,the FreeMarker template engine is used to search in the template document database.Thirdly,mark the retrieved file,generate the hypertext file.Finally,replace all node attributes of hypertext files to generate FreeMarker Template Language(FTL)file streams,so as to realize automatic document generation.The experimental results show that the design software takes less time to generate documents than the traditional software,which has a good application prospect.
关 键 词:FreeMarker模板引擎 文档 自动生成
分 类 号:TP391.1[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.225.54.37