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

请问关键词提取如何限定仅提取某些词 #31

Closed
lanochan opened this issue Jan 8, 2018 · 1 comment
Closed

请问关键词提取如何限定仅提取某些词 #31

lanochan opened this issue Jan 8, 2018 · 1 comment

Comments

@lanochan
Copy link

lanochan commented Jan 8, 2018

您好,dict自定义后 可以根据限定的词语进行分词。
请问提取关键词时,如何仅提取某些词呢?比如 我只需要提取出 MP3,MP4,音箱 此类词语。
SetIdfPath 是否仅影响排序?尝试多次得不到想要的结果。
技术有限,源码看的不是很明白。感谢!!!

@anderscui
Copy link
Owner

@lanochan 是的,仅影响排序。建议自己使用一个辅助字典对结果进行过滤。

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