From f03d251b66fc10e314e6b0240e8cb1f7c68ea38c Mon Sep 17 00:00:00 2001 From: Rikki Date: Sun, 30 Mar 2025 06:57:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20=E6=B1=89=E5=AD=97?= =?UTF-8?q?=E9=A2=91=E7=8E=87=E5=AD=97=E5=85=B8=20=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/utils/typo_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/utils/typo_generator.py b/src/plugins/utils/typo_generator.py index 9718062c8..80da6c28a 100644 --- a/src/plugins/utils/typo_generator.py +++ b/src/plugins/utils/typo_generator.py @@ -47,7 +47,7 @@ class ChineseTypoGenerator: """ 加载或创建汉字频率字典 """ - cache_file = Path("char_frequency.json") + cache_file = Path("depends-data/char_frequency.json") # 如果缓存文件存在,直接加载 if cache_file.exists():