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版的分词结果和Python版的分词结果不一致 #117

Open
sdd031215 opened this issue Jul 21, 2020 · 3 comments
Open

java版的分词结果和Python版的分词结果不一致 #117

sdd031215 opened this issue Jul 21, 2020 · 3 comments

Comments

@sdd031215
Copy link

单词“如家金沙”
在python版下结果是:如 家 金沙
而在java中结果是:如家 金沙

若“如家 3”加入到自定义词库,
在python版下结果是:如 家 金沙
而在java中结果是:如家 金沙

若“如家 30”加入到自定义词库,
在python版下结果是:如家 金沙
而在java中结果是:如家 金沙

@piaolingxue ,能帮看一下吗?

@sdd031215
Copy link
Author

在Python中加入HMM=True,结果还是不一致

@FFFro
Copy link

FFFro commented Jul 22, 2020

你把如家从原始词典里面删掉

@sdd031215
Copy link
Author

@FFFro "如家 3"同时在java版和Python版的自定义词库中,分出的结果仍然不一致

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

2 participants