You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ngram is not fast. Can this project provide a tool to generate a cache (format can be json or other formats) to store all pinyin of characters? Such as:
python -m pypinyin.tools.generate_cache --format=json --style=FIRST_LETTER > /the/path/of/pinyin_FIRST_LETTER.json
jq -S . /the/path/of/pinyin_FIRST_LETTER.json
{
...
"你": "n""您": "n"
...
}
# a very large json
The text was updated successfully, but these errors were encountered:
Comes from petronny/pinyin-completion#18:
ngram is not fast. Can this project provide a tool to generate a cache (format can be json or other formats) to store all pinyin of characters? Such as:
The text was updated successfully, but these errors were encountered: