摘要: Python中操作SQLAlchemy,SQLAlchemy中文技术文档 - 简书 (jianshu.com) 阅读全文
posted @ 2021-11-26 13:55 cup_leo 阅读(102) 评论(0) 推荐(0) 编辑
摘要: #Rouge gram-1,2,4,SU4 def Rouge_1(pred, true): #结巴精准分词 gram_1_true = list(jieba.cut(true)) gram_1_pred = list(jieba.cut(pred)) #统计参考摘要长度、预测摘要长度、预测正确的摘 阅读全文
posted @ 2021-11-26 12:46 cup_leo 阅读(758) 评论(0) 推荐(0) 编辑