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

pull/624/head
Rikki 2025-03-30 06:57:27 +08:00
parent 079b184a74
commit f03d251b66
No known key found for this signature in database
GPG Key ID: 85E52EEE42578D11
1 changed files with 1 additions and 1 deletions

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():