-
-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
改为运行时从 json 文件中读取单字和词语拼音数据,缓解 Python 3.12 环境中存在的性能劣化问题 (#324)
详见:#319 #322 * perf[code-loader]prevent py-code too large #322 * feat[generator]pinyin and phrases * feat[generator]one key initer * refine save dict into json and load from json on runtime * fix lint and test * try to fix "No module named distutils in Python 3.12" * try to fix "UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 118: character maps to <undefined>" * fix test on python2 --------- Co-authored-by: mozillazg <[email protected]>
- Loading branch information
Showing
15 changed files
with
664,841 additions
and
87,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include README.rst LICENSE.txt CHANGELOG.rst | ||
recursive-include pypinyin *.pyi py.typed | ||
recursive-include pypinyin *.pyi py.typed *.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.