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

为什么我的output为空啊 初学不懂 #10

Closed
QI-charles opened this issue Feb 12, 2017 · 4 comments
Closed

为什么我的output为空啊 初学不懂 #10

QI-charles opened this issue Feb 12, 2017 · 4 comments

Comments

@QI-charles
Copy link

2017-02-12 12 45 58

@jannson
Copy link
Owner

jannson commented Feb 12, 2017

文本用大一点的,还有要是 GBK 编码的。

@QI-charles
Copy link
Author

解决了,文本太小了,谢谢。再请教一个问题,就是我这些刚提取出来的新生词怎么加入系统的或者自定义的字典中去啊? 因为我想做一个特定领域问答系统,提取专业词汇比较关键,您有什么好的想法么?

@QI-charles
Copy link
Author

@jannson 请问您的yaha分词有没有提取句子关键词的方法?

@jannson
Copy link
Owner

jannson commented Feb 13, 2017

里面有一些 demo,网上也有很多不同的算法。你可以参考下这个项目:https://github.com/isnowfy/snownlp

要把新词加到 yaha 里面简单啊,就是把词与频率加进去。

@jannson jannson closed this as completed Mar 18, 2019
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