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

增加对城市名多音字的处理 #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

isaacyan17
Copy link

对于城市选择多音字的处理,我参照了引用包中'TinyPinyin'的处理方案:多音字快速处理方案,增加了中文城市的字典库:com.github.promeg:tinypinyin-lexicons-android-cncity:2.0.3
不过因为字典库的minSdk=16的原因,这里我将项目的minSdk也'粗暴'的改成了16(- -!)。
增加了BaseIndexPinyinBean对于子类是否对城市名进行多音字处理: public abstract boolean isNeedToConvertCity();
处理比较简陋,请多指教 :)

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

Successfully merging this pull request may close these issues.

1 participant