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

1.修复末尾分隔符丢失2.支持从jar包读取扩展pinyindb #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yylingyun
Copy link

1.修复 "一日千里" 调用PinyinHelper.toHanYuPinyinString输出 "yi,ri,qianli" 末尾分隔符丢失的问题

2.自定义挂载的pinyindb除了可以使用绝对路径,还新支持放在resources下被打入jar包的文件。
如我有个module,在它resources下放个资源文件 resources/pinyindb/multi_pinyin_extends.txt
这个module被打成jar包后,依然可以通过MultiPinyinConfig.multiPinyinPath = "/pinyindb/multi_pinyin_extends.txt"来设置挂载的pinyindb

…丢失的问题

2.自定义挂载的pinyindb除了可以使用绝对路径,还新支持放在resources下被打入jar包的文件。
如我有个module,在它resources下放个资源文件 resources/pinyindb/multi_pinyin_extends.txt
这个module被打成jar包后,依然可以通过MultiPinyinConfig.multiPinyinPath = "/pinyindb/multi_pinyin_extends.txt"来设置挂载的pinyindb
@ileooo
Copy link

ileooo commented May 4, 2017

第1个,作者快合并吧,也遇到这个bug了

@HighBean
Copy link

作者快合并,我也踩到这个坑了

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.

3 participants