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

如何精简snownlp #99

Open
xuantianfengwu opened this issue Feb 11, 2019 · 0 comments
Open

如何精简snownlp #99

xuantianfengwu opened this issue Feb 11, 2019 · 0 comments

Comments

@xuantianfengwu
Copy link

看到之前帖子也有说过SnowNLP占用大量内存的问题,我尝试去精简但是有点没有思路。

我应用到的就只是
from snownlp import SnowNLP
SnowNLP('XXXXXXX').sentiments

情感评分这一个模块,但是依然还是会内存超限被服务器killed。想说针对我的需求如何注释snownlp的代码才能达到最大精简的目的。不太会查具体是哪个模块导致的内存超限,所以麻烦各位了,提供些思路也好~

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

1 participant