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

感谢! 及关于java包加载 #8

Open
spritecn5 opened this issue Apr 17, 2024 · 0 comments
Open

感谢! 及关于java包加载 #8

spritecn5 opened this issue Apr 17, 2024 · 0 comments

Comments

@spritecn5
Copy link

看了一下拼音和拆字是独立包
为了加载快,以及打包的大小考虑,把这两个包exclusion
但HanziSimilarBs无法通过这两个包的 Rate = 0 来关闭
研究了好久,才发现可以这样做

HanziSimilarBs.newInstance()
                .jiegouRate(10)
                .bihuashuRate(8)
                .bushouRate(6)
                .sijiaoRate(2)
                .chaiziRate(0)
                .chaiziSimilar(new EmptySimilar())
                .pinyinRate(0)
                .pinyinSimilar(new EmptySimilar())
                .init();

建议优化一下

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

1 participant