Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于音调 #34

Open
moonmon opened this issue Apr 8, 2022 · 1 comment
Open

关于音调 #34

moonmon opened this issue Apr 8, 2022 · 1 comment

Comments

@moonmon
Copy link

moonmon commented Apr 8, 2022

能否给个方法提示,将.txt的字典文件中的拼音的音调去掉

@mozillazg
Copy link
Owner

可以考虑使用下面的辅助函数对拼音进行处理:https://pypinyin.readthedocs.io/zh_CN/master/contrib.html#pypinyin.contrib.tone_convert.to_normal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants