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

分词及userdict的格式 #8

Closed
liutianfang opened this issue Jul 21, 2018 · 1 comment
Closed

分词及userdict的格式 #8

liutianfang opened this issue Jul 21, 2018 · 1 comment

Comments

@liutianfang
Copy link

分词j结果:
记住钥匙放在厨房餐桌上 ->记住 / 钥匙 / 放在 / 厨房 / 餐桌上
"记住钥匙放在厨房桌子上" ->记住 / 钥匙 / 放在 / 厨房 / 桌子 / 上

应该是餐桌没有在字典中。我在examples中的userdict增加了餐桌也没有用,如何增加字典值,词后面的5 nw是什么意思,都有哪些选择

人工智能 5 nw
机器学习 5

@SeanLee97
Copy link
Owner

@liutianfang 自定义词典的格式:
词 词频 词性

像您的这种情况建议增大词频

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