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

请问一下,自定义添加词条时怎么设置词性,词性可以自定义吗? #67

Open
cjt24703 opened this issue Jan 10, 2020 · 2 comments

Comments

@cjt24703
Copy link

作者您好,Jieba::addWord($word, $freq, $tag = '', $options = array())这个方法的$tag这个参数是用来设置词性的吗?我在代码里发现$tag这个参数是没有做处理的。请问一下,在添加自定义词条时怎么设置词性,词性可以自定义吗?

@prozyworld
Copy link

咱俩遇到了相同的问题

@fukuball
Copy link
Owner

目前詞性自定義目前沒有支援,之後會試著實作上去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants