fix: 修复 汉字频率字典 加载问题
This commit is contained in:
@@ -47,7 +47,7 @@ class ChineseTypoGenerator:
|
||||
"""
|
||||
加载或创建汉字频率字典
|
||||
"""
|
||||
cache_file = Path("char_frequency.json")
|
||||
cache_file = Path("depends-data/char_frequency.json")
|
||||
|
||||
# 如果缓存文件存在,直接加载
|
||||
if cache_file.exists():
|
||||
|
||||
Reference in New Issue
Block a user