fix: 修复 汉字频率字典 加载问题

This commit is contained in:
Rikki committed 2025-03-30 06:57:27 +08:00
1 parent 079b184a74
commit f03d251b66
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ class ChineseTypoGenerator:
"""
加载或创建汉字频率字典
"""
cache_file = Path("char_frequency.json")
cache_file = Path("depends-data/char_frequency.json")
# 如果缓存文件存在,直接加载
if cache_file.exists():