From 9c2740c2d5255edb5e2d227133f0f75ed986fc61 Mon Sep 17 00:00:00 2001 From: kpt <2817151932@qq.com> Date: Wed, 3 Jul 2024 20:33:00 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90getTopicPageData=E3=80=91=E9=87=8D?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E5=87=BD=E6=95=B0=20getCommentFilterData=20-?= =?UTF-8?q?>=20getCommentFilterDataTopic=20=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/getTopicPageData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/getTopicPageData.py b/utils/getTopicPageData.py index 1e066a2..37b9455 100644 --- a/utils/getTopicPageData.py +++ b/utils/getTopicPageData.py @@ -19,7 +19,7 @@ def getTopicPageCreatedAtCharData(topic):# 统计包含特定热词的评论在 createdAt[i[1]] = 1 return list(createdAt.keys()),list(createdAt.values()) -def getCommentFilterData(topic):# 筛选包含特定热词的评论并返回这些评论的数据 +def getCommentFilterDataTopic(topic):# 筛选包含特定热词的评论并返回这些评论的数据 commentsList = getAllCommentsData() commentData = [] for i in commentsList: