Skip to content

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

Open
yylingyun wants to merge 3 commits intobelerweb:masterfrom
yylingyun:master
Open

1.修复末尾分隔符丢失2.支持从jar包读取扩展pinyindb#9
yylingyun wants to merge 3 commits intobelerweb:masterfrom
yylingyun:master

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