-
Notifications
You must be signed in to change notification settings - Fork 792
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
为啥‘大’都转化成‘tai’了? #3
Comments
应该是多音字的问题 |
建议改写parseDict 以及 getpinyin方法 |
用的时候发现 |
还有 |
楼上说的对,由于pinyin_dict_notone这个数据字典采用的是 【拼音->汉字】的结构,在转换成【汉字->拼音】的时候没办法人为的将更常用的拼音放在前面,不过好在很多多音字更常见的读音排在前面,所以我已经修改了parseDict方法,已经找到了拼音的就不再覆盖,在一定程度上减少了楼上说的这些情况。不过还是推荐使用pinyin_dict_withtone这个字典,这个字典可以人为将更常用的拼音放在前面。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
js:pinyin_dict_notone.js
这是使用时发现的,而且我将字典中的删掉后‘大’会默认转为‘dai’
The text was updated successfully, but these errors were encountered: