From e10e74bceb8586e84d5c0dbd01443be4c59aa9c0 Mon Sep 17 00:00:00 2001 From: daimiaopeng <844362911@qq.com> Date: Mon, 11 Dec 2023 11:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dstopwords=5Ffile=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/analysis/analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/analysis/analysis.py b/app/analysis/analysis.py index 430179d..bca5903 100644 --- a/app/analysis/analysis.py +++ b/app/analysis/analysis.py @@ -34,7 +34,7 @@ def wordcloud(wxid, is_Annual_report=False, year='2023'): # 统计词频 word_count = Counter(words) # 过滤停用词 - stopwords_file = './app000/data/stopwords.txt' + stopwords_file = './app/data/stopwords.txt' try: with open(stopwords_file, "r", encoding="utf-8") as stopword_file: stopwords = set(stopword_file.read().splitlines())